Removing old kernels with yum?

John Summerfied debian at herakles.homelinux.org
Wed Jun 1 00:06:09 UTC 2005


Paul Howarth wrote:

>>
>> I have tried specifying the version a couple of ways but then it 
>> doesn't find anything to remove..
>>
>> So how do I do it?
> 
> 
> Use rpm instead of yum:
> 
> # rpm -e kernel-2.6.9-1.667 kernel-smp-2.6.9-1.667 ...
Something like
rpm --erase $(rpm -qa kernel-2.6.9\* kernel-smp-2.6.9\*)


-- 

Cheers
John

-- spambait
1aaaaaaa at computerdatasafe.com.au  Z1aaaaaaa at computerdatasafe.com.au
Tourist pics http://portgeographe.environmentaldisasters.cds.merseine.nu/




More information about the users mailing list