package grub-efi-amd64-signed 1.167~18.04.5+2.04-1ubuntu44.1.2 failed to install/upgrade: installed grub-efi-amd64-signed package post-installation script subprocess returned error exit status 1

Bug #1971979 reported by Joszja de Weerdt
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
grub2-signed (Ubuntu)
New
Undecided
Unassigned

Bug Description

Setting up grub-efi-amd64-signed (1.167~18.04.5+2.04-1ubuntu44.1.2) ...
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
Setting up libcrypt-dev:amd64 (1:4.4.10-10ubuntu4) ...

Progress: [ 82%]
Setting up locales (2.31-0ubuntu9.9) ...
Installing new version of config file /etc/locale.alias ...
ERROR: Cannot create report: [Errno 17] File exists: '/var/crash/grub-efi-amd64-signed.0.crash'
                                                                                               Generating locales (this might take a while)...
  en_US.UTF-8... done
Generation complete.
dpkg: dependency problems prevent configuration of shim-signed:
 shim-signed depends on grub-efi-amd64-signed (>= 1.167~) | grub-efi-arm64-signed (>= 1.167~); 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.
                                                                                                          Processing triggers for man-db (2.8.3-2ubuntu0.1) ...
Processing triggers for libc-bin (2.31-0ubuntu9.9) ...

Progress: [ 89%]
Errors were encountered while processing:
 grub-efi-amd64-signed
 shim-signed
Exception during pm.DoInstall(): E:Sub-process /usr/bin/dpkg returned an error code (1)

ProblemType: Package
DistroRelease: Ubuntu 18.04
Package: grub-efi-amd64-signed 1.167~18.04.5+2.04-1ubuntu44.1.2
ProcVersionSignature: Ubuntu 4.15.0-177.186-generic 4.15.18
Uname: Linux 4.15.0-177-generic x86_64
ApportVersion: 2.20.9-0ubuntu7.27
Architecture: amd64
Date: Fri May 6 12:05:05 2022
ErrorMessage: installed grub-efi-amd64-signed package post-installation script subprocess returned error exit status 1
Python3Details: /usr/bin/python3.6, Python 3.6.9, python3-minimal, 3.6.7-1~18.04
PythonDetails: /usr/bin/python2.7, Python 2.7.17, python-minimal, 2.7.15~rc1-1
RelatedPackageVersions:
 dpkg 1.19.0.5ubuntu2.3
 apt 1.6.14
SourcePackage: grub2-signed
Title: package grub-efi-amd64-signed 1.167~18.04.5+2.04-1ubuntu44.1.2 failed to install/upgrade: installed grub-efi-amd64-signed package post-installation script subprocess returned error exit status 1
UpgradeStatus: Upgraded to bionic on 2022-05-06 (0 days ago)

Revision history for this message
Joszja de Weerdt (dibbes) wrote :
Revision history for this message
Apport retracing service (apport) wrote : This bug is a duplicate

Thank you for taking the time to report this crash and helping to make this software better. This particular crash has already been reported and is a duplicate of bug #1962399, so is being marked as such. Please look at the other bug report to see if there is any missing information that you can provide, or to see if there is a workaround for the bug. Additionally, any further discussion regarding the bug should occur in the other report. Please continue to report any other bugs you may find.

tags: removed: need-duplicate-check
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.