[Bug 2072819] Re: package grub-efi-amd64-signed 1.202+2.12-1ubuntu7 failed to install/upgrade: installed grub-efi-amd64-signed package post-installation script subprocess returned error exit status 1

Bedlore 2072819 at bugs.launchpad.net
Wed Sep 25 03:45:49 UTC 2024


> Is this a virtual machine running a cloud image by any chance?
It is for me, I tried dpkg-reconfigure grub-efi-amd64-signed and it fails like this:
Setting up grub-efi-amd64-signed (1.202+2.12-1ubuntu7) ...
Installing for x86_64-efi platform.
grub-install: error: cannot find EFI directory.
dpkg: error processing package grub-efi-amd64-signed (--configure):
 installed grub-efi-amd64-signed package post-installation script subprocess returned error exit status 1
dpkg: dependency problems prevent configuration of shim-signed:
 shim-signed depends on grub-efi-amd64-signed (>= 1.191~) | grub-efi-arm64-signed (>= 1.191~) | base-files (<< 12.3); however:
  Package grub-efi-amd64-signed is not configured yet.
  Package grub-efi-arm64-signed is not installed.
  Version of base-files on system is 13ubuntu10.1.
 shim-signed depends on grub-efi-amd64-signed (>= 1.187.2~) | grub-efi-arm64-signed (>= 1.187.2~); however:
  Package grub-efi-amd64-signed is not configured yet.
  Package grub-efi-arm64-signed is not installed.

dpkg: error processing package shim-signed (--configure):
 dependency problems - leaving unconfigured
No apport report written because the error message indicates its a followup error from a previous failure.
                                                                                                          Errors were encountered while processing:
 grub-efi-amd64-signed
 shim-signed
E: Sub-process /usr/bin/dpkg returned an error code (1)

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

Title:
  package grub-efi-amd64-signed 1.202+2.12-1ubuntu7 failed to
  install/upgrade: installed grub-efi-amd64-signed package post-
  installation script subprocess returned error exit status 1

Status in grub2-signed package in Ubuntu:
  Confirmed

Bug description:
  I was doing a do-release-update -d to 24.04 from 22.04.

  ProblemType: Package
  DistroRelease: Ubuntu 24.04
  Package: grub-efi-amd64-signed 1.202+2.12-1ubuntu7
  ProcVersionSignature: Ubuntu 6.5.0-41.41~22.04.2-generic 6.5.13
  Uname: Linux 6.5.0-41-generic x86_64
  ApportVersion: 2.28.1-0ubuntu3
  Architecture: amd64
  CasperMD5CheckResult: pass
  Date: Thu Jul 11 21:04:18 2024
  ErrorMessage: installed grub-efi-amd64-signed package post-installation script subprocess returned error exit status 1
  InstallationDate: Installed on 2023-11-25 (230 days ago)
  InstallationMedia: Ubuntu 22.04.2 LTS "Jammy Jellyfish" - Release amd64 (20230223)
  Python3Details: /usr/bin/python3.12, Python 3.12.3, python3-minimal, 3.12.3-0ubuntu1
  PythonDetails: N/A
  RebootRequiredPkgs: Error: path contained symlinks.
  RelatedPackageVersions:
   dpkg 1.22.6ubuntu6
   apt  2.7.14build2
  SourcePackage: grub2-signed
  Title: package grub-efi-amd64-signed 1.202+2.12-1ubuntu7 failed to install/upgrade: installed grub-efi-amd64-signed package post-installation script subprocess returned error exit status 1
  UpgradeStatus: Upgraded to noble on 2024-07-12 (0 days ago)
  mtime.conffile..etc.init.d.apport: 2024-04-23T06:30:10

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




More information about the foundations-bugs mailing list