[Bug 1779560] Re: package shim-signed 1.34.9.1+13-0ubuntu2 failed to install/upgrade: installed shim-signed package post-installation script subprocess returned error exit status 1

Steve Langasek steve.langasek at canonical.com
Tue Jul 3 15:47:07 UTC 2018


*** This bug is a duplicate of bug 1766945 ***
    https://bugs.launchpad.net/bugs/1766945

Ok, then I believe your issue is at its root a duplicate of LP:
#1766945.

Because the install has completed and you don't have an EFI System
Partition, the grub-efi-amd64-signed and shim-signed packages cannot
work on your install.  Short of repartitioning your system, you should
probably resolve this by doing:

 sudo apt autoremove --purge shim-signed grub-efi-amd64-signed grub-pc+

That will properly install the BIOS GRUB package and remove the EFI
packages.

** This bug has been marked a duplicate of bug 1766945
   (EFI on top of legacy install) choosing "replace" or "resize" options in partitioning may lead to an install failure

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to shim-signed in Ubuntu.
https://bugs.launchpad.net/bugs/1779560

Title:
  package shim-signed 1.34.9.1+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:
  ubuntu 18.04, during sudo apt-get dist-upgrade, the following error is
  shown:

  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

  ProblemType: Package
  DistroRelease: Ubuntu 18.04
  Package: shim-signed 1.34.9.1+13-0ubuntu2
  ProcVersionSignature: Ubuntu 4.15.0-23.25-generic 4.15.18
  Uname: Linux 4.15.0-23-generic x86_64
  NonfreeKernelModules: nvidia_modeset nvidia
  .proc.sys.kernel.moksbstate_disabled: Error: [Errno 2] No such file or directory: '/proc/sys/kernel/moksbstate_disabled'
  ApportVersion: 2.20.9-0ubuntu7.2
  Architecture: amd64
  BootEFIContents:
   fw
   fwupx64.efi
  Date: Sun Jul  1 23:09:35 2018
  EFIBootMgr: Error: command ['efibootmgr', '-v'] failed with exit code 2: EFI variables are not supported on this system.
  EFITables: Jul 01 23:05:34 tassos-laptop fwupd[3001]: 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.1+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/1779560/+subscriptions



More information about the foundations-bugs mailing list