[Bug 1357093] Re: Kernels not autoremoving, causing out of space error on LVM or Encrypted installation or on any installation, when /boot partition gets full
Jackalux
HeartwoodJack at gmail.com
Mon Apr 17 13:30:36 UTC 2017
I don't have hardware that I imagine will run 16.xx so need this
addressed on older LTS versions.
My output for...
dpkg -l 'linux-*' | sed '/^ii/!d;/'"$(uname -r | sed "s/\(.*\)-\([^0-9]\+\)/\1/")"'/d;s/^[^ ]* [^ ]* \([^ ]*\).*/\1/;/[0-9]/!d'
... was 120 lines long! I had to teach myself scripting to delete them all manually. I only discovered the error after a different Linux machine I created (with a separate /boot) ran into the bug.
Deleting this junk freed 10GB of total disk space.
This is too much to ask of novice users and will stop Linux being more
widely adopted. I'm not a complete Noob but this was annoying to deal
with... it will be impossible for others.
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to unattended-upgrades in Ubuntu.
https://bugs.launchpad.net/bugs/1357093
Title:
Kernels not autoremoving, causing out of space error on LVM or
Encrypted installation or on any installation, when /boot partition
gets full
Status in unattended-upgrades:
New
Status in unattended-upgrades package in Ubuntu:
Fix Released
Bug description:
Currently if one chooses to use LVM or encrypted install, a /boot
partition is created of 236Mb
Once kernel updates start being released this partition soon fills
until people are left unable to upgrade.
While you and I might know that we need to watch partition space, many
of the people we have installing think that a windows disk is a disk
and not a partition, education is probably the key - but in the
meantime support venues keep needing to deal with the fact the
partition is too small and/or old kernels are not purged as new ones
install.
For workaround and sytem repair, see
https://help.ubuntu.com/community/Lubuntu/Documentation/RemoveOldKernels
To manage notifications about this bug go to:
https://bugs.launchpad.net/unattended-upgrades/+bug/1357093/+subscriptions
More information about the foundations-bugs
mailing list