yum downloadonly

Mikkel L. Ellertson mikkel at infinity-ltd.com
Fri Jul 20 17:47:08 UTC 2007


Kam Leo wrote:
> 
> You do not need the yum-downloadonly plugin. Edit /etc/yum.conf and
> change "keepcache=0" to "keepcache=1". All the rpms that yum downloads
> will remain in the /var/cache/yum directories (separate directory for
> each repo) until you dispose of them (yum clean packages, rm xxx, mv
> yyy, etc.).
> 
> If you want other machines on your network to be able to use those
> downloaded rpm files copy or move them to another directory, e.g. your
> localrepo directory.
> 
If you are creating a local repo, you will also have to run
createrepo on the directory to create the .xml file yum wants.

Mikkel
-- 

  Do not meddle in the affairs of dragons,
for thou art crunchy and taste good with Ketchup!

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: OpenPGP digital signature
Url : http://lists.fedoraproject.org/pipermail/users/attachments/20070720/5f6768d2/attachment-0002.bin 


More information about the users mailing list