(non-UEFI) 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

Bug #1771725 reported by Subangkar Karmaker Shanto
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
shim-signed (Ubuntu)
Confirmed
Undecided
Unassigned

Bug Description

During Installation this Problem started.
Still could not be solved.

I have Ubuntu 16 installed.
While trying to install Ubuntu 18.04 stable i faced it.

ProblemType: Package
DistroRelease: Ubuntu 18.04
Package: shim-signed 1.34.9+13-0ubuntu2
ProcVersionSignature: Ubuntu 4.15.0-20.21-generic 4.15.17
Uname: Linux 4.15.0-20-generic x86_64
.proc.sys.kernel.moksbstate_disabled: Error: [Errno 2] No such file or directory: '/proc/sys/kernel/moksbstate_disabled'
ApportVersion: 2.20.9-0ubuntu7
Architecture: amd64
BootEFIContents:
 fw
 fwupx64.efi
Date: Thu May 17 09:37:36 2018
EFIBootMgr: Error: command ['efibootmgr', '-v'] failed with exit code 2: EFI variables are not supported on this system.
EFITables: May 17 09:32:40 hp fwupd[2211]: 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
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
RelatedPackageVersions:
 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)

Revision history for this message
Subangkar Karmaker Shanto (subangkar) wrote :
tags: removed: need-duplicate-check
Revision history for this message
Steve Langasek (vorlon) wrote :

The error in your log is:

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

Why is /boot/efi not mounted on your system?

Changed in shim-signed (Ubuntu):
status: New → Incomplete
Revision history for this message
Subangkar Karmaker Shanto (subangkar) wrote : Re: [Bug 1771725] Re: 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

During installation /boot/efi & grub could not be installed.
I've tried to install grub later but it failed again & again.

On Thu, May 17, 2018 at 10:10 AM Steve Langasek <
<email address hidden>> wrote:

> The error in your log is:
>
> Setting up shim-signed (1.34.9+13-0ubuntu2) ...
> Installing for x86_64-efi platform.
> grub-install: error: cannot find EFI directory.
> dpkg: error processing package shim-signed (--configure):
> installed shim-signed package post-installation script subprocess
> returned error exit status 1
>
> Why is /boot/efi not mounted on your system?
>
> ** Changed in: shim-signed (Ubuntu)
> Status: New => Incomplete
>
> --
> You received this bug notification because you are subscribed to the bug
> report.
> https://bugs.launchpad.net/bugs/1771725
>
> 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
>
> Status in shim-signed package in Ubuntu:
> Incomplete
>
> Bug description:
> During Installation this Problem started.
> Still could not be solved.
>
> I have Ubuntu 16 installed.
> While trying to install Ubuntu 18.04 stable i faced it.
>
> ProblemType: Package
> DistroRelease: Ubuntu 18.04
> Package: shim-signed 1.34.9+13-0ubuntu2
> ProcVersionSignature: Ubuntu 4.15.0-20.21-generic 4.15.17
> Uname: Linux 4.15.0-20-generic x86_64
> .proc.sys.kernel.moksbstate_disabled: Error: [Errno 2] No such file or
> directory: '/proc/sys/kernel/moksbstate_disabled'
> ApportVersion: 2.20.9-0ubuntu7
> Architecture: amd64
> BootEFIContents:
> fw
> fwupx64.efi
> Date: Thu May 17 09:37:36 2018
> EFIBootMgr: Error: command ['efibootmgr', '-v'] failed with exit code 2:
> EFI variables are not supported on this system.
> EFITables: May 17 09:32:40 hp fwupd[2211]: 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
> 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
> RelatedPackageVersions:
> 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)
>
> To manage notifications about this bug go to:
>
> https://bugs.launchpad.net/ubuntu/+source/shim-signed/+bug/1771725/+subscriptions
>

Steve Langasek (vorlon)
Changed in shim-signed (Ubuntu):
status: Incomplete → New
summary: - 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
+ (non-UEFI) 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
Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

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