[CentOS] Removing old kernels

William L. Maltby CentOS4Bill at triad.rr.com
Wed Jun 3 19:11:12 UTC 2009


On Wed, 2009-06-03 at 14:50 -0400, Robert Heller wrote:
> At Wed, 3 Jun 2009 13:37:56 -0500 CentOS mailing list <centos at centos.org> wrote:
> <snip>

> rpm -e kernel-2.6.18-92.1.18.el5debug ...
> 
> (Make *sure* you are not actually running any of these kernels!).
> 
> Note: yum clean old-kernels keeps the last N kernels (I'm not sure what
> N is and it is probably a config parameter somewhere).

/etc/yum.conf

installonlypkgs and installonly_limit

See "man yum.conf"

> <snip>

HTH
-- 
Bill




More information about the CentOS mailing list