On Wed, May 26, 2004 at 09:34:08PM +0200, Taco Scargo wrote:
Hello,
Hi Taco Scargo,
I have problems removing older kernels from my Centos machines using yum. Can somebody tell me how to remove specific versions ?
<SNIP!>
[root@web2 root]# yum remove kernel-2.4.21-9.0.1.EL.c0
<SNIP!>
Erase: No matches for kernel-2.4.21-9.0.1.EL.c0 No actions to take
I don't know about yum, but with rpm you can just do: rpm -e kernel-2.4.21-9.0.1.EL.c0 and that should take care of your problem.
I don't know if yum understands versions of packages. I think it sees each individual kernel version as a different package. I know with apt they were all stored as kernel#2.4.21-9.0.1.EL.c0 and effectively read as separate packages.
But rpm should solve your problem.
Hope this helps,
Shawn