kernels

NoOp glgxg at sbcglobal.net
Thu Apr 28 23:08:51 UTC 2011


On 04/28/2011 03:14 PM, Robert Holtzman wrote:
> On Thu, Apr 28, 2011 at 03:19:48PM -0400, Verde Denim wrote:
> 
>           .......snip.......
> 
>> I know things have changed somewhat, so I looked in synaptic to see if all of
>> those kernels were marked as 'installed' and, sure enough, they are.
>> (there is also a kernel there that is one version ahead of the one I currently
>> have, but the updater has not flagged it as an upgrade as of yet).
>> 
>> Is the preferred method of clearing up the grub menu and associated kernel
>> images to use synaptic and 'mark for removal' ?
> 
> I think you're looking for:
> 
> sudo apt-get remove linux-image-2.6.24-27-generic
> 
> Substituting the relevant kernel version.

Assuming that you meant: 2.6.35-27

Will that also remove:
linux-headers-2.6.35-27
linux-headers-2.6.35-27-generic

Let's see:
$ sudo apt-get -s remove linux-image-2.6.35-27-generic
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages will be REMOVED:
  linux-image-2.6.35-27-generic
0 upgraded, 0 newly installed, 1 to remove and 1 not upgraded.
Remv linux-image-2.6.35-27-generic [2.6.35-27.48]

Doesn't look like it. I suppose you could leave the headers hanging
around, but then you have 90.3MB of disk space that isn't doing anything.






More information about the ubuntu-users mailing list