[Bug 1814187] Re: package grub-efi-amd64 2.02-2ubuntu8.10 failed to install/upgrade: installed grub-efi-amd64 package post-installation script subprocess returned error exit status 127
Benjamin Drung
1814187 at bugs.launchpad.net
Mon Sep 26 09:47:37 UTC 2022
/usr/share/grub/grub-check-signatures is shipped by grub-common and the
code is called when on_secure_boot is true. So grub-common should depend
on mokutil.
** Description changed:
I used sudo apt update and sudo apt upgrade. 45 packages updated, 7 new
installed (kernel). All kernels installed are from Ubuntu repositories,
the system was upgraded a few times already. The kernels the system
have:
4.15.0-45-generic
4.15.0-44-generic
4.15.0-43-generic
4.15.0-22-generic
4.10.0-26-generic
4.4.0-83-generic
+
+ Error message:
+
+ Configuring grub-efi-amd64 (2.02-2ubuntu8.10) ...
+ /usr/share/grub/grub-check-signatures: 50: /usr/share/grub/grub-check-signatures: mokutil: not found
+
+ [Workaround]
+
+ Install mokutil: sudo apt install mokutil
ProblemType: Package
DistroRelease: Ubuntu 18.04
Package: grub-efi-amd64 2.02-2ubuntu8.10
ProcVersionSignature: Ubuntu 4.18.0-14.15~18.04.1-generic 4.18.20
Uname: Linux 4.18.0-14-generic x86_64
ApportVersion: 2.20.9-0ubuntu7.5
Architecture: amd64
Date: Thu Jan 31 21:53:58 2019
ErrorMessage: installed grub-efi-amd64 package post-installation script subprocess returned error exit status 127
InstallationDate: Installed on 2017-07-24 (556 days ago)
InstallationMedia: Xubuntu 17.04 "Zesty Zapus" - Release amd64 (20170412)
ProcCmdLine: BOOT_IMAGE=/boot/vmlinuz-4.18.0-14-generic root=UUID=984701f6-117a-4fb5-ba8e-761744701fff ro quiet
Python3Details: /usr/bin/python3.6, Python 3.6.7, python3-minimal, 3.6.7-1~18.04
PythonDetails: /usr/bin/python2.7, Python 2.7.15rc1, python-minimal, 2.7.15~rc1-1
RelatedPackageVersions:
- dpkg 1.19.0.5ubuntu2.1
- apt 1.6.8
+ dpkg 1.19.0.5ubuntu2.1
+ apt 1.6.8
SourcePackage: grub2
Title: package grub-efi-amd64 2.02-2ubuntu8.10 failed to install/upgrade: installed grub-efi-amd64 package post-installation script subprocess returned error exit status 127
UpgradeStatus: Upgraded to bionic on 2018-04-27 (279 days ago)
** Summary changed:
- package grub-efi-amd64 2.02-2ubuntu8.10 failed to install/upgrade: installed grub-efi-amd64 package post-installation script subprocess returned error exit status 127
+ grub-efi-amd64 2.02-2ubuntu8.10 failed to install/upgrade: grub-check-signatures: 50: /usr/share/grub/grub-check-signatures: mokutil: not found
** Changed in: grub2 (Ubuntu)
Status: Confirmed => Triaged
** Changed in: grub2 (Ubuntu)
Importance: Undecided => Medium
** Also affects: grub2 (Ubuntu Jammy)
Importance: Undecided
Status: New
** Also affects: grub2 (Ubuntu Focal)
Importance: Undecided
Status: New
** Also affects: grub2 (Ubuntu Bionic)
Importance: Undecided
Status: New
** Tags added: foundations-triage-discuss
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to grub2 in Ubuntu.
https://bugs.launchpad.net/bugs/1814187
Title:
grub-efi-amd64 2.02-2ubuntu8.10 failed to install/upgrade: grub-check-
signatures: 50: /usr/share/grub/grub-check-signatures: mokutil: not
found
Status in grub2 package in Ubuntu:
Triaged
Status in grub2 source package in Bionic:
New
Status in grub2 source package in Focal:
New
Status in grub2 source package in Jammy:
New
Bug description:
I used sudo apt update and sudo apt upgrade. 45 packages updated, 7
new installed (kernel). All kernels installed are from Ubuntu
repositories, the system was upgraded a few times already. The kernels
the system have:
4.15.0-45-generic
4.15.0-44-generic
4.15.0-43-generic
4.15.0-22-generic
4.10.0-26-generic
4.4.0-83-generic
Error message:
Configuring grub-efi-amd64 (2.02-2ubuntu8.10) ...
/usr/share/grub/grub-check-signatures: 50: /usr/share/grub/grub-check-signatures: mokutil: not found
[Workaround]
Install mokutil: sudo apt install mokutil
ProblemType: Package
DistroRelease: Ubuntu 18.04
Package: grub-efi-amd64 2.02-2ubuntu8.10
ProcVersionSignature: Ubuntu 4.18.0-14.15~18.04.1-generic 4.18.20
Uname: Linux 4.18.0-14-generic x86_64
ApportVersion: 2.20.9-0ubuntu7.5
Architecture: amd64
Date: Thu Jan 31 21:53:58 2019
ErrorMessage: installed grub-efi-amd64 package post-installation script subprocess returned error exit status 127
InstallationDate: Installed on 2017-07-24 (556 days ago)
InstallationMedia: Xubuntu 17.04 "Zesty Zapus" - Release amd64 (20170412)
ProcCmdLine: BOOT_IMAGE=/boot/vmlinuz-4.18.0-14-generic root=UUID=984701f6-117a-4fb5-ba8e-761744701fff ro quiet
Python3Details: /usr/bin/python3.6, Python 3.6.7, python3-minimal, 3.6.7-1~18.04
PythonDetails: /usr/bin/python2.7, Python 2.7.15rc1, python-minimal, 2.7.15~rc1-1
RelatedPackageVersions:
dpkg 1.19.0.5ubuntu2.1
apt 1.6.8
SourcePackage: grub2
Title: package grub-efi-amd64 2.02-2ubuntu8.10 failed to install/upgrade: installed grub-efi-amd64 package post-installation script subprocess returned error exit status 127
UpgradeStatus: Upgraded to bionic on 2018-04-27 (279 days ago)
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/grub2/+bug/1814187/+subscriptions
More information about the foundations-bugs
mailing list