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

Steve Langasek 2081940 at bugs.launchpad.net
Wed Sep 25 23:46:35 UTC 2024


shim-signed Depends: grub2-common (>= 2.04-1ubuntu24). grub2-common in
jammy Depends: grub-common (= 2.06-2ubuntu7.2).  grub-common contains
/usr/lib/grub/grub-multi-install.

Please show the output of 'dpkg -l grub-common' on your system.

Your bug report also shows that this was originally an Ubuntu 22.04
(jammy) system and that this is what you are currently running.  Yet you
are installing shim-signed 1.51.3+15.7-0ubuntu1, which is a security
update that was published a year ago.  That's not a good sign regarding
the security of the system; but it also means there should not have been
any opportunity to /usr/lib/grub/grub-multi-install to have gone
temporarily missing as part of an upgrade.

** Changed in: shim-signed (Ubuntu)
       Status: New => Incomplete

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