[Bug 1871963] Re: dpkg fails to install grub-efi-amd64 signed and shim-signed

Lee Trager lee.trager at canonical.com
Thu Apr 9 23:52:46 UTC 2020


It looks like there is an extra ';;' in the script, the following patch
fixes it.

--- /tmp/grub-efi-amd64-signed.postinst	2020-04-09 16:50:58.585757438 -0700
+++ /var/lib/dpkg/info/grub-efi-amd64-signed.postinst	2020-04-09 16:51:12.029644653 -0700
@@ -16,7 +16,7 @@
 
 case $1 in
     configure)
-	target=x86_64-efi
+	target=x86_64-efi ;;
 	# Check /boot/grub to see if we previously installed to an ESP. We don't
 	# want to trigger the install code just by installing the package,
 	# normally the installer installs grub itself first.

I do get a warning that "The GRUB boot loader was previously installed
to a disk that is no longer present, or whose unique identifier has
changed for some reason." I haven't changed the disks on my system or
done anything else that should trigger this.

** Also affects: grub (Ubuntu)
   Importance: Undecided
       Status: New

** Changed in: grub (Ubuntu)
       Status: New => Confirmed

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to dpkg 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:
  Confirmed
Status in grub2 package in Ubuntu:
  Confirmed

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