[Bug 1744424] Re: package shim-signed 1.33.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
Mon Jun 18 04:55:09 UTC 2018


Hi Frank,

On Sat, Jun 16, 2018 at 02:20:47PM -0000, Frank Wellington wrote:
> Could not delete variable: Invalid argument
> grub-install: error: efibootmgr failed to register the boot entry: Block device required.
> dpkg: error processing package shim-signed (--configure):
>  installed shim-signed package post-installation script subprocess returned error exit status 1
> Setting up grub-efi-amd64-signed (1.93+2.02-2ubuntu8) ...
> Installing for x86_64-efi platform.
> Could not delete variable: Invalid argument
> grub-install: error: efibootmgr failed to register the boot entry: Block device required.
> dpkg: error processing package grub-efi-amd64-signed (--configure):
>  installed grub-efi-amd64-signed package post-installation script subprocess returned error exit status 1
> Errors were encountered while processing:
>  shim-signed
>  grub-efi-amd64-signed
> E: Sub-process /usr/bin/dpkg returned an error code (1)

> Versions:
> shim-signed (1.34.9+13-0ubuntu2)
> grub-efi-amd64-signed (1.93+2.02-2ubuntu8)

> I experienced this error while performing the LTS upgrade yesterday.

> Information about my machine: Dell XPS 13 9343 i7 8GB RAM 256GB SSD,
> with about 45 GB dedicated to my Ubuntu installation.

> I would appreciate if you could provide any help, as I am now afraid to
> power off my laptop.

The most likely cause of this is LP: #1734147.  If you are affected by this
issue, it is important that you follow the steps to reset your firmware's
writability, because a drive failure in the future could leave you unable to
boot any operating system at all on your computer.

This issue will definitely not be cleared by apt -f install.

However, while it's a serious issue, there should also be no harm at all in
rebooting.  You won't be able to upgrade your bootloader until this issue is
resolved, but the bootloader you currently have on disk should continue to
work as before.

-- 
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/1744424

Title:
  package shim-signed 1.33.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:
  Expired

Bug description:
  Failed to upgrade while upgrading to 18.04

  ProblemType: Package
  DistroRelease: Ubuntu 18.04
  Package: shim-signed 1.33.1+13-0ubuntu2
  ProcVersionSignature: Ubuntu 4.13.0-26.29~16.04.2-generic 4.13.13
  Uname: Linux 4.13.0-26-generic x86_64
  NonfreeKernelModules: nvidia_uvm nvidia_drm nvidia_modeset nvidia
  .proc.sys.kernel.moksbstate_disabled: Error: [Errno 2] No such file or directory: '/proc/sys/kernel/moksbstate_disabled'
  ApportVersion: 2.20.8-0ubuntu6
  Architecture: amd64
  Date: Fri Jan 19 22:01:29 2018
  EFIBootMgr:
   BootCurrent: 0001
   Timeout: 0 seconds
   BootOrder: 0001,0000
   Boot0000* Windows Boot Manager	HD(1,GPT,adc1df84-a7a6-4d80-847c-e8afd4806a28,0x800,0xfa000)/File(\EFI\Microsoft\Boot\bootmgfw.efi)WINDOWS.........x...B.C.D.O.B.J.E.C.T.=.{.9.d.e.a.8.6.2.c.-.5.c.d.d.-.4.e.7.0.-.a.c.c.1.-.f.3.2.b.3.4.4.d.4.7.9.5.}...1................
   Boot0001* ubuntu	HD(1,GPT,adc1df84-a7a6-4d80-847c-e8afd4806a28,0x800,0xfa000)/File(\EFI\ubuntu\shimx64.efi)
  EFITables:
   Jan 19 22:13:39 gerardo-XPS-15-9560 kernel: efi: EFI v2.40 by American Megatrends
   Jan 19 22:13:39 gerardo-XPS-15-9560 kernel: efi:  ACPI=0x78835000  ACPI 2.0=0x78835000  SMBIOS=0x79368000  SMBIOS 3.0=0x79367000  ESRT=0x792d7018  MEMATTR=0x75f1a298 
   Jan 19 22:13:39 gerardo-XPS-15-9560 kernel: esrt: Reserving ESRT space from 0x00000000792d7018 to 0x00000000792d7050.
   Jan 19 22:13:39 gerardo-XPS-15-9560 kernel: Secure boot could not be determined
  ErrorMessage: installed shim-signed package post-installation script subprocess returned error exit status 1
  InstallationDate: Installed on 2017-07-03 (200 days ago)
  InstallationMedia: Ubuntu 16.04.2 LTS "Xenial Xerus" - Release amd64 (20170215.2)
  Python3Details: /usr/bin/python3.6, Python 3.6.4, python3-minimal, 3.6.3-0ubuntu2
  PythonDetails: /usr/bin/python2.7, Python 2.7.14+, python-minimal, 2.7.14-2ubuntu1
  RelatedPackageVersions:
   dpkg 1.19.0.4ubuntu1
   apt  1.6~alpha5
  SecureBoot: 6   0   0   0   0
  SourcePackage: shim-signed
  Title: package shim-signed 1.33.1+13-0ubuntu2 failed to install/upgrade: installed shim-signed package post-installation script subprocess returned error exit status 1
  UpgradeStatus: Upgraded to bionic on 2018-01-20 (0 days ago)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/shim-signed/+bug/1744424/+subscriptions



More information about the foundations-bugs mailing list