Yum on several machines
Ralf Corsepius
rc040203 at freenet.de
Mon Oct 29 05:33:30 UTC 2007
On Sun, 2007-10-28 at 17:48 +0000, Timothy Murphy wrote:
> I know this question has been asked, and answered,
> many times before, but I cannot find a reference at the moment.
>
> I want to yum-update on several machines,
> and I want to avoid repeatedly downloading the same packages.
> So what I want when I run "yum update" on machine A
> is for it to look for RPMs in a specified directory
> (perhaps mounted through NFS on all machines)
> and use these RPMs if they exist rather than downloading them.
I am using an nfs-mounted /var/cache/yum, combined with keepcache=1
in /etc/yum.conf, and compatible /etc/yum.repos.d/*+/etc/yum.conf's on
each machine, for exactly these reasons.
The effect is a "package-cache", being populated by diverging demands of
different machines.
Works quite well as long as you don't run several "yum update"'s
accessing this /var/cache/yum simultaneously, because yum seems to have
problems in locking /var/cache/yum.
Ralf
More information about the users
mailing list