[Bug 1780187] 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
Thu Jul 5 15:58:53 UTC 2018


The error in your log is:

grub-install: error: attempt to install to encrypted disk without cryptodisk enabled. Set `GRUB_ENABLE_CRYPTODISK=y' in file `/etc/default/grub'.
dpkg: error processing package shim-signed (--configure):
 installed shim-signed package post-installation script subprocess returned error exit status 1

Your attached df output confirms that you have a separate ESP mounted at
/boot/efi, but that your root is on a (presumably encrypted) LVM volume,
and you do not have a separate unencrypted /boot partition.  The
question is, how did you only run into this error on upgrade?  The
SecureBoot-signed EFI grub has never included cryptodisk support, which
means it would only ever boot if you had an unencrypted /boot since it
would be unable to read the kernel from the encrypted volume.  I see
that your system has SecureBoot disabled, so that would not directly
block you from booting, however the error message in grub is also not
new so I don't understand how you got your system into such a state that
you are getting the error message on upgrade.

** Package changed: shim-signed (Ubuntu) => grub2 (Ubuntu)

** Changed in: grub2 (Ubuntu)
       Status: New => Incomplete

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

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 grub2 package in Ubuntu:
  Incomplete

Bug description:
  Description:	Ubuntu 18.04 LTS
  Release:	18.04

  shim-signed:
    Installed: 1.34.9.1+13-0ubuntu2
    Candidate: 1.34.9.1+13-0ubuntu2
    Version table:
   *** 1.34.9.1+13-0ubuntu2 500
          500 http://fr.archive.ubuntu.com/ubuntu bionic-updates/main amd64 Packages
          100 /var/lib/dpkg/status
       1.34.9+13-0ubuntu2 500
          500 http://fr.archive.ubuntu.com/ubuntu bionic/main amd64 Packages

  Should be upgrading without issues from software updater.

  Failed to upgrade/install

  
  ProblemType: Package
  DistroRelease: Ubuntu 18.04
  Package: shim-signed 1.34.9.1+13-0ubuntu2
  ProcVersionSignature: Ubuntu 4.15.0-22.24-generic 4.15.17
  Uname: Linux 4.15.0-22-generic x86_64
  NonfreeKernelModules: kpatch_livepatch_Ubuntu_4_15_0_22_24_generic_40
  .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
  Date: Thu Jul  5 08:25:52 2018
  EFIBootMgr:
   BootCurrent: 0001
   Timeout: 2 seconds
   BootOrder: 0001
   Boot0000  Windows Boot Manager	HD(1,GPT,c8503e71-253d-4a48-8fe2-6cfd307f2cef,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.}...K................
   Boot0001* ubuntu	HD(1,GPT,70d47ac7-faca-4fcc-bfb3-f5583567d130,0x800,0x100000)/File(\EFI\ubuntu\shimx64.efi)
  EFITables:
   juil. 03 08:49:52 tagstev kernel: efi: EFI v2.40 by American Megatrends
   juil. 03 08:49:52 tagstev kernel: efi:  ACPI=0x97995000  ACPI 2.0=0x97995000  SMBIOS=0xf0000  ESRT=0x9a268598
   juil. 03 08:49:52 tagstev kernel: secureboot: Secure boot could not be determined (mode 0)
   juil. 03 08:49:52 tagstev kernel: esrt: Reserving ESRT space from 0x000000009a268598 to 0x000000009a2685d0.
  ErrorMessage: installed shim-signed package post-installation script subprocess returned error exit status 1
  InstallationDate: Installed on 2018-06-06 (28 days ago)
  InstallationMedia: Ubuntu 18.04 LTS "Bionic Beaver" - Release amd64 (20180426)
  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
  SecureBoot: 6   0   0   0   0
  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/grub2/+bug/1780187/+subscriptions



More information about the foundations-bugs mailing list