[CentOS] Removing old kernels

Wed Jun 3 18:48:43 UTC 2009
Steve Huff <shuff at vecna.org>

On Jun 3, 2009, at 2:37 PM, Frank M. Ramaekers wrote:

> That seemed to work, but I still have some 92.1.18 elements left:
> ls -l /boot/*92.1.18*
> -rw-r--r-- 1 root root   65438 Nov 12  2008
> /boot/config-2.6.18-92.1.18.el5debug

for each file, find out what package it belongs to, and then remove it:

$ rpm -qf /boot/config-2.6.18-92.1.18.el5debug | xargs sudo yum remove

-steve
--
If this were played upon a stage now, I could condemn it as an  
improbable fiction. - Fabian, Twelfth Night, III,v
http://five.sentenc.es

-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 2209 bytes
Desc: not available
URL: <http://lists.centos.org/pipermail/centos/attachments/20090603/87271530/attachment-0005.p7s>