[Bug 1871963] Re: dpkg fails to install grub-efi-amd64 signed and shim-signed
Philipp Classen
1871963 at bugs.launchpad.net
Fri May 15 21:48:01 UTC 2020
Just had the same issue as Deepak. Same error after upgrading from 18.04
to 20.04, but I checked and apparently also had the fix of the semicolon
in /var/lib/dpkg/info/grub-efi-amd64-signed.postinst. So, there might be
another issue that is causing the same problem.
Running it with "set -x", I could see that the "/usr/lib/grub-multi-
install --target=$target" call was failing (with target=x86_64-efi). Why
it failed, I could not find out.
I was able to fix the installation problem by running the commands from
https://stackoverflow.com/a/53284186/783510:
# sudo apt-get purge grub\*
# sudo apt-get install grub-efi
# sudo apt-get autoremove
# sudo update-grub
After that, the apt-get errors were gone, and the installation could be
completed.
(Another issue, which I will mention as there is a tiny chance that it
is related, although I doubt it: After rebooting, I was not able to boot
(not even reaching the question for the passphrase). To solve it, I had
to disable Secure Boot, then I reached the state where I could enter my
passphrase to unlock the encrypted partition.)
My notebook: Lenovo ThinkPad X1 Carbon 4th
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to grub2-signed in Ubuntu.
https://bugs.launchpad.net/bugs/1871963
Title:
dpkg fails to install grub-efi-amd64 signed and shim-signed
Status in dpkg package in Ubuntu:
Invalid
Status in grub2-signed package in Ubuntu:
Fix Released
Bug description:
See above
ProblemType: Bug
DistroRelease: Ubuntu 20.04
Package: dpkg 1.19.7ubuntu3
ProcVersionSignature: Ubuntu 5.4.0-21.25-generic 5.4.27
Uname: Linux 5.4.0-21-generic x86_64
ApportVersion: 2.20.11-0ubuntu26
Architecture: amd64
CasperMD5CheckResult: skip
Date: Thu Apr 9 18:41:33 2020
InstallationDate: Installed on 2020-04-09 (0 days ago)
InstallationMedia: Ubuntu 20.04 LTS "Focal Fossa" - Beta amd64 (20200402)
ProcEnviron:
TERM=xterm-256color
PATH=(custom, no user)
LANG=en_US.UTF-8
SHELL=/bin/bash
SourcePackage: dpkg
UpgradeStatus: No upgrade log present (probably fresh install)
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/dpkg/+bug/1871963/+subscriptions
More information about the foundations-bugs
mailing list