yum removing old kernels?

James Wilkinson fedora at westexe.demon.co.uk
Thu Mar 30 18:46:34 UTC 2006


Tim wrote (about the installonlyn yum plugin):
> I do hope this is completely optional.  Some people have custom kernels,
> and neither age nor the number of kernels are a determining factor in
> which should get removed.
> 
> (Currently running FC4, in case that's important to the thread)

As you know, FC4 doesn't have this.

In FC5, there is a /etc/yum/pluginconf.d directory and a
installonlyn.conf file:

[main]
enabled=1
# this sets the number of package versions which are kept
tokeep=2

Fairly obviously, changing 1 to 0 will disable the plugin, and changing
2 to (say) 5 will mean you keep that many more kernels.

Hope this helps,

James.

-- 
E-mail address: james | And the cuckoo isn't cooing,
@westexe.demon.co.uk  | But he's cucking and he's ooing,
                      | And a Pooh is simply pooh-ing
                      | Like a bird.                   -- 'Noise', by Pooh




More information about the fedora-list mailing list