[Bug 1813505] Re: package shim-signed 1.37~18.04.3+15+1533136590.3beb971-0ubuntu1 failed to install/upgrade: installed shim-signed package post-installation script subprocess returned error exit status 1

Steve Langasek steve.langasek at canonical.com
Sun Jan 27 22:19:52 UTC 2019


Hi Dan,

The key part of the upgrade log is:

Running in non-interactive mode, doing nothing.
--- /var/lib/shim-signed/dkms-list	2019-01-27 16:39:01.144385081 -0500
+++ /var/lib/shim-signed/dkms-list.new	2019-01-27 16:39:01.146385301 -0500
@@ -1,2 +1,3 @@
 /var/lib/dkms
+/var/lib/dkms/bbswitch
 /var/lib/dkms/nvidia
dpkg: error processing package shim-signed (--configure):
 installed shim-signed package post-installation script subprocess returned error exit status 1

This shows that:
 - you had dkms modules installed before the upgrade, but you had not configured your system with a machine owner key to use for Secure Boot
 - as part of the upgrade, you have installed an additional dkms module (bbswitch)
 - you are running in a non-interactive mode, making it impossible for the upgrader to prompt you about configuration of the MOK.

Also, based on the date stamp of the crash report and the reported date
of your upgrade to bionic, it looks like this is unrelated to the actual
upgrade.

Do you recall manually installing the bbswitch package?  What command do
you use to manage the software packages installed on your system?

Running 'sudo apt -f install' from the commandline should be sufficient
to fix up this installation failure.  It would still help us to have the
answers to the above questions, to understand why you were not shown the
critical debconf prompt.

** 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/1813505

Title:
  package shim-signed 1.37~18.04.3+15+1533136590.3beb971-0ubuntu1 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:
  This is most likely from the failed upgrade attempt from Ubuntu Studio to Bionic Beaver.
  I was simply following the prompts to report bug.

  Was thinking of doing the following: sudo apt-get auto-remove to
  remove unsigned kernels then try the upgrade again, could you please
  confirm if this is a valid course of action.

  ProblemType: Package
  DistroRelease: Ubuntu 18.04
  Package: shim-signed 1.37~18.04.3+15+1533136590.3beb971-0ubuntu1
  ProcVersionSignature: Ubuntu 4.15.0-43.46-lowlatency 4.15.18
  Uname: Linux 4.15.0-43-lowlatency 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.5
  AptOrdering:
   linux-headers-4.4.0-134-lowlatency:amd64: Remove
   linux-headers-4.4.0-134:amd64: Remove
   NULL: ConfigurePending
  Architecture: amd64
  Date: Sun Jan 27 16:39:01 2019
  ErrorMessage: installed shim-signed package post-installation script subprocess returned error exit status 1
  InstallationDate: Installed on 2016-12-12 (776 days ago)
  InstallationMedia: Ubuntu-Studio 16.04.1 LTS "Xenial Xerus" - Release amd64 (20160719)
  Python3Details: /usr/bin/python3.6, Python 3.6.7, python3-minimal, 3.6.7-1~18.04
  PythonDetails: /usr/bin/python2.7, Python 2.7.15rc1, python-minimal, 2.7.15~rc1-1
  RelatedPackageVersions:
   dpkg 1.19.0.5ubuntu2.1
   apt  1.6.6
  SecureBoot: 6   0   0   0   1
  SourcePackage: shim-signed
  Title: package shim-signed 1.37~18.04.3+15+1533136590.3beb971-0ubuntu1 failed to install/upgrade: installed shim-signed package post-installation script subprocess returned error exit status 1
  UpgradeStatus: Upgraded to bionic on 2019-01-13 (14 days ago)

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



More information about the foundations-bugs mailing list