This bug was fixed in the package shim-signed - 1.34.7

---------------
shim-signed (1.34.7) bionic; urgency=medium

  * debian/shim-signed.postinst: it's not guaranteed that all linux-image
    packages currently installed have dkms modules built for them.
    Gracefully handle any failures in the path for signing existing dkms
    modules on upgrade due to absent modules.  LP: #1766391.
  * Add a dependency on sbsigntool for kmodsign, which we use directly.

 -- Steve Langasek <steve.langa...@ubuntu.com>  Mon, 23 Apr 2018
21:47:50 -0700

** Changed in: shim-signed (Ubuntu Bionic)
       Status: Triaged => Fix Released

-- 
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to linux in Ubuntu.
https://bugs.launchpad.net/bugs/1766391

Title:
  package shim-signed (not installed) failed to install/upgrade:
  installed shim-signed package post-installation script subprocess
  returned error exit status 5

Status in linux package in Ubuntu:
  Triaged
Status in shim-signed package in Ubuntu:
  Fix Released
Status in linux source package in Bionic:
  Triaged
Status in shim-signed source package in Bionic:
  Fix Released

Bug description:
  Complains that nvidia-390.48 is not installed but I have a version of
  it already installed (nvidia-driver-390):

  sudo apt install shim-signed
  Reading package lists... Done
  Building dependency tree       
  Reading state information... Done
  The following NEW packages will be installed:
    shim-signed
  0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
  Need to get 0 B/317 kB of archives.
  After this operation, 1,247 kB of additional disk space will be used.
  Preconfiguring packages ...
  Selecting previously unselected package shim-signed.
  (Reading database ... 358912 files and directories currently installed.)
  Preparing to unpack .../shim-signed_1.34.6+13-0ubuntu2_amd64.deb ...
  Unpacking shim-signed (1.34.6+13-0ubuntu2) ...
  Setting up shim-signed (1.34.6+13-0ubuntu2) ...
  Installing for x86_64-efi platform.
  Installation finished. No error reported.
  Generating a new Secure Boot signing key:
  Generating a 2048 bit RSA private key
  .......................................+++
  ...........................................+++
  writing new private key to '/var/lib/shim-signed/mok/MOK.priv'
  -----
  Error! The module nvidia 390.48 is not currently installed.
  This module is not currently ACTIVE for kernel 4.15.0-18-generic (x86_64).
  dpkg: error processing package shim-signed (--configure):
   installed shim-signed package post-installation script subprocess returned 
error exit status 5
  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 (not installed)
  ProcVersionSignature: Ubuntu 4.15.0-19.20-generic 4.15.17
  Uname: Linux 4.15.0-19-generic x86_64
  NonfreeKernelModules: nvidia_modeset nvidia
  ApportVersion: 2.20.9-0ubuntu6
  Architecture: amd64
  Date: Mon Apr 23 20:37:00 2018
  ErrorMessage: installed shim-signed package post-installation script 
subprocess returned error exit status 5
  InstallationDate: Installed on 2018-03-31 (23 days ago)
  InstallationMedia: Ubuntu 18.04 LTS "Bionic Beaver" - Alpha amd64 (20180331)
  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
  SourcePackage: shim-signed
  Title: package shim-signed (not installed) failed to install/upgrade: 
installed shim-signed package post-installation script subprocess returned 
error exit status 5
  UpgradeStatus: No upgrade log present (probably fresh install)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1766391/+subscriptions

-- 
Mailing list: https://launchpad.net/~kernel-packages
Post to     : kernel-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~kernel-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to