Re: local yum repository

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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





[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux