[Bug 2012196] Re: package shim-signed 1.51.3+15.7-0ubuntu1 failed to install/upgrade: installed shim-signed package post-installation script subprocess returned error exit status 127

Pablo Villarreal 2012196 at bugs.launchpad.net
Sun Mar 19 19:35:57 UTC 2023


Good afternoon Steve,
Thanks for the feedback. I believe I forced the upgrade/installation for
the packages under packages list which were kept back, so I just learned
that I need to ignore them instead.

Do you know if there is any way to fix this output/issue?




*Setting up shim-signed (1.51.3+15.7-0ubuntu1)
.../var/lib/dpkg/info/shim-signed.postinst: 165:
/usr/lib/grub/grub-multi-install: not founddpkg: error processing package
shim-signed (--configure): installed shim-signed package post-installation
script subprocess returned error exit status 127Errors were encountered
while processing: shim-signed*

Thanks in advance,
--
*Pablo Villarreal | Analista de Sistemas | **Ce. **+54 9 351 2024505
<%2B54%209%20351%202024505> | LinkedIn: *
*linkedin.com/in/pablooscarvillarreal
<https://www.linkedin.com/in/pablooscarvillarreal>*

El dom, 19 mar 2023 a la(s) 15:10, Steve Langasek (
2012196 at bugs.launchpad.net) escribió:

> grub-common 2.06-3~deb10u1 [origin: unknown]
> grub-efi-amd64-bin 2.06-2ubuntu14.1
> grub-efi-amd64-signed 1.187.3~22.04.1+2.06-2ubuntu14.1
> grub2-common 2.06-3~deb10u1 [origin: unknown]
>
> You have replaced the official Ubuntu grub packages with incompatible
> builds that do not provide the functionality that shim depends on.  This
> is not a bug in Ubuntu.
>
> ** Changed in: shim-signed (Ubuntu)
>        Status: New => Invalid
>
> --
> You received this bug notification because you are subscribed to the bug
> report.
> https://bugs.launchpad.net/bugs/2012196
>
> Title:
>   package shim-signed 1.51.3+15.7-0ubuntu1 failed to install/upgrade:
>   installed shim-signed package post-installation script subprocess
>   returned error exit status 127
>
> Status in shim-signed package in Ubuntu:
>   Invalid
>
> Bug description:
>   1 not fully installed or removed.
>   After this operation, 0 B of additional disk space will be used.
>   Do you want to continue? [Y/n] y
>   Setting up shim-signed (1.51.3+15.7-0ubuntu1) ...
>   /var/lib/dpkg/info/shim-signed.postinst: 165:
> /usr/lib/grub/grub-multi-install: not found
>   dpkg: error processing package shim-signed (--configure):
>    installed shim-signed package post-installation script subprocess
> returned error exit status 127
>   Errors were encountered while processing:
>    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 5.19.0-35.36~22.04.1-generic 5.19.17
>   Uname: Linux 5.19.0-35-generic x86_64
>   .proc.sys.kernel.moksbstate_disabled: Error: [Errno 2] No such file or
> directory: '/proc/sys/kernel/moksbstate_disabled'
>   ApportVersion: 2.20.11-0ubuntu82.3
>   AptOrdering:
>    netplan.io:amd64: Install
>    libnetplan0:amd64: Install
>    libldap-2.5-0:amd64: Install
>    libldap-common:amd64: Install
>    NULL: ConfigurePending
>   Architecture: amd64
>   CasperMD5CheckResult: pass
>   Date: Sun Mar 19 12:49:22 2023
>   DuplicateSignature:
>    package:shim-signed:1.51.3+15.7-0ubuntu1
>    Setting up shim-signed (1.51.3+15.7-0ubuntu1) ...
>    /var/lib/dpkg/info/shim-signed.postinst: 165:
> /usr/lib/grub/grub-multi-install: not found
>    dpkg: error processing package shim-signed (--configure):
>     installed shim-signed package post-installation script subprocess
> returned error exit status 127
>   ErrorMessage: installed shim-signed package post-installation script
> subprocess returned error exit status 127
>   InstallationDate: Installed on 2022-05-13 (309 days ago)
>   InstallationMedia: Ubuntu 22.04 LTS "Jammy Jellyfish" - Release amd64
> (20220419)
>   Python3Details: /usr/bin/python3.10, Python 3.10.6, python3-minimal,
> 3.10.6-1~22.04
>   PythonDetails: N/A
>   RelatedPackageVersions:
>    dpkg 1.21.1ubuntu2.1
>    apt  2.4.8
>   SecureBoot: 6   0   0   0   0
>   ShimDiff: Binary files /boot/efi/EFI/ubuntu/shimx64.efi and
> /usr/lib/shim/shimx64.efi.signed differ
>   SourcePackage: shim-signed
>   Title: package shim-signed 1.51.3+15.7-0ubuntu1 failed to
> install/upgrade: installed shim-signed package post-installation script
> subprocess returned error exit status 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/2012196/+subscriptions
>
>

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

