Another yum query

Alexander Apprich a.apprich at science-computing.de
Tue May 8 06:10:10 UTC 2007


Hi guys,

Wolfgang S. Rupprecht wrote:
> Timothy Murphy <tim at birdsnest.maths.tcd.ie> writes:
>> I have 3 laptops.
>> Is it possible to avoid downloading update rpm's 3 times?
>> What I would like is for yum to look in /common/RPMs first,
>> and only to look in the repository if it didn't find the rpm there.
> 
> I'm looking to do something similar.  I have a random bunch of amd64
> and x86 machines I'm taking care of.  I would be nice to not download
> all the RPM's several times.
> 
> cd /var/cache 
> mv yum yum-dist 
> ln -s /common/yum yum
> 
> Note, its isn't quite the directory structure you wanted, but should
> be good enough.  Assuming you have /common NFS mounted on all
> machines, you will have the the machines share both the yum RPM's and
> headers.
> 

yum has a separate downloadonly plugin.

apprich at elmstreet ~ $ rpm -qa | grep -i download
yum-downloadonly-1.0.3-1.fc6

This should be what you two are looking for.

Alex
-- 
Vorstand/Board of Management:
Dr. Bernd Finkbeiner, Dr. Florian Geyer,
Dr. Roland Niemeier, Dr. Arno Steitz, Dr. Ingrid Zech
Vorsitzender des Aufsichtsrats/
Chairman of the Supervisory Board:
Prof. Dr. Hanns Ruder
Sitz/Registered Office: Tuebingen
Registergericht/Registration Court: Stuttgart
Registernummer/Commercial Register No.: HRB 382196 





More information about the fedora-list mailing list