[CentOS] Cleaning up smp kernels

Bowie Bailey Bowie_Bailey at BUC.com
Mon Jul 14 20:39:03 UTC 2008

Jim Perrin wrote:
> On Mon, Jul 14, 2008 at 4:06 PM, Bowie Bailey <Bowie_Bailey at buc.com>
> wrote: 
> > I have used the package-cleanup utility to remove old kernel
> > packages, but I noticed that it only removes the 'kernel' and
> > 'kernel-devel' packages.  It does not touch 'kernel-smp',
> > 'kernel-hugemem', etc.  What is the recommended method of cleaning
> > up these other kernel packages? Should I just 'yum remove' the ones
> > I don't need? 
> > 
> > Some of my servers have a few piling up...
> > 
> http://linux.duke.edu/~skvidal/useful-scripts/kernel-prune.py
> this will generate a list of old kernel bits you don't need. You can
> pipe it through rpm -e for cleanup.

So what you are saying is that it is ok to simply 'rpm -e' or 'yum
remove' unused kernel packages?


More information about the CentOS mailing list