[Centos] Removing older kernel packages

Wed May 26 19:34:08 UTC 2004
Taco Scargo <centos at scargo.nl>

Hello,

I have problems removing older kernels from my Centos machines using yum.
Can somebody tell me how to remove specific versions ?

[root at web2 root]# rpm -qa | grep kernel-2
kernel-2.4.21-15.EL.c0
kernel-2.4.21-9.0.1.EL.c0
kernel-2.4.21-9.0.3.EL.c0

Is what I have installed....

And

[root at web2 root]# yum remove kernel-2.4.21-9.0.1.EL.c0
Gathering header information file(s) from server(s)
Server: CentOS-3.1 - Addons
Server: CentOS-3.1 - Base
Server: CentOS-3.1 - Extras
Server: CentOS-3.1 - Updates
Finding updated packages
Downloading needed headers
Erase: No matches for kernel-2.4.21-9.0.1.EL.c0
No actions to take

is what I get.

Thanks,

Taco