[Yum] how to utilize /var/cache/yum/*/packages on another machine?
Robert Heller
heller at deepsoft.com
Wed Oct 25 16:45:50 UTC 2006
In message <009c01c6f851$f471dca0$0a0a0a0a at DELORIAN>, "Gary Funck" writes:
>
>We're in the process of upgrading several machines
>(to the latest FC5 updates). One machine has
>already been updated, and keepcache=1 is asserted
>in its yum.conf file. Therefore /var/cache/yum/*/packages
>is populated with many of the latest rpm's.
>
>How can we utilize these packages on the other machine
>to avoid downloading 0.6G each of duplicated rpm's on
>each of the target machines?
This is what I am doing:
#!/bin/csh
foreach d (/var/cache/yum/*/{headers,packages}/)
sudo rsync -azv -e ssh $d witchking.deepsoft.com:$d
sudo rsync -azv -e ssh $d smaug2.deepsoft.com:$d
end
>
>_______________________________________________
>Yum mailing list
>Yum at lists.dulug.duke.edu
>https://lists.dulug.duke.edu/mailman/listinfo/yum
>
--
Robert Heller -- 978-544-6933
Deepwoods Software -- Linux Installation and Administration
http://www.deepsoft.com/ -- Web Hosting, with CGI and Database
heller at deepsoft.com -- Contract Programming: C/C++, Tcl/Tk
More information about the Yum
mailing list