I suggest closing this bug report. I think there's a bug in how the GRUB configure scripts handle this kind of error but it's unrealistic anyone's going to fix it in this old version. I've given up trying to upgrade my system.
FWIW I managed to get dpkg to reconfigure and find a new path for GRUB. I didn't do this carefully (I was trying suggestions from an AI) but I seem to have successfully convinced GRUB to stop using the old /dev/disk/by-id/ path and use /dev/vba1 instead. It picked this path on its own. $ echo "grub-efi grub-efi/install_devices select" | sudo debconf-set-selections $ dpkg-reconfigure grub-efi-amd64 After doing this I could reconfigure grub-efi-amd64 and reboot with no problems. GRUB seems to be working in 23.04. I then did an apt full- upgrade to 23.10 which looked like it worked (I had to hack this update without do-release-upgrade.). But then the system failed to boot, the UEFI BIOS didn't like whatever it found for GRUB. I don't know if that's because I screwed up something else or my GRUB config is to blame. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/2052643 Title: upgrading to 23.10 failed package grub-efi-amd64-signed 1.197+2.12~rc1-10ubuntu4 failed to install/upgrade: installed grub- efi-amd64-signed package post-installation script subprocess returned error exit status 1 To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/grub2-signed/+bug/2052643/+subscriptions -- ubuntu-bugs mailing list [email protected] https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
