[Bug 1788627] Re: package shim-signed 1.34.9.2+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 Aug 23 15:46:12 UTC 2018


The error in your log shows:

Running in non-interactive mode, doing nothing.
--- /var/lib/shim-signed/dkms-list	2018-08-23 09:15:24.219075416 -0500
+++ /var/lib/shim-signed/dkms-list.new	2018-08-23 09:15:24.231077094 -0500
@@ -1,2 +1,3 @@
 /var/lib/dkms
+/var/lib/dkms/rtl8812au
 /var/lib/dkms/virtualbox
dpkg: error processing package shim-signed (--configure):
 installed shim-signed package post-installation script subprocess returned error exit status 1
Errors were encountered while processing:
 shim-signed
E: Sub-process /usr/bin/dpkg returned an error code (1)

So you already have a dkms module installed on your system, but you have
not gone through the process to enable MOK for SecureBoot so that the
modules will be loadable under SecureBoot; and you are now installing
another dkms module, rtl8812au, but somehow this package's installation
is not shown in your dpkg logs and you did not answer the debconf
prompt; then you ran a non-interactive 'apt upgrade', which failed
because noninteractive means the prompt will still not be shown.

How did you install these dkms modules, that the prompts were not shown
to you?

You need to run apt -f install without DEBIAN_FRONTEND=noninteractive
being set in your environment in order to handle the SecureBoot prompts
and complete the upgrade.

** Changed in: shim-signed (Ubuntu)
       Status: New => Incomplete

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

Title:
  package shim-signed 1.34.9.2+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 Release
  Description:	Ubuntu 18.04.1 LTS
  Release:	18.04

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

  Expected behaviour
  Expect triggers to process without error.

  Actual behaviour
  While processing triggers, errors:

  Processing triggers for shim-signed (1.34.9.2+13-0ubuntu2) ...
  Running in non-interactive mode, doing nothing.
  --- /var/lib/shim-signed/dkms-list	2018-08-23 09:15:24.219075416 -0500
  +++ /var/lib/shim-signed/dkms-list.new	2018-08-23 09:15:24.231077094 -0500
  @@ -1,2 +1,3 @@
   /var/lib/dkms
  +/var/lib/dkms/rtl8812au
   /var/lib/dkms/virtualbox
  dpkg: error processing package shim-signed (--configure):
   installed shim-signed package post-installation script subprocess returned error exit status 1
  Errors were encountered while processing:
   shim-signed
  E: Sub-process /usr/bin/dpkg returned an error code (1)

  ProblemType: Package
  DistroRelease: Ubuntu 18.04
  Package: shim-signed 1.34.9.2+13-0ubuntu2
  ProcVersionSignature: Ubuntu 4.15.0-29.31-generic 4.15.18
  Uname: Linux 4.15.0-29-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.2
  Architecture: amd64
  Date: Thu Aug 23 09:15:31 2018
  EFITables:
   Aug 23 07:19:06 Buddhacarita kernel: efi: EFI v2.31 by INSYDE Corp.
   Aug 23 07:19:06 Buddhacarita kernel: efi:  ESRT=0x9f5dcc18  ACPI=0x9fbfe000  ACPI 2.0=0x9fbfe014  SMBIOS=0x9fabef98 
   Aug 23 07:19:06 Buddhacarita kernel: secureboot: Secure boot enabled
   Aug 23 07:19:06 Buddhacarita kernel: esrt: Reserving ESRT space from 0x000000009f5dcc18 to 0x000000009f5dcc50.
  ErrorMessage: installed shim-signed package post-installation script subprocess returned error exit status 1
  InstallationDate: Installed on 2018-04-29 (115 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-3ubuntu1
  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.3ubuntu0.1
  SecureBoot: 6   0   0   0   1
  SourcePackage: shim-signed
  Title: package shim-signed 1.34.9.2+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/1788627/+subscriptions



More information about the foundations-bugs mailing list