I've just Dist-Upgrade to kernel 2.6.28-14.How to get rid of previous kernels?

Derek Broughton derek at pointerstop.ca
Thu Aug 6 14:12:51 UTC 2009


NoOp wrote:

> On 08/05/2009 05:29 AM, Derek Broughton wrote:
>> Bill Marcum wrote:
>> 
>>> On 2009-07-30, Pastor JW <pastor_jw at the-inner-circle.org> wrote:
>>>> On Wednesday 29 July 2009 12:06:37 pm Shannon McMackin wrote:
>>>>>
>>>>> If you fire up synaptic, you can actually see all the kernel-related
>>>>> packages and what can be removed...
>>>>
>>>> Which is a much better way of doing it than to rely on a CLI command
>>>> that you have no idea what it does!
>>> 
>>> Of course, if you prefer to use the cli, you can also use aptitude in
>>> interactive mode.
>> 
>> In any case, I completely disagree with "much better way of doing it". 
>> How exactly does using a GUI magically make it clear what you've done?
>> 
>> # sudo aptitude purge ~i2.6.28-12
>> 
>> would, for instance, remove everything related to the 2.6.28-12 kernel
>> (including source and headers).  Simpler _and_ more obvious than using
>> synaptic, where you would likely remove the kernel _image_ and miss the
>> headers.
> 
> Interesting... two points:
> 
> 1. If you are # (root) you won't need 'sudo'.

I just do that for clarity...(well, it's clearer to me :-) )  After all, '#' 
doesn't necessarily indicate that the user is in a root shell, though it 
_is_ the default.

> 2. That comand doesn't work for me - does it for you?:
> 
> $ sudo apt-get purge ~i2.6.28-11

Er, that's not what I did...  apt-get doesn't do the nice wild-carding stuff 
that aptitude does.
-- 
derek






More information about the ubuntu-users mailing list