package shim-signed 1.40.9+15.7-0ubuntu1 failed to install/upgrade: installed shim-signed package post-installation script subprocess returned error exit status 32

Bug #2054615 reported by Matthew Milner
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
grub2 (Ubuntu)
New
Undecided
Unassigned

Bug Description

not sure

ProblemType: Package
DistroRelease: Ubuntu 20.04
Package: shim-signed 1.40.9+15.7-0ubuntu1
ProcVersionSignature: Ubuntu 5.15.0-92.102~20.04.1-generic 5.15.131
Uname: Linux 5.15.0-92-generic x86_64
.proc.sys.kernel.moksbstate_disabled: Error: [Errno 2] No such file or directory: '/proc/sys/kernel/moksbstate_disabled'
ApportVersion: 2.20.11-0ubuntu27.27
Architecture: amd64
BootEFIContents:
 BOOTX64.CSV
 grub.cfg
 grubx64.efi
 mmx64.efi
 shimx64.efi
CasperMD5CheckResult: skip
Date: Tue Feb 20 22:59:48 2024
ErrorMessage: installed shim-signed package post-installation script subprocess returned error exit status 32
InstallationDate: Installed on 2024-01-29 (22 days ago)
InstallationMedia: Ubuntu 20.04.1 LTS "Focal Fossa" - Release amd64 (20200731)
Python3Details: /usr/bin/python3.8, Python 3.8.10, python3-minimal, 3.8.2-0ubuntu2
PythonDetails: /usr/bin/python2.7, Python 2.7.18, python-is-python2, 2.7.17-4
RelatedPackageVersions:
 dpkg 1.19.7ubuntu3.2
 apt 2.0.10
SecureBoot: 6 0 0 0 0
ShimDiff: Binary files /boot/efi/EFI/ubuntu/shimx64.efi and /usr/lib/shim/shimx64.efi.signed differ
SourcePackage: shim-signed
Title: package shim-signed 1.40.9+15.7-0ubuntu1 failed to install/upgrade: installed shim-signed package post-installation script subprocess returned error exit status 32
UpgradeStatus: No upgrade log present (probably fresh install)

Revision history for this message
Matthew Milner (matthewmilner) wrote :
tags: removed: need-duplicate-check
Revision history for this message
Steve Langasek (vorlon) wrote :

The error in your log is:

update-alternatives: using /usr/lib/shim/shimx64.efi.signed.latest to provide /usr/lib/shim/shimx64.efi.signed (shimx64.efi.signed) in auto mode
mount: /var/lib/grub/esp: special device /, does not exist.
dpkg: error processing package shim-signed (--configure):
 installed shim-signed package post-installation script subprocess returned error exit status 32

This appears to be a corrupted grub debconf setting on your system. Please run 'sudo dpkg-reconfigure grub-efi-amd64-signed' to correct it.

affects: shim-signed (Ubuntu) → grub2 (Ubuntu)
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.