[Bug 1879948] Re: grub-multi-install fails to find template in some circumstances

Launchpad Bug Tracker 1879948 at bugs.launchpad.net
Mon Aug 31 13:05:13 UTC 2020


This bug was fixed in the package grub2 - 2.04-1ubuntu26.3

---------------
grub2 (2.04-1ubuntu26.3) focal; urgency=medium

  * 2.04-1ubuntu27 and 2.04-1ubuntu28 folded together for focal
  * debian/patches/ubuntu-flavour-order.patch:
    - Add a (hidden) GRUB_FLAVOUR_ORDER setting that can mark certain kernel
      flavours as preferred, and specify an order between those preferred
      flavours (LP: #1882663)
  * debian/patches/ubuntu-zfs-enhance-support.patch:
    - Use version_find_latest for ordering kernels, so it also supports
      the GRUB_FLAVOUR_ORDER setting.
  * debian/patches/ubuntu-dont-verify-loopback-images.patch:
    - disk/loopback: Don't verify loopback images (LP: #1878541),
      Thanks to Chris Coulson for the patch
  * debian/patches/ubuntu-recovery-dis_ucode_ldr.patch
    - Pass dis_ucode_ldr to kernel for recovery mode (LP: #1831789)
  * debian/patches/ubuntu-add-initrd-less-boot-fallback.patch:
    - Merge changes from xnox to fix multiple initrds support (LP: #1878705)
  * debian/patches/ubuntu-clear-invalid-initrd-spacing.patch:
    - Remove, no longer needed thanks to xnox's patch
  * Ensure that grub-multi-install can always find templates (LP: #1879948)

 -- Julian Andres Klode <juliank at ubuntu.com>  Mon, 17 Aug 2020 16:04:31
+0200

** Changed in: grub2 (Ubuntu Focal)
       Status: Fix Committed => Fix Released

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