[Bug 1462596] Re: apt-get autoremove takes quadratically long

Jarno Suni 1462596 at bugs.launchpad.net
Thu Sep 8 23:22:08 UTC 2016


Oh, this is the script that is used for updating grub in conjunction with kernel removal: /etc/kernel/postrm.d/zz-update-grub
Anyway, OP meant regenerating the initrd, which is handled by initramfs-tools scripts.

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