kernels

Robert Holtzman holtzm at cox.net
Fri Apr 29 05:39:09 UTC 2011


On Fri, Apr 29, 2011 at 10:03:46AM +0800, Goh Lip wrote:

         .........snip.........

> >
> >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.
> 
> 
> 
> The right command is
> *not*
> sudo apt-get remove linux-image-2.6.35-27-generic
> *but*
> sudo apt-get remove --purge 2.6.35-27-*

You're right. On my system (lucid) "sudo apt-get remove
linux-image-x.x.xx-xx-generic"removes all related files from /boot and 
also the related entries from menu.lst. It leaves the header files
untouched. What will "apt-get remove --purge" do to the menu.lst file?
Will that have to be edited manually?  

-- 
Bob Holtzman
Key ID: 8D549279
"If you think you're getting free lunch,
 check the price of the beer"
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 198 bytes
Desc: Digital signature
URL: <https://lists.ubuntu.com/archives/ubuntu-users/attachments/20110428/f5740f22/attachment.sig>


More information about the ubuntu-users mailing list