how do i create a 'repodata' folder for a local yum repository ?

Kyrre Ness Sjobak kyrre at solution-forge.net
Mon Nov 22 21:39:52 UTC 2004


man, 22.11.2004 kl. 17.07 skrev Luciano Miguel Ferreira Rocha:
> On Mon, Nov 22, 2004 at 09:55:37AM -0500, Jeff Spaleta wrote:
> > 
> > If you selectively pull packages from a repository into a local
> > directory, then you have to regenerate metadata with createrepo that
> > is specific to the small collection of packages you have locally if
> > you plan to use that local packagegroup as a repo. I'd like to point
> > out that yum's package cache is a selective pull of packages and is
> > not a complete mirror. If you plan to use yum's packace cache you need
> > to run createrepo against the directory to regenerate the metadata
> > everytime you cache a new update.
> 
> Can the cache be nfs (rw) exported?
> 
> Regards,
> Luciano Rocha

I had a squid-exported cache once. Worked great, and no configuration...
Just switch it on at the router :P

(and Jeff hated me for it. :) )




More information about the fedora-test-list mailing list