[Bug 2081940] Re: package shim-signed 1.51.3+15.7-0ubuntu1 failed to install/upgrade: 已安装 shim-signed 软件包 post-installation 脚本 子进程返回错误状态 127

Hongbo Li 2081940 at bugs.launchpad.net
Sat Oct 5 17:51:44 UTC 2024


Hey James,

I also encountered this problem days before. And I find the answer in
this link quite helpful. Maybe you could have a try.

https://askubuntu.com/questions/1481336/var-lib-dpkg-info-shim-signed-
postinst-165-usr-lib-grub-grub-multi-install

Best

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

Title:
  package shim-signed 1.51.3+15.7-0ubuntu1 failed to install/upgrade:
  已安装 shim-signed 软件包 post-installation 脚本 子进程返回错误状态 127

Status in shim-signed package in Ubuntu:
  Incomplete

Bug description:
  /var/lib/dpkg/info/shim-signed.postinst: 165: /usr/lib/grub/grub-multi-install: not found
  dpkg: 处理软件包 shim-signed (--configure)时出错:
   已安装 shim-signed 软件包 post-installation 脚本 子进程返回错误状态 127
  正在处理用于 libc-bin (2.35-0ubuntu3.8) 的触发器 ...
  在处理时有错误发生:
   shim-signed
  E: Sub-process /usr/bin/dpkg returned an error code (1)

  ProblemType: Package
  DistroRelease: Ubuntu 22.04
  Package: shim-signed 1.51.3+15.7-0ubuntu1
  ProcVersionSignature: Ubuntu 6.8.0-40.40~22.04.3-generic 6.8.12
  Uname: Linux 6.8.0-40-generic x86_64
  .proc.sys.kernel.moksbstate_disabled: Error: [Errno 2] 没有那个文件或目录: '/proc/sys/kernel/moksbstate_disabled'
  ApportVersion: 2.20.11-0ubuntu82.6
  AptOrdering:
   gstreamer1.0-vaapi:amd64: Remove
   NULL: ConfigurePending
  Architecture: amd64
  BootEFIContents:
   BOOTX64.CSV
   grub.cfg
   grubx64.efi
   mmx64.efi
   shimx64.efi
  CasperMD5CheckResult: pass
  Date: Wed Sep 25 13:33:20 2024
  EFIBootMgr:
   Timeout: 2 seconds
   No BootOrder is set; firmware will attempt recovery
  ErrorMessage: 已安装 shim-signed 软件包 post-installation 脚本 子进程返回错误状态 127
  InstallationDate: Installed on 2022-04-26 (882 days ago)
  InstallationMedia: Ubuntu 22.04 LTS "Jammy Jellyfish" - Release amd64 (20220419)
  Python3Details: /usr/bin/python3.10, Python 3.10.12, python3-minimal, 3.10.6-1~22.04
  PythonDetails: N/A
  RelatedPackageVersions:
   dpkg 1.21.1ubuntu2.3
   apt  2.4.12
  SecureBoot: 6   0   0   0   0
  ShimDiff: 二进制文件 /boot/efi/EFI/ubuntu/shimx64.efi 和 /usr/lib/shim/shimx64.efi.signed 不同
  SourcePackage: shim-signed
  Title: package shim-signed 1.51.3+15.7-0ubuntu1 failed to install/upgrade: 已安装 shim-signed 软件包 post-installation 脚本 子进程返回错误状态 127
  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/2081940/+subscriptions




More information about the foundations-bugs mailing list