#1132888 linux-image-*: postrm scripts run while kernel image file is still present

#1132888#5
Date:
2026-04-07 04:24:49 UTC
From:
To:
When a linux-image package (e.g. linux-image-6.19.11+deb14-amd64) is
removed, it runs scripts in /etc/kernel/postrm.d directory. These
scripts may expect the kernel image file to have already been removed,
which was the case until recently. Now, the kernel image file is in a
linux-binary package rather than a linux-image package, and because of
that, when the postrm scripts run, the kernel image file is still
present in the file system. This makes some of the scripts behave
incorrectly.