local yum repository

Ian Burrell ianburrell at gmail.com
Tue Sep 19 18:19:40 UTC 2006


Phil Meyer <pmeyer <at> themeyerfarm.com> writes:
> Assuming standard locations:
> After each rsync you need to rebuild the repo data:
> /usr/bin/createrepo -q /var/www/html/yum/5/i386/os
> 
> This one may also be 'wrong' depending on how you retrieved it.  It may 
> actually need to be:
> /usr/bin/createrepo -q /var/www/html/yum/5/i386/os/Fedora/RPMS
> You would need to adjust your yum.conf file in that case.
> 
> In any case, use createrepo to rebuild the repository data after every 
> update of the repository.
> 
> # yum install createrepo
> 

He doesn't need to rebuild the metadata as long as he is syncing the metadata. 
It is better to mirror the original metadata instead of generating a local copy.
 Faster too.

 - Ian







More information about the fedora-list mailing list