(16.04, installing updates, shim-signed installed but system is not UEFI) package shim-signed 1.18~16.04.1+0.8-0ubuntu2 failed to install/upgrade: subprocess installed post-installation script returned error exit status 1

Bug #1612652 reported by S. Erik Hermo
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
shim-signed (Ubuntu)
Expired
Undecided
Unassigned

Bug Description

None that I can add.

ProblemType: Package
DistroRelease: Ubuntu 16.04
Package: shim-signed 1.18~16.04.1+0.8-0ubuntu2
ProcVersionSignature: Ubuntu 4.4.0-22.40-generic 4.4.8
Uname: Linux 4.4.0-22-generic x86_64
ApportVersion: 2.20.1-0ubuntu2.1
Architecture: amd64
BootEFIContents:
 fw
 fwupx64.efi
Date: Fri Aug 12 22:57:02 2016
DuplicateSignature:
 package:shim-signed:1.18~16.04.1+0.8-0ubuntu2
 Setting up grub-efi-amd64-signed (1.66.2+2.02~beta2-36ubuntu3.2) ...
 grub-install: error: /usr/lib/grub/i386-pc/modinfo.sh doesn't exist. Please specify --target or --directory.
 dpkg: error processing package grub-efi-amd64-signed (--configure):
  subprocess installed post-installation script returned error exit status 1
EFIBootMgr: Error: command ['efibootmgr', '-v'] failed with exit code 2: efibootmgr: EFI variables are not supported on this system.
ErrorMessage: subprocess installed post-installation script returned error exit status 1
RelatedPackageVersions:
 dpkg 1.18.4ubuntu1.1
 apt 1.2.12~ubuntu16.04.1
SourcePackage: shim-signed
Title: package shim-signed 1.18~16.04.1+0.8-0ubuntu2 failed to install/upgrade: subprocess installed post-installation script returned error exit status 1
UpgradeStatus: No upgrade log present (probably fresh install)

Revision history for this message
S. Erik Hermo (ehermo) wrote :
tags: removed: need-duplicate-check
Revision history for this message
Steve Langasek (vorlon) wrote :

The log shows that you were upgrading from version 1.12+0.8-0ubuntu2 of shim-signed (in the xenial release pocket) to version 1.18~16.04.1+0.8-0ubuntu2 (in xenial-updates).

The error in your log is:

Setting up shim-signed (1.18~16.04.1+0.8-0ubuntu2) ...
Installing for x86_64-efi platform.
grub-install: error: cannot find EFI directory.
dpkg: error processing package shim-signed (--configure):
 subprocess installed post-installation script returned error exit status 1

You should have an EFI system partition mounted at /boot/efi, containing your existing bootloader.

Please show the output of the 'mount' command on your system.

Changed in shim-signed (Ubuntu):
status: New → Incomplete
Revision history for this message
Steve Langasek (vorlon) wrote :

I also see this line in your bug report:

 EFIBootMgr: Error: command ['efibootmgr', '-v'] failed with exit code 2: efibootmgr: EFI variables are not supported on this system.

Do you know if your system is an EFI system or not? All indications are that this system is booted in BIOS mode, but then it's unclear how you had the EFI bootloaders installed previously.

summary: - package shim-signed 1.18~16.04.1+0.8-0ubuntu2 failed to install/upgrade:
- subprocess installed post-installation script returned error exit status
- 1
+ (16.04, installing updates, shim-signed installed but system is not
+ UEFI) package shim-signed 1.18~16.04.1+0.8-0ubuntu2 failed to
+ install/upgrade: subprocess installed post-installation script returned
+ error exit status 1
Revision history for this message
Launchpad Janitor (janitor) wrote :

[Expired for shim-signed (Ubuntu) because there has been no activity for 60 days.]

Changed in shim-signed (Ubuntu):
status: Incomplete → Expired
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.