I can confirm that this bug is not fixed. Today Ubuntu informed me of
20.04 and I started the distribution upgrade. I got the following
message:

"Could not install 'grub-pc'. The upgrade will continue but the 'grub-
pc' package may not be in a working state. Please consider a bug report
about it. Installed grub-pc package post-installation script subprocess
returned error exit status 1."

I can reboot normally and so far I can tell everything is working. When I do a 
# apt autoremove I get the following error:
 
Reading package lists... Done
Building dependency tree       
Reading state information... Done
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
2 not fully installed or removed.
After this operation, 0 B of additional disk space will be used.
Setting up grub-pc (2.04-1ubuntu26.4) ...
dpkg: error processing package grub-pc (--configure):
 installed grub-pc package post-installation script subprocess returned error 
exit status 1
dpkg: dependency problems prevent configuration of linux-crashdump:
 linux-crashdump depends on grub-pc (>= 1.96+20090611-1ubuntu2) | grub-efi-ia32 
| grub-efi-amd64 | grub (>= 0.97-29ubuntu24); however:
  Package grub-pc is not configured yet.
  Package grub-efi-ia32 is not installed.
  Package grub-efi-amd64 is not installed.
  Package grub is not installed.

dpkg: error processing package linux-crashdump (--configure):
 dependency problems - leaving unconfigured
No apport report written because the error message indicates its a followup erro
r from a previous failure.
                          Errors were encountered while processing:
 grub-pc
 linux-crashdump
E: Sub-process /usr/bin/dpkg returned an error code (1)

-- 
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

Reply via email to