[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
Sat Mar 25 17:03:14 UTC 2023


Hello Steve,
Hope you are doing well. Just wondering if you have any update.

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) 17:12, Pablo Villarreal (
pablooscarvillarreal at gmail.com) escribió:

> Thanks Steve.
>
> Sorry to bother you again. Just to avoid further issues, are you able to
> provide me the remove/install commands and packages (step by step) in order
> to avoid breaking something else?
>
> 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) 17:00, Steve Langasek (
> 2012196 at bugs.launchpad.net) escribió:
>
>> On Sun, Mar 19, 2023 at 07:35:57PM -0000, Pablo Villarreal wrote:
>> > 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?
>>
>> Install the Ubuntu grub packages (grub-common, grub2-common) instead of
>> the
>> Debian packages that you currently have installed.
>>
>> --
>> 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