manually installing grub works like this: # grub-install --force --removable --boot-directory=/boot /dev/sda Installing for i386-pc platform. Installation finished. No error reported.
meanwhile as a workaround I have symlinked /var/lib/dpkg/info/grub-pc.postinst to /bin/true so other apt commands can succeed. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1891680 Title: grub-pc needs to detect when debconf points to invalid drive and stop in preinst, before unpacking files, and also treat this as a failure in postinst To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/grub2/+bug/1891680/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs