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

Michael A. Peters mpeters at mac.com
Mon Nov 22 00:24:47 UTC 2004


On 11/21/2004 02:45:57 PM, Timothy Murphy wrote:

> 
> But what I would really like to do is _save_ rpms
> when I run "yum update" (or something similar) on my desktop,
> with the idea that when I run yum update on other machines on my home
> LAN
> it will look first in the destop repository.
> 
> Is that possible?

Since different machine can different software, the best way to do what  
you want is to mirror the repositories nightly, and then point all the  
machines on your lan to your mirror.

I use lftp from the crontab to mirror.

IE

lftp -e 'mirror -e && exit' http://some/repo/to/mirror

That gets run for the repos I use nightly, and is served to my lan via  
ftp - but http or nfs would work equally well.

That way all the packages are local, and all are available so that  
machines of different configurations can have the updates they might  
need readily available.





More information about the fedora-test-list mailing list