Comment 22 for bug 1458204

Revision history for this message
Jarno Suni (jarnos) wrote :

Yes, it is odd. I think the post-installation scripts will be run because the depending linux-image-<release> package might not get removed (and is present at the time anyway), thus initramfs-tools is used to create /boot/initrd.img-<release> without the extra kernel modules provided by linux-image-extra-<release>. I guess that exception could be handled in /etc/kernel/postrm.d/initramfs-tools alternatively.

Nowadays also /etc/kernel/postinst.d/unattended-upgrades touches /var/run/reboot-required so, that should be modified, as well (if post-installation script will be run).

BTW running the post-installation scripts then may cause other problem, too: Bug #1678187