[Bug 2038401] Re: package grub-efi-amd64-signed 1.187.6+2.06-2ubuntu14.4 failed to install/upgrade: installed grub-efi-amd64-signed package post-installation script subprocess returned error exit status 32

Matthew Giassa 2038401 at bugs.launchpad.net
Fri Oct 6 11:35:29 UTC 2023


Dupe:
https://bugs.launchpad.net/ubuntu/+source/grub2-signed/+bug/2038526

I tried out variations of @Koen's fix above, but in my case,
automated/unattended jobs (e.g. Hcp Packer builds of AMIs, QCOWS, etc.)
just die with the same errors in the posts above.

I recall a similar issue w/ "shim-signed" happening every few months and
"debconf-set-selections" could be used as a temporary stopgap hack, but
in this case, the usual workarounds don't seem to work.

For now I can just manually create baseline AMIs/QCOWs/etc.; run "apt
dist-upgrade", and tweak my build jobs to inherit these new baseline
images instead of the upstream Canonical images, but it's a less-than-
desirable workaround.

-- 
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/2038401

Title:
  package grub-efi-amd64-signed 1.187.6+2.06-2ubuntu14.4 failed to
  install/upgrade: installed grub-efi-amd64-signed package post-
  installation script subprocess returned error exit status 32

Status in grub2-signed package in Ubuntu:
  Incomplete

Bug description:
  two ssd.
  Ubuntu 22.04.3 LTSinstaller from ubuntu site
  processor: Intel® Core™ i5 CPU 650 @ 3.20GHz × 4

  ProblemType: Package
  DistroRelease: Ubuntu 22.04
  Package: grub-efi-amd64-signed 1.187.6+2.06-2ubuntu14.4
  ProcVersionSignature: Ubuntu 6.2.0-33.33~22.04.1-generic 6.2.16
  Uname: Linux 6.2.0-33-generic x86_64
  ApportVersion: 2.20.11-0ubuntu82.5
  AptOrdering:
   grub-efi-amd64-signed:amd64: Install
   grub-efi-amd64-bin:amd64: Install
   NULL: ConfigurePending
  Architecture: amd64
  CasperMD5CheckResult: pass
  Date: Wed Oct  4 08:53:08 2023
  DuplicateSignature:
   package:grub-efi-amd64-signed:1.187.6+2.06-2ubuntu14.4
   Setting up grub-efi-amd64-signed (1.187.6+2.06-2ubuntu14.4) ...
   mount: /var/lib/grub/esp: bad option; for several filesystems (e.g. nfs, cifs) you might need a /sbin/mount.<type> helper program.
   dpkg: error processing package grub-efi-amd64-signed (--configure):
    installed grub-efi-amd64-signed package post-installation script subprocess returned error exit status 32
  ErrorMessage: installed grub-efi-amd64-signed package post-installation script subprocess returned error exit status 32
  InstallationDate: Installed on 2023-10-03 (0 days ago)
  InstallationMedia: Ubuntu 22.04.3 LTS "Jammy Jellyfish" - Release amd64 (20230807.2)
  Python3Details: /usr/bin/python3.10, Python 3.10.12, python3-minimal, 3.10.6-1~22.04
  PythonDetails: N/A
  RebootRequiredPkgs: Error: path contained symlinks.
  RelatedPackageVersions:
   dpkg 1.21.1ubuntu2.2
   apt  2.4.10
  SourcePackage: grub2-signed
  Title: package grub-efi-amd64-signed 1.187.6+2.06-2ubuntu14.4 failed to install/upgrade: installed grub-efi-amd64-signed package post-installation script subprocess returned error exit status 32
  UpgradeStatus: No upgrade log present (probably fresh install)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/grub2-signed/+bug/2038401/+subscriptions




More information about the foundations-bugs mailing list