On Fri, Jun 20, 2025 at 06:04:26PM +0200, Felix Zielcke wrote:
Am Freitag, dem 20.06.2025 um 15:28 +0100 schrieb Sean Whitton:I have /etc/kernel/postinst.d/zz-update-grub.dpkg-dist only. Reinstalling grub2-common does not fix the problem.This is very strange. zz-update-grub is just a normal dpkg conffile. We don't do anything special with it. And according to our git, it wast last changed 2021. I guess to fix that with dpkg you would need to completely purge the package and then reinstall.
dpkg doesn't reinstall removed conffiles by default (it interprets that as a deliberate user change), but you can override that using --force-confmiss.
-- Colin Watson (he/him) [cjwatson@debian.org]