I am on Ubuntu 14.04 and I have a lot of old kernels that I want to remove.
This question can help to find and remove them, but there is a problem:
dpkgremoves a single kernel, it runs
update-initramfsover all the kernels currently remaining.
As a result, the uninstall takes forever!
I want to remove all the packages in one go, and then run
update-grub once at the end. How can I disable the unnecessary steps?
unattended-upgrades. Perhaps that's how I got into this situation.)