Yum rpm cache deletions

Ernest kong_an563 at yahoo.com
Fri Jun 8 01:14:37 UTC 2007


RE:

Date: Thu, 7 Jun 2007 23:14:46 +0200
From: Nigel Henry <cave.dnb at tiscali.fr>
Subject: Re: No kernel removal by yum

I have learned how to work around the problem of yum
deleting the downloaded packages when it has finished
an update. 

I also have dialup, and have learned that one can
interrupt the dialup session, shutdown the computer,
and the package files successfully downloaded will
remain in /var/cache/yum/../packages. You can restart
the yum upgrade at a later time, and those packages
already in place, locally will not be downloaded a
second time. As the days go by, the list of packages
to download will shrink, and eventually you'll have
them all.

Then...
when yum begins to digest all of those packages, open
a second console, and copy all of the package files
from where ever yum has cached them, to some other
directory. I send them to a NFS server on my LAN,
before yum has finished the upgrade, and before yum
deletes the cache.

Then...
on any other machine you wish to upgrade, you can use
"yum localinstall /path/to/NFS/or other/*.rpm".
Yum will then digest the saved copies of the
downloaded packages, resolve dependencies, download
any other packages needed, and preform the upgrade. 

This, of course, presumes that the other machines you
are upgrading have a path to your saved packages, and
an internet connection. 

I'm looking at 1.1GB download, to upgrade one desktop
from FC6 to FC7.




       
____________________________________________________________________________________
Boardwalk for $500? In 2007? Ha! Play Monopoly Here and Now (it's updated for today's economy) at Yahoo! Games.
http://get.games.yahoo.com/proddesc?gamekey=monopolyherenow  




More information about the fedora-list mailing list