[CentOS] something like apt-cacher for yum

JJ Scott jj at thescottproject.com
Tue May 22 12:57:59 UTC 2007


Do something like the following...  I know it's crude, but...

If you're only looking to get updates to installed packages, share some ssh
keys, run this on your boxes, nab the duplicates then download the files
from somewhere.

for file in $(rpm -qa --queryformat="%{NAME}\n" | sort); do echo "rsync -avg
rsync://server.com/os/arch/rpms/${file}* /opt/mrepo-data/centos4-i386/dag/";
done 

I would then have mrepo setup to serve up these packages ( not to download
it's own ) to provide easy access to them...  I kind of do the same thing
for DAG's repo and a XEN repo...

J.J.


> -----Original Message-----
> From: centos-bounces at centos.org 
> [mailto:centos-bounces at centos.org] On Behalf Of Dmitry Melekhov
> Sent: Tuesday, May 22, 2007 3:11 AM
> To: CentOS mailing list
> Subject: Re: [CentOS] something like apt-cacher for yum
> 
> Oliver Schulze L. пишет:
> > You can download all the files in one server that then use 
> .rpms with 
> > something like:
> >
> > http://wiki.linux.duke.edu/YumFaq#Q11
> >
> I don't want (need) download all files.
> btw, traffic cost is too high here :-(
> 
> 
> _______________________________________________
> CentOS mailing list
> CentOS at centos.org
> http://lists.centos.org/mailman/listinfo/centos
> 
> !DSPAM:500,4652e16948311804284693!
> 
> 
> 
> No virus found in this incoming message.
> Checked by AVG Free Edition. 
> Version: 7.5.467 / Virus Database: 269.7.6/814 - Release 
> Date: 5/21/2007 2:01 PM
>  
> 

No virus found in this outgoing message.
Checked by AVG Free Edition. 
Version: 7.5.467 / Virus Database: 269.7.6/814 - Release Date: 5/21/2007
2:01 PM
 




More information about the CentOS mailing list