Jackalux, oh I see you have found the popular one-liner script for
kernel removing. It is too complicated for what it does and too simple
for what it should possibly do.

I have written a script to ease kernel removal:
https://www.bountysource.com/issues/38300038-feature-request-the-command-should-work-like-this
You (and other complainers) could post a small bounty to fund the work. 
Alternatively I think we could form an association to fund the work and other 
stuff that novice Ubuntu users may need provided it could attract enough paying 
members.

Andreas Lindhé, you have a point. I don't know who decides it, but I
suppose the fix to the bug could be backported or SRUed to even older
LTS releases. But it seems that the fix does not work even in 16.04 (Bug
#1675079); that applies only to the new Unattended-Upgrade::Remove-New-
Unused-Dependencies setting in unattended-upgrades, though, so if
setting Unattended-Upgrade::Remove-Unused-Dependencies "true" suits to
you, there is a fix available. Alternatively, e.g. my script could be
run from a cron job or (in 16.04 or later) from a systemv timer to
handle automatic kernel removal.

-- 
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:
  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

-- 
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

Reply via email to