[Bug 1766391] [NEW] package shim-signed (not installed) failed to install/upgrade: installed shim-signed package post-installation script subprocess returned error exit status 5

byroniac byroniac at outlook.com
Tue Apr 24 01:43:29 UTC 2018


Public bug reported:

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)

** Affects: shim-signed (Ubuntu)
     Importance: Undecided
         Status: New


** Tags: amd64 apport-package bionic

-- 
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/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 shim-signed package in Ubuntu:
  New

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/shim-signed/+bug/1766391/+subscriptions



More information about the foundations-bugs mailing list