[Bug 1766313] Re: (non-UEFI) package shim-signed 1.33.1+13-0ubuntu2 failed to install/upgrade: installed shim-signed package post-installation script subprocess returned error exit status 1

Steve Langasek 1766313 at bugs.launchpad.net
Wed Jul 21 00:12:35 UTC 2021


*** This bug is a duplicate of bug 1778831 ***
    https://bugs.launchpad.net/bugs/1778831

** This bug has been marked a duplicate of bug 1778831
   package shim-signed (not installed) failed to install/upgrade: installed shim-signed package post-installation script subprocess returned error exit status 1: cannot find EFI directory

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

Title:
  (non-UEFI) package shim-signed 1.33.1+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:
  Confirmed

Bug description:
  Trying to install speedtest-cli on Ubuntu 18.04.

  $ sudo apt install speedtest-cli
  [sudo] password r: 
  Reading package lists... Done
  Building dependency tree       
  Reading state information... Done
  The following NEW packages will be installed:
    speedtest-cli
  0 upgraded, 1 newly installed, 0 to remove and 417 not upgraded.
  2 not fully installed or removed.
  Need to get 22.8 kB of archives.
  After this operation, 100 kB of additional disk space will be used.
  Get:1 http://us.archive.ubuntu.com/ubuntu bionic/universe amd64 speedtest-cli all 2.0.0-1 [22.8 kB]
  Fetched 22.8 kB in 1s (22.0 kB/s)        
  Selecting previously unselected package speedtest-cli.
  (Reading database ... 284033 files and directories currently installed.)
  Preparing to unpack .../speedtest-cli_2.0.0-1_all.deb ...
  Unpacking speedtest-cli (2.0.0-1) ...
  Setting up shim-signed (1.33.1+13-0ubuntu2) ...
  Installing for x86_64-efi platform.
  grub-install: error: cannot find EFI directory.
  dpkg: error processing package shim-signed (--configure):
   installed shim-signed package post-installation script subprocess returned error exit status 1
  Setting up grub-efi-amd64-signed (1.93+2.02-2ubuntu8) ...
  grub-install: error: /usr/lib/grub/i386-pc/modinfo.sh doesn't exist. Please specify --target or --directory.
  dpkg: error processing package grub-efi-amd64-signed (--configure):
   installed grub-efi-amd64-signed package post-installation script subprocess returned error exit status 1
  Processing triggers for man-db (2.8.3-1) ...
  Setting up speedtest-cli (2.0.0-1) ...
  Errors were encountered while processing:
   shim-signed
   grub-efi-amd64-signed
  E: Sub-process /usr/bin/dpkg returned an error code (1)

  ProblemType: Package
  DistroRelease: Ubuntu 18.04
  Package: shim-signed 1.33.1+13-0ubuntu2
  ProcVersionSignature: Ubuntu 4.15.0-13.14-lowlatency 4.15.10
  Uname: Linux 4.15.0-13-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-0ubuntu4
  AptOrdering:
   speedtest-cli:amd64: Install
   NULL: ConfigurePending
  Architecture: amd64
  BootEFIContents:
   fw
   fwupx64.efi
  Date: Mon Apr 23 12:33:31 2018
  EFIBootMgr: Error: command ['efibootmgr', '-v'] failed with exit code 2: EFI variables are not supported on this system.
  EFITables: Apr 23 11:18:26 roger-desktop fwupd[4469]: disabling plugin because: failed to startup uefi: UEFI firmware updating not supported
  ErrorMessage: installed shim-signed package post-installation script subprocess returned error exit status 1
  Python3Details: /usr/bin/python3.6, Python 3.6.5, python3-minimal, 3.6.5-2
  PythonDetails: /usr/bin/python2.7, Python 2.7.14+, python-minimal, 2.7.14-4
  RelatedPackageVersions:
   dpkg 1.19.0.5ubuntu1
   apt  1.6~beta1
  SourcePackage: shim-signed
  Title: package shim-signed 1.33.1+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/1766313/+subscriptions




More information about the foundations-bugs mailing list