On Sun, Jun 22, 2025 at 05:25:07PM +0100, Sean Whitton wrote: > > - dpkg -s grub2-common > /etc/kernel/postinst.d/zz-update-grub 5a98abefbfe97dbed36db7899251e433 > /etc/kernel/postrm.d/zz-update-grub 5a98abefbfe97dbed36db7899251e433
So at least you now have the correct files. > > - ls -alR /etc > Hmm, that feels like something of a privacy breach. > Could you narrow it down? This was more fishing for possibly other lost conffiles, aka "*.dpkg-dist", or other weird stuff. > > - grep -r /etc/kernel /var/lib/dpkg/info So there seems to be nothing else installed that could remove those files as part of maintainer scripts at least. > > - zgrep /etc/kernel /var/log/apt/* > This did not produce any useful output: But this shows that those two scripts where missing for a long time, as they don't show up in the run-parts output. With the default logrotate config for term.log (rotate monthly and keep 12) this means it is broken since a year. So all the calls of "update-grub" from the linux maintainer scripts have been missing. But something still created new grub configs or you would've never booted 6.12.31. So either there is something else on this system that creates grub configs or someone did it by hand. You could try and see if logs contain traces of "update-grub": - grep "Found linux image" -B 10 /var/log/ -r - journalctl --since=2025-04-01 -g 'Found linux image' Bastian -- You're dead, Jim. -- McCoy, "The Tholian Web", stardate unknown