Lan Barnes wrote:
I did a yum update of abiword and retained the rpm's. Now I want to make
a CD that I can use to update a different machine at the same distro. I
diffed the before and after rpm db, and copied all the rpm's.
Question: should I/do I need to copy all the .hdr files as well? Or will
the rpm's be enough for the install/update?
TIA,
The way I do this is to use the same cache for the different machines,
update one of the machines from the Internet and then update the other
machines from the cache only, using the -C command line option of yum.
In your case what you can do is save the /var/cache/yum directory off to
CDROM from the first machine, then mount the CDROM in the second machine
at say /mnt/cdrom. You can then tell yum to use the CDROM as the cache
to do the install by editing the /etc/yum.conf For example:
In the /etc/yum.conf file
# cachdir=/var/yum/cache
cachdir=/mnt/cdrom
Then:
$ sudo yum -C upgrade abiword
What I actually do is rsync my directories /var/cache/yum and then
update the machines. You could get the same effect by making a tarball
from the source machine and expanding on the destination machine.
Gus
--
[email protected]
http://www.kernel-panic.org/cgi-bin/mailman/listinfo/kplug-newbie