The attached script leaves more kernels than one. It keeps some automatically installed kernels, even if there are also newer manually installed kernels such as upstream kernels installed. (https://wiki.ubuntu.com/Kernel/MainlineBuilds)
** Attachment added: "Fixed /etc/kernel/postinst.d/apt-auto-removal script" https://bugs.launchpad.net/ubuntu/+source/apt/+bug/1440608/+attachment/4540277/+files/apt-auto-removal -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1440608 Title: /etc/kernel/postinst.d/apt-auto-removal wants to remove all kernels except the latest one To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/apt/+bug/1440608/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs