Another (complimentary) solution for accumulating kernels in an LVM environment: http://blog.surgut.co.uk/2016/11/boot-less-lvm-rootfs-in- zesty.html
The fix to this bug prevents kernels from accumulating. That complimentary solution eliminates the tiny /boot partition, eliminating the space problem on LVM desktops and laptops...though not on other space-constrained devices. My updated u-u on Ubuntu 16.04 and 16.10 is working just great, and correctly preventing kernels from accumulating. However, we have seen similar-looking apt problems in the support forums: A few systems to continue to run out of /boot space. Upon investigation, these are usually due to unconfigured/half-configured packages or user confusion with the settings. If your unattended-upgrade is not working properly, and your system continues to run out of /boot space, please seek help in a support forum before posting permanently to this CLOSED bug report. -- You received this bug notification because you are a member of Ubuntu Touch seeded packages, 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 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/ubuntu/+source/unattended-upgrades/+bug/1357093/+subscriptions -- Mailing list: https://launchpad.net/~touch-packages Post to : touch-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~touch-packages More help : https://help.launchpad.net/ListHelp