kernels
Verde Denim
tdldev at gmail.com
Fri Apr 29 02:16:06 UTC 2011
On Thu, Apr 28, 2011 at 10:03 PM, Goh Lip <g.lip at gmx.com> wrote:
> On Fri, 29 Apr 2011 07:08:51 +0800, NoOp <glgxg at sbcglobal.net> wrote:
>
> On 04/28/2011 03:14 PM, Robert Holtzman wrote:
>>
>>> On Thu, Apr 28, 2011 at 03:19:48PM -0400, Verde Denim wrote:
>>>
>>>
>>
> 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.
>>
>
>
>
> 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-*
>
> Regards - Goh Lip
>
> NoOp, et al-
Thanks for the feedback. I think that liams write up is a good one on this
topic.
I also like the method stated of using synaptic and then updating grub with
sudo update-grub
for cleanup and a sanity check.
I used to just look up the files I wanted gone, and then manually update the
grub menu with what I wanted, but I guess that's gone the way of the
do-do...
While I don't always clean these up, I don't see a need for 8 kernels and
the associated groups of headers and source. The collection is getting long
and currently occupying over a gig of storage. Even though storage on a hard
drive is cheap these days, I don't see the need to keep all of this.
For the question about why you'd want to discard them, on the box I have
running 11, I don't delete any of the updates, since this is not a stable
release yet. But for a stable system, only the most recent and the last one
are really necessary, since it isn't likely you'd want to back up 3 or 4
releases.
I consider this one solved in my book.
Regards
Jack
--
ubuntu-users mailing list
ubuntu-users at lists.ubuntu.com
Modify settings or unsubscribe at:
https://lists.ubuntu.com/mailman/listinfo/ubuntu-users
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.ubuntu.com/archives/ubuntu-users/attachments/20110428/943b3d6b/attachment.html>
More information about the ubuntu-users
mailing list