Re: Another yum query

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi guys,

Wolfgang S. Rupprecht wrote:
> Timothy Murphy <tim@xxxxxxxxxxxxxxxxxxxxxx> 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@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 



[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux