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
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 at 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 takeI 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
Seemingly Similar Threads
- How quickly are RHEL errata released as CentOS errata ?
- How to get 3Ware 9500S controller card working in CentOS 3.1?
- Updated kernel package for CentOS 3.1 fixes various issues
- [CentOS-devel] Updated kernel package fixes security vulnerabilities.
- CentOS 6.5 RHCS fence loops