linux-image-<VERSION>-generic is present when removing linux-image-
extra-<VERSION>-generic. initramfs-tools needs to re-create initrd.img,
at least if linux-image-<VERSION>-generic will not be removed. If that
is the only reason, I think it would be better to do the re-creation in
a postrm script than run all postinst scripts. /etc/kernel/postrm.d
/initramfs-tools could detect it is removing a linux-image-extra package
and then do the right thing.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1501884

Title:
  linux-image-extra-*-generic postrm script runs install actions

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1501884/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to