Re: kernels



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"

Attachment: signature.asc
Description: Digital signature

--
ubuntu-users mailing list
ubuntu-users@xxxxxxxxxxxxxxxx
Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-users


Relevant Pages

  • Re: how do i grep boobies
    ... Reading package lists... ... Reading state information... ... To UNSUBSCRIBE, email to debian-user-REQUEST@xxxxxxxxxxxxxxxx with a subject of "unsubscribe". ...
    (Debian-User)
  • Re: how do i grep boobies
    ... Reading package lists... ... Reading state information... ... To UNSUBSCRIBE, email to debian-user-REQUEST@xxxxxxxxxxxxxxxx ...
    (Debian-User)
  • Re: how to install source code
    ... Reading package lists... ... Reading state information... ... dpkg-source: warning: failed to verify signature on ...
    (Ubuntu)
  • Re: Calendar/PIM applications - recommendations?
    ... Reading package lists... ... Building dependency tree ... Reading state information... ...
    (Ubuntu)
  • Re: [SLE] suse-9.1 gnome-2.6
    ... I'm trying to install Gnome and it's not working. ... Reading Package Lists... ... Building Dependency Tree... ...
    (SuSE)