[Bug 417734] Re: Old kernels are not removed and horribly clutter the system

Mathew Hodson mathew.hodson at gmail.com
Thu Sep 8 04:55:56 UTC 2016


*** This bug is a duplicate of bug 1357093 ***
    https://bugs.launchpad.net/bugs/1357093

** This bug is no longer a duplicate of bug 241368
   remove old kernels from grub list
** This bug has been marked a duplicate of bug 1357093
   Kernels not autoremoving, causing out of space error on LVM or Encrypted installation or on any installation, when /boot partition gets full

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to computer-janitor in Ubuntu.
https://bugs.launchpad.net/bugs/417734

Title:
  Old kernels are not removed and horribly clutter the system

Status in computer-janitor package in Ubuntu:
  Fix Committed
Status in linux package in Ubuntu:
  Triaged

Bug description:
  I've been bitten twice by this - old kernels are not removed, slow
  down dpkg and use tons of space. As an example:

  vasil at shrike:~$ wc  -l /var/lib/dpkg/info/*2.6.28*list
     5656 /var/lib/dpkg/info/linux-headers-2.6.28-15-generic.list
    10357 /var/lib/dpkg/info/linux-headers-2.6.28-15.list
     2609 /var/lib/dpkg/info/linux-image-2.6.28-15-generic.list
       65 /var/lib/dpkg/info/linux-restricted-modules-2.6.28-15-generic.list
    18687 total

  So, from about 120k installed files one kernel takes 18k - a few of them can already use as much files in the dpkg database as the rest of the installed packages. Ubuntu updates its kernel at least 5 times during the normal distribution life, and some of us have stuff running since the dawn of time, so this starts to become a really nasty slowdown...
  (and, there's also bug #414943, old kernels might be a really bad idea for some people)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/computer-janitor/+bug/417734/+subscriptions



More information about the foundations-bugs mailing list