Just ran into the same bug... This is a nasty one because it affects
ubuntu-standard.

My guess is that postinst hangs due to the grub-probe error. I'll try to
look into it when I get a chance.

Quick workaround:

Append the following to /etc/default/grub:
GRUB_DISABLE_OS_PROBER=true

Run sudo update-grub2.

This will disable os-prober so grub doesn't see the other disks (this
way it won't fail with an error).

Run sudo dpkg --configure -a to complete the configuration (should be
successful this time).

The side-effect of this workaround is that you will loose all other boot
entries in GRUB, so if you have a Windows dual boot or other distro's,
you should remove or comment the line in /etc/default/grub and then run
sudo update-grub2 once more to fully populate the GRUB menu.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/986833

Title:
  Setting up memtest86+ (4.20-1.1ubuntu1) hangs indefinitely while
  generating grub.cfg

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/memtest86+/+bug/986833/+subscriptions

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to