[Bug 1680052] Re: package shim-signed 1.27~16.10.1+0.9+1474479173.6c180c6-1ubuntu1 failed to install/upgrade: subprocess installed post-installation script returned error exit status 1

Steve Langasek steve.langasek at canonical.com
Wed Apr 5 22:29:06 UTC 2017


Thanks for reporting this issue.

The error in your logs is:

> Setting up shim-signed (1.27~16.10.1+0.9+1474479173.6c180c6-1ubuntu1) ...
> Installing for x86_64-efi platform.
> Installation finished. No error reported.
> Running in non-interactive mode, doing nothing.
> dpkg: error processing package shim-signed (--configure):
>  subprocess installed post-installation script returned error exit status 1

This indicates that the shim package detected dkms modules present on
your system, and that you have SecureBoot enabled, and therefore
SecureBoot must be administratively disabled in order for you to
continue booting.

And the prompt failed to be displayed, so it was impossible to prompt
you for this.

However, this should already have been the policy in place prior to your upgrade, so I'm not sure why you were prompted again.  Could you please send the output of the following commands:
$ cat /proc/sys/kernel/moksbstate_disabled
$ od -tx1 /sys/firmware/efi/efivars/SecureBoot-8be4df61-93ca-11d2-aa0d-00e098032b8c
$ od -tx1 /sys/firmware/efi/efivars/MokSBStateRT-605dab50-e046-4300-abb6-3dd810dd8b23

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

Title:
  package shim-signed 1.27~16.10.1+0.9+1474479173.6c180c6-1ubuntu1
  failed to install/upgrade: subprocess installed post-installation
  script returned error exit status 1

Status in shim-signed package in Ubuntu:
  Incomplete

Bug description:
  No idea.  This popped up upon boot up and log in

  ProblemType: Package
  DistroRelease: Ubuntu 16.10
  Package: shim-signed 1.27~16.10.1+0.9+1474479173.6c180c6-1ubuntu1
  ProcVersionSignature: Ubuntu 4.8.0-46.49-generic 4.8.17
  Uname: Linux 4.8.0-46-generic x86_64
  ApportVersion: 2.20.3-0ubuntu8.2
  Architecture: amd64
  Date: Tue Apr  4 14:50:56 2017
  DpkgHistoryLog:
   Start-Date: 2017-04-04  14:50:04
   Commandline: aptdaemon role='role-upgrade-system' sender=':1.358'
   Upgrade: grub-common:amd64 (2.02~beta2-36ubuntu11, 2.02~beta2-36ubuntu11.2), grub2-common:amd64 (2.02~beta2-36ubuntu11, 2.02~beta2-36ubuntu11.2), grub-efi-amd64-bin:amd64 (2.02~beta2-36ubuntu11, 2.02~beta2-36ubuntu11.2), grub-efi-amd64:amd64 (2.02~beta2-36ubuntu11, 2.02~beta2-36ubuntu11.2), shim-signed:amd64 (1.21.3+0.9+1465500757.14a5905.is.0.8-0ubuntu3, 1.27~16.10.1+0.9+1474479173.6c180c6-1ubuntu1), grub-efi-amd64-signed:amd64 (1.74+2.02~beta2-36ubuntu11, 1.74.2+2.02~beta2-36ubuntu11.2), shim:amd64 (0.9+1465500757.14a5905.is.0.8-0ubuntu3, 0.9+1474479173.6c180c6-1ubuntu1)
  ErrorMessage: subprocess installed post-installation script returned error exit status 1
  InstallationDate: Installed on 2017-02-22 (41 days ago)
  InstallationMedia: Ubuntu 16.10 "Yakkety Yak" - Release amd64 (20161012.2)
  RelatedPackageVersions:
   dpkg 1.18.10ubuntu1
   apt  1.3.4
  SourcePackage: shim-signed
  Title: package shim-signed 1.27~16.10.1+0.9+1474479173.6c180c6-1ubuntu1 failed to install/upgrade: subprocess installed post-installation script 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/1680052/+subscriptions



More information about the foundations-bugs mailing list