Linux Archive

Linux Archive (http://www.linux-archive.org/)
-   Fedora Development (http://www.linux-archive.org/fedora-development/)
-   -   a feature request: offline pkg installation from media (http://www.linux-archive.org/fedora-development/196374-feature-request-offline-pkg-installation-media.html)

"Muayyad AlSadi" 11-19-2008 06:29 PM

a feature request: offline pkg installation from media
 
I followed the in http://fedoraproject.org/wiki/Features/Policy/Ideas
and submitted this page
https://fedoraproject.org/wiki/Features/MediaRepos

--
fedora-devel-list mailing list
fedora-devel-list@redhat.com
https://www.redhat.com/mailman/listinfo/fedora-devel-list

Jochen Schmitt 11-19-2008 06:38 PM

a feature request: offline pkg installation from media
 
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Muayyad AlSadi schrieb:
> I followed the in
> http://fedoraproject.org/wiki/Features/Policy/Ideas and submitted
> this page https://fedoraproject.org/wiki/Features/MediaRepos
>
Here my mindflashes:

1.) It may be nice to have a frontend for createrepo to create a
repository on a media
for offline installation/updates.

2.) yum should be able to unterstand uri likes file://...

3.) It shoulb be able to put i yum.repo file on a media and specified
this file as

# yum --repo <repofile> ...

Best Regards:

Jochen Schmitt
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)
Comment: Using GnuPG with Fedora - http://enigmail.mozdev.org

iEYEARECAAYFAkkkazwACgkQT2AHK6txfgxPXQCg4AoLtXPYxA 7uLbHUErN6UiKX
urQAn2eSlczcYbigDA5myNsWZ9lgj3a2
=f64n
-----END PGP SIGNATURE-----

--
fedora-devel-list mailing list
fedora-devel-list@redhat.com
https://www.redhat.com/mailman/listinfo/fedora-devel-list

Jesse Keating 11-19-2008 06:46 PM

a feature request: offline pkg installation from media
 
On Wed, 2008-11-19 at 20:38 +0100, Jochen Schmitt wrote:
> Here my mindflashes:
>
> 1.) It may be nice to have a frontend for createrepo to create a
> repository on a media
> for offline installation/updates.

by frontend, do you mean graphical tool? createrepo is a frontend to
itself, and has the ability to create repodata on media. It's how we
create the repodata on CDs/DVDs.

>
> 2.) yum should be able to unterstand uri likes file://...

It does.


--
Jesse Keating
Fedora -- Freedomē is a feature!
identi.ca: http://identi.ca/jkeating
--
fedora-devel-list mailing list
fedora-devel-list@redhat.com
https://www.redhat.com/mailman/listinfo/fedora-devel-list

Seth Vidal 11-19-2008 06:49 PM

a feature request: offline pkg installation from media
 
On Wed, 19 Nov 2008, Jesse Keating wrote:


On Wed, 2008-11-19 at 20:38 +0100, Jochen Schmitt wrote:

Here my mindflashes:

1.) It may be nice to have a frontend for createrepo to create a
repository on a media
for offline installation/updates.


by frontend, do you mean graphical tool? createrepo is a frontend to
itself, and has the ability to create repodata on media. It's how we
create the repodata on CDs/DVDs.


If you want to see how to make a repo it's a pretty simple process and
documented here:


http://yum.baseurl.org/wiki/RepoCreate


-sv

--
fedora-devel-list mailing list
fedora-devel-list@redhat.com
https://www.redhat.com/mailman/listinfo/fedora-devel-list

Jochen Schmitt 11-19-2008 07:07 PM

a feature request: offline pkg installation from media
 
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Seth Vidal schrieb:
>> by frontend, do you mean graphical tool? createrepo is a
>> frontend to itself, and has the ability to create repodata on
>> media. It's how we create the repodata on CDs/DVDs.
>
Yes
> If you want to see how to make a repo it's a pretty simple process
> and documented here:
>
> http://yum.baseurl.org/wiki/RepoCreate
>
After I have read this page, I sure that yum support file:// uri. But
it may be nice, if you may
able to specifed relative pathes, so we have the follow file layout:

