(MacBook, UEFI, /boot/efi not mounted) package shim-signed 1.34.9+13-0ubuntu2 failed to install/upgrade: installed shim-signed package post-installation script subprocess returned error exit status 1
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
shim-signed (Ubuntu) |
Expired
|
Undecided
|
Unassigned |
Bug Description
On MacBook Pro the installation of shim-signed fails
ProblemType: Package
DistroRelease: Ubuntu 18.04
Package: shim-signed 1.34.9+13-0ubuntu2
ProcVersionSign
Uname: Linux 4.15.0-15-generic x86_64
NonfreeKernelMo
.proc.sys.
ApportVersion: 2.20.9-0ubuntu7
Architecture: amd64
Date: Tue Apr 24 18:42:18 2018
EFITables:
Apr 22 21:43:03 pipous-ubuntu kernel: efi: EFI v1.10 by Apple
Apr 22 21:43:03 pipous-ubuntu kernel: efi: ACPI=0x8ad8e000 ACPI 2.0=0x8ad8e014 SMBIOS=0x8ad35000
Apr 22 21:43:03 pipous-ubuntu kernel: secureboot: Secure boot disabled
Apr 22 22:38:14 pipous-ubuntu fwupd[3151]: disabling plugin because: failed to startup uefi: UEFI firmware updating not supported
ErrorMessage: installed shim-signed package post-installation script subprocess returned error exit status 1
InstallationDate: Installed on 2018-03-26 (30 days ago)
InstallationMedia: Ubuntu 18.04 LTS "Bionic Beaver" - Alpha amd64 (20180325)
Python3Details: /usr/bin/python3.6, Python 3.6.5, python3-minimal, 3.6.5-3
PythonDetails: /usr/bin/python2.7, Python 2.7.15rc1, python-minimal, 2.7.15~rc1-1
RelatedPackageV
dpkg 1.19.0.5ubuntu2
apt 1.6.1
SourcePackage: shim-signed
Title: package shim-signed 1.34.9+13-0ubuntu2 failed to install/upgrade: installed shim-signed package post-installation script subprocess returned error exit status 1
UpgradeStatus: No upgrade log present (probably fresh install)
Your log shows this is an upgrade of shim-signed, from version 1.33.1+13-0ubuntu2 to 1.34.9+13-0ubuntu2, so you have previously had this package successfully installed; but the error in your logs is:
Installing for x86_64-efi platform.
grub-install: error: cannot find EFI directory.
ESC[1mdpkg:ESC[0m error processing package shim-signed (--configure):
installed shim-signed package post-installation script subprocess returned error exit status 1
This shows that you have no EFI System Partition mounted at /boot/efi. Why is this?
The BootEFIContents attachment also shows that you have a fully populated /boot/efi/ EFI/ubuntu directory; but if this is not actually an EFI System Partition, it will not be visible to the firmware.
You do have a /dev/sda1 partition mounted at /boot. What filesystem is on this partition?