yum downloadonly

Timothy Murphy tim at birdsnest.maths.tcd.ie
Sun Jul 22 14:29:15 UTC 2007


Timothy Murphy wrote:

> Thanks very much to you and the other responders.
> Having read all the suggestions, what I'm proposing is:
> 
> 0. Set keepcache=1 in /etc/yum.conf on each machine .
> 
> 1. Soft-link /var/cache/yum on each machine to /common/yum ,
> where /common is NFS-shared by all my computers.
> 
> 2. Now on each machine run - perhaps daily -
>         yum localupdate /common/yum/*.rpm
>         yum update
> 
> 3. Every week run "yum clean cache" on the machine carrying /common .

Actually, after mulling over the various suggestions,
I've adopted a completely minimal solution:
I'm just NFS-sharing /var/cache/yum/updates/packages/
among the various computers.
(I've actually linked this to a /common/ directory,
and am sharing that.)

Is there any catch in this?
There haven't actually been any updates since I put it in place,
so I can't be 100% sure it works.
But if it does, it seems the simplest solution.





-- 
Timothy Murphy  
e-mail (<80k only): tim /at/ birdsnest.maths.tcd.ie
tel: +353-86-2336090, +353-1-2842366
s-mail: School of Mathematics, Trinity College, Dublin 2, Ireland




More information about the users mailing list