<mount point>
!
!-----------------> yum.repo
1
------------------> <repo dir>

in the yum.repo file you have a reletive refernce to <repo dir>

If yum run the relas base uri may be build be the path of the mount point
and the relative bas uri specification from the yum.repo file.

Best Regards:

Jochen Schmitt
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)
Comment: Using GnuPG with Fedora - http://enigmail.mozdev.org

iEYEARECAAYFAkkkchMACgkQT2AHK6txfgx9ywCfd7JuWqVv+I WIUnD0AZH9KoKp
jzQAoIj/57FbUagR5wNRdYtiUgzcEyr+
=6gIZ
-----END PGP SIGNATURE-----

--
fedora-devel-list mailing list
fedora-devel-list@redhat.com
https://www.redhat.com/mailman/listinfo/fedora-devel-list

Casey Dahlin 11-19-2008 07:15 PM

a feature request: offline pkg installation from media
 
Muayyad AlSadi wrote:

I followed the in http://fedoraproject.org/wiki/Features/Policy/Ideas
and submitted this page
https://fedoraproject.org/wiki/Features/MediaRepos


Is this really a new feature? I could have sworn this was already
possible. In fact I seem to remember systems installed from live CDs
refusing to install any packages from /any/ source if the media wasn't
in the drive as of a few releases back, due to the media being
configured as a package source.


--CJD

--
fedora-devel-list mailing list
fedora-devel-list@redhat.com
https://www.redhat.com/mailman/listinfo/fedora-devel-list

"Muayyad AlSadi" 11-19-2008 07:16 PM

a feature request: offline pkg installation from media
 
> 2.) yum should be able to unterstand uri likes file://...
that's something different
take this scenario, you have 3 installation CDs
KDE on CD2 needs libfoo on CD3
no createrepo or file:// could help you them

and yum API already support what I request, it's called media://
but package kit does not support it

> It may be nice to have a frontend for createrepo to create a
yes I made a hal/dbus/pynotify that creates a file in
/etc/yum.repos.d/ having file:// that points to the inserted media and
remove it when the media is ejected

but that is not the real solution

--
fedora-devel-list mailing list
fedora-devel-list@redhat.com
https://www.redhat.com/mailman/listinfo/fedora-devel-list

"Muayyad AlSadi" 11-19-2008 07:21 PM

a feature request: offline pkg installation from media
 
> I could have sworn this was already possible.

this **was** possible with F8 and its package manager which is dropped
and replaced with package kit

no other package manager support this feature now
take my word, I have tried them all GUI and CLI (smart, yumex,
apt-get, synaptic ...etc.)

--
fedora-devel-list mailing list
fedora-devel-list@redhat.com
https://www.redhat.com/mailman/listinfo/fedora-devel-list

Jochen Schmitt 11-19-2008 07:26 PM

a feature request: offline pkg installation from media
 
-----BEGIN PGP SIGNED MESSAGE-----

Hash: SHA1



Muayyad AlSadi schrieb:

> that's something different take
this scenario, you have 3

> installation CDs KDE on CD2 needs libfoo on CD3 no createrepo or

> file:// could help you them

>

I think this scenario may get difficuilt because yo want to avoid

that the used allway change the CD in the CD-ROM drive.

> and yum API already support what
I request, it's called media://

> but package kit does not support it

That sound interesting.



Best Regards:



Jochen Schmitt

-----BEGIN PGP SIGNATURE-----

Version: GnuPG v1.4.9 (GNU/Linux)

Comment: Using GnuPG with Fedora - http://enigmail.mozdev.org



iEYEARECAAYFAkkkdkUACgkQT2AHK6txfgy0owCgzKoLApBSKV ZyubgizfabxWI6

JXgAnRH6F6QUJBmBjZAlKsZMGuf4xt3O

=3C+4

-----END PGP SIGNATURE-----





--
fedora-devel-list mailing list
fedora-devel-list@redhat.com
https://www.redhat.com/mailman/listinfo/fedora-devel-list


All times are GMT. The time now is 01:33 PM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.