[Bug 2080571] Re: package shim-signed 1.40.10+15.8-0ubuntu1 failed to install/upgrade: installed shim-signed package post-installation script subprocess returned error exit status 32

Benjamin Drung 2080571 at bugs.launchpad.net
Thu Sep 12 20:04:44 UTC 2024


Modified /var/lib/dpkg/info/shim-signed.postinst to run with "set -x"

$ sudo apt install -f
shim-signed (1.40.10+15.8-0ubuntu1) wird eingerichtet ...
+ . /usr/share/debconf/confmodule
+ [ !  ]
+ PERL_DL_NONLAZY=1
+ export PERL_DL_NONLAZY
+ [  ]
+ exec /usr/share/debconf/frontend /var/lib/dpkg/info/shim-signed.postinst configure 1.40.9+15.7-0ubuntu1
+ . /usr/share/debconf/confmodule
+ [ ! 1 ]
+ [ -z  ]
+ exec
+ [  ]
+ exec
+ DEBCONF_REDIR=1
+ export DEBCONF_REDIR
+ efivars=/sys/firmware/efi/efivars
+ secureboot_var=SecureBoot-8be4df61-93ca-11d2-aa0d-00e098032b8c
+ moksbstatert_var=MokSBStateRT-605dab50-e046-4300-abb6-3dd810dd8b23
+ efi_archs=x64 aa64
+ dpkg --print-architecture
+ grubarch=x86_64-efi
+ setup_alternatives
+ test -e /usr/lib/shim/shimx64.efi.signed.latest
+ on_secure_boot
+ local moksbstatert=0
+ [ -d /sys/firmware/efi/efivars ]
+ return 1
+ update-alternatives --install /usr/lib/shim/shimx64.efi.signed shimx64.efi.signed /usr/lib/shim/shimx64.efi.signed.latest 100
+ update-alternatives --install /usr/lib/shim/shimx64.efi.signed shimx64.efi.signed /usr/lib/shim/shimx64.efi.signed.previous 50
+ test -e /usr/lib/shim/shimaa64.efi.signed.latest
+ continue
+ config_item GRUB_DISTRIBUTOR
+ [ -f /etc/default/grub ]
+ . /etc/default/grub
+ GRUB_DEFAULT=0
+ GRUB_TIMEOUT_STYLE=menu
+ GRUB_TIMEOUT=3
+ cut -d  -f1
+ tr A-Z a-z
+ lsb_release -i -s
+ GRUB_DISTRIBUTOR=Ubuntu
+ GRUB_CMDLINE_LINUX_DEFAULT=quiet splash
+ GRUB_CMDLINE_LINUX=
+ [ -e /etc/default/grub.d/init-select.cfg ]
+ . /etc/default/grub.d/init-select.cfg
+ eval echo $GRUB_DISTRIBUTOR
+ echo Ubuntu
+ bootloader_id=ubuntu
+ [ -e /boot/grub/x86_64-efi/core.efi ]
+ /usr/lib/grub/grub-multi-install --target=x86_64-efi --auto-nvram
mount: /var/lib/grub/esp: Spezialgerät /dev/disk/by-id/ata-Samsung_SSD_850_EVO_500GB_S3R3NF0JB21487T-part2 ist nicht vorhanden.
dpkg: Fehler beim Bearbeiten des Paketes shim-signed (--configure):

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

Title:
  package shim-signed 1.40.10+15.8-0ubuntu1 failed to install/upgrade:
  installed shim-signed package post-installation script subprocess
  returned error exit status 32

Status in shim-signed package in Ubuntu:
  New

Bug description:
  Upgrading shim-signed from 1.40.9+15.7-0ubuntu1 to
  1.40.10+15.8-0ubuntu1 failed:

   package:shim-signed:1.40.10+15.8-0ubuntu1
   Setting up shim-signed (1.40.10+15.8-0ubuntu1) ...
   mount: /var/lib/grub/esp: Spezialgerät /dev/disk/by-id/ata-Samsung_SSD_850_EVO_500GB_S3R3NF0JB21487T-part2 ist nicht vorhanden.
   dpkg: error processing package shim-signed (--configure):
    installed shim-signed package post-installation script subprocess returned error exit status 32

  This system a decade old (but still running strong) and does not support EFI.
  --- 
  ProblemType: Bug
  ApportVersion: 2.20.11-0ubuntu27.27
  Architecture: amd64
  CasperMD5CheckResult: skip
  CurrentDesktop: X-Cinnamon
  DistroRelease: Ubuntu 20.04
  EFIBootMgr: Error: command ['efibootmgr', '-v'] failed with exit code 2: EFI variables are not supported on this system.
  InstallationDate: Installed on 2020-08-08 (1496 days ago)
  InstallationMedia: Ubuntu 20.04.1 LTS "Focal Fossa" - Release amd64 (20200731)
  Missing: /boot/efi/EFI/ubuntu directory is missing
  Package: shim-signed 1.40.10+15.8-0ubuntu1
  PackageArchitecture: amd64
  ProcEnviron:
   TERM=xterm-256color
   PATH=(custom, no user)
   XDG_RUNTIME_DIR=<set>
   LANG=de_DE.UTF-8
   SHELL=/bin/bash
  ProcVersionSignature: Ubuntu 5.4.0-195.215-generic 5.4.280
  Tags: focal third-party-packages
  Uname: Linux 5.4.0-195-generic x86_64
  UpgradeStatus: No upgrade log present (probably fresh install)
  UserGroups: adm cdrom dip lpadmin lxd plugdev sambashare sudo
  _MarkForUpload: True

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




More information about the foundations-bugs mailing list