grub-multi-install fails to find template in some circumstances
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
grub2 (Ubuntu) |
Fix Released
|
High
|
Unassigned | ||
Focal |
Fix Released
|
High
|
Unassigned | ||
Groovy |
Fix Released
|
High
|
Unassigned |
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-
[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:/
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+
I have an AMD64 processor - namely AMD Quad-Core A4-6210.
Error message:
Setting up grub-efi-
dpkg: error processing package grub-efi-
installed grub-efi-
dpkg: dependency problems prevent configuration of shim-signed:
shim-signed depends on grub-efi-
Package grub-efi-
Package grub-efi-
...
E: Sub-process /usr/bin/dpkg returned an error code (1)
affects: | ufraw (Ubuntu) → shim-signed (Ubuntu) |
Changed in grub2 (Ubuntu Focal): | |
status: | New → Triaged |
importance: | Undecided → High |
tags: | added: id-5ec6d132e6344e7db24fa9b7 |
description: | updated |
summary: |
- shim-signed installation focal fossa + grub-multi-install fails to find template in some circumstances |
description: | updated |
> installed grub-efi- amd64-signed package post-installation script subprocess returned error exit status 10
This error status indicates there is a problem with debconf communication from within this package.
grub-efi- amd64-signed does not invoke debconf itself, but does so via /usr/lib/ grub/grub- multi-install.
Can you run 'sudo /usr/lib/ grub/grub- multi-install --target= x86_64- efi' manually and see if this command completes successfully?
If it does not, please run 'sudo env DEBCONF_ DEBUG=developer /usr/lib/ grub/grub- multi-install --target= x86_64- efi' and paste the output.