Title:
  package shim-signed 1.51.3+15.7-0ubuntu1 failed to install/upgrade:
  installed shim-signed package post-installation script subprocess
  returned error exit status 127

Status in shim-signed package in Ubuntu:
  Invalid

Bug description:
  1 not fully installed or removed.
  After this operation, 0 B of additional disk space will be used.
  Do you want to continue? [Y/n] y
  Setting up shim-signed (1.51.3+15.7-0ubuntu1) ...
  /var/lib/dpkg/info/shim-signed.postinst: 165: /usr/lib/grub/grub-multi-install: not found
  dpkg: error processing package shim-signed (--configure):
   installed shim-signed package post-installation script subprocess returned error exit status 127
  Errors were encountered while processing:
   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 5.19.0-35.36~22.04.1-generic 5.19.17
  Uname: Linux 5.19.0-35-generic x86_64
  .proc.sys.kernel.moksbstate_disabled: Error: [Errno 2] No such file or directory: '/proc/sys/kernel/moksbstate_disabled'
  ApportVersion: 2.20.11-0ubuntu82.3
  AptOrdering:
   netplan.io:amd64: Install
   libnetplan0:amd64: Install
   libldap-2.5-0:amd64: Install
   libldap-common:amd64: Install
   NULL: ConfigurePending
  Architecture: amd64
  CasperMD5CheckResult: pass
  Date: Sun Mar 19 12:49:22 2023
  DuplicateSignature:
   package:shim-signed:1.51.3+15.7-0ubuntu1
   Setting up shim-signed (1.51.3+15.7-0ubuntu1) ...
   /var/lib/dpkg/info/shim-signed.postinst: 165: /usr/lib/grub/grub-multi-install: not found
   dpkg: error processing package shim-signed (--configure):
    installed shim-signed package post-installation script subprocess returned error exit status 127
  ErrorMessage: installed shim-signed package post-installation script subprocess returned error exit status 127
  InstallationDate: Installed on 2022-05-13 (309 days ago)
  InstallationMedia: Ubuntu 22.04 LTS "Jammy Jellyfish" - Release amd64 (20220419)
  Python3Details: /usr/bin/python3.10, Python 3.10.6, python3-minimal, 3.10.6-1~22.04
  PythonDetails: N/A
  RelatedPackageVersions:
   dpkg 1.21.1ubuntu2.1
   apt  2.4.8
  SecureBoot: 6   0   0   0   0
  ShimDiff: Binary files /boot/efi/EFI/ubuntu/shimx64.efi and /usr/lib/shim/shimx64.efi.signed differ
  SourcePackage: shim-signed
  Title: package shim-signed 1.51.3+15.7-0ubuntu1 failed to install/upgrade: installed shim-signed package post-installation script subprocess returned error exit status 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/2012196/+subscriptions




More information about the foundations-bugs mailing list