[Bug 1879948] Re: grub-multi-install fails to find template in some circumstances
Julian Andres Klode
1879948 at bugs.launchpad.net
Thu Aug 27 10:11:06 UTC 2020
focal: Upgraded grub to ubuntu26.3, removed debconf database, and
reinstalled shim - worked fine. Removing the db_x_loadtemplatefile line
from the script breaks it again, so this fix is good :)
** Tags removed: verification-needed verification-needed-focal
** Tags added: verification-done verification-done-focal
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to grub2 in Ubuntu.
https://bugs.launchpad.net/bugs/1879948
Title:
grub-multi-install fails to find template in some circumstances
Status in grub2 package in Ubuntu:
Fix Released
Status in grub2 source package in Focal:
Fix Committed
Status in grub2 source package in Groovy:
Fix Released
Bug description:
[Impact]
Upgrades to focal may fail because debconf cannot find the template.
[Test case]
1. Delete /var/cache/debconf
2. reinstall shim-signed / grub-efi-amd64-signed
[Regression potential]
Other problems asking those questions, and hence failure to install grub.
[Original bug report]
I have just upgraded from Ubuntu 18.04.4 LTS (Bionic Beaver) to Ubuntu
20.04 LTS Focal Fossa.
There is the official graphical way to upgrade. I have used that.
https://ubuntu.com/tutorials/tutorial-upgrading-ubuntu-desktop#1-before-you-start
At the end I had two packages that didn't install - the shim-signed was one of them.
The package number is 1.40.3+15+1533136590.3beb971-0ubuntu1.
I have an AMD64 processor - namely AMD Quad-Core A4-6210.
Error message:
Setting up grub-efi-amd64-signed (1.142+2.04-1ubuntu26) ...
dpkg: error processing package grub-efi-amd64-signed (--configure):
installed grub-efi-amd64-signed package post-installation script subprocess returned error exit status 10
dpkg: dependency problems prevent configuration of shim-signed:
shim-signed depends on grub-efi-amd64-signed | grub-efi-arm64-signed; however:
Package grub-efi-amd64-signed is not configured yet.
Package grub-efi-arm64-signed is not installed.
...
E: Sub-process /usr/bin/dpkg returned an error code (1)
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/grub2/+bug/1879948/+subscriptions
More information about the foundations-bugs
mailing list