prevent yum deleting downloaded updates
Nigel Henry
cave.dnb at tiscali.fr
Sat Jan 5 17:35:40 UTC 2008
On Saturday 05 January 2008 17:37, yordy wrote:
> anybody know how to tell yum do not delete downloaded updates after apply
> this? In previous versions of Fedora I have to clear my cache manually
> because yum keep all downloaded updates, but in Fedora 8 yum delete all
> downloaded updates automatically.
Hi Yordy. Edit /etc/yum.conf as root, and change the line.
keepcache=0 to keepcache=1
While your at it, and if you want to keep more than the default 2 kernels, add
a line to the file as below.
installonly_limit=0
That will disable yum from trashing kernels you may want to keep (the 0 is a
zero by the way).
All the best.
Nigel.
More information about the fedora-list
mailing list