An exception for linux-image-extra packages can be added in /etc/kernel/postinst.d/update-notifier and in /etc/kernel/postinst.d /unattended-upgrades
Also escape '+' characters, as package name may contain those: https://www.debian.org/doc/debian-policy/ch-controlfields.html#s-f-Source ** Attachment added: "code to add before touching /var/run/reboot-required in post-installation scripts ; ver. 2" https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1458204/+attachment/4882547/+files/addition -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1458204 Title: removing kernels should not require a restart afterward To manage notifications about this bug go to: https://bugs.launchpad.net/unattended-upgrades/+bug/1458204/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs