[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]
Re: local yum repository
- From: Ian Burrell <ianburrell gmail com>
- To: fedora-list redhat com
- Subject: Re: local yum repository
- Date: Tue, 19 Sep 2006 18:19:40 +0000 (UTC)
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
[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]