Re: yum upgrade

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Sat, 2006-05-13 at 18:55 -0400, Bob Goodwin wrote:
> Chris Jones wrote:
> >> Note that the downloaded update packages remain under /var/cache/yum
> >> even after they are installed.  If you have other systems you
> >> can copy them in place so you don't have to download again or
> >> if you don't have other systems you can 'yum clean all' to remove
> >> them and save space.
> >>     
> >
> > I think, just for the record, thats only true for FC4. For FC5 the default 
> > behavior was switched to delete them after installation.
> >   
> Another feature I don't want!
> 
> What do I change to prevent yum from deleting them?
> 
There are two changes between FC4 and FC5 that bothered me.  Both are
ones you mention.

1. The delete of packages after updates were complete.
I fixed that by editing one line in /etc/yum.conf and changed
keepcache=0 to keepcache=1

2. The keeping of only 2 kernel versions with kernel update (running
plus new).
That is fixed by changing one line
in /etc/yum/pluginconf.d/installonlyn.conf from tokeep=2 to tokeep=4.
Note that you can set that value to whatever you choose and it will keep
a total of the specified kernel versions installed.

I do wish it was easier to find the fixes for this, but at least it is
easy to solve once you know where to make the changes.

> I prefer to control what my computer does and such things really bother 
> me. 
> I updated the kernel and it left me only one earlier one, deleted the rest!
> 
> I searched through the yum and yumex files and it's not obvious to me where
> this is set. 
> 
> /etc/yumex.conf
> 
> Has a line "autocleanup = no"  set to "no" in response to a menu item I 
> found but
> I still don't find any saved rpm's.  With FC4 those rpm's were a 
> resource I used
> in other computers ...
> 
> Thanks.
> 
> Bob Goodwin   Zuni, Virginia   w2bod
> 


[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux