[Bug 1462596] Re: apt-get autoremove takes quadratically long
Jarno Suni
1462596 at bugs.launchpad.net
Thu Sep 8 15:05:35 UTC 2016
I think this script runs update-grub after every remove of kernel:
/etc/kernel/postinst.d/zz-update-grub. Would it be possible to use an
environment variable that makes it possible to skip that post-
installation script, and run update-grub manually after last removal, if
wanted?
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to initramfs-tools in Ubuntu.
https://bugs.launchpad.net/bugs/1462596
Title:
apt-get autoremove takes quadratically long
Status in initramfs-tools package in Ubuntu:
Confirmed
Status in linux package in Ubuntu:
Confirmed
Bug description:
apt-get autoremove regenerates the initrd after removing each kernel.
Since you generally call this command only when your boot volume is
full of old kernels, it seems sub-optimal to regenerate the initrd
eight times when removing eight kernels. Could something be done with
triggers to do a single regeneration of the initrd at the end?
This is in 14.04
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/initramfs-tools/+bug/1462596/+subscriptions
More information about the foundations-bugs
mailing list