[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
Arnd Behring
1814187 at bugs.launchpad.net
Sun Feb 10 13:01:24 UTC 2019
I've also encountered this problem while installing updates on Ubuntu
18.04.2.
Digging a bit into into the postinst script I've discovered that the
failure for me came from the script /usr/share/grub/grub-check-
signatures (from the grub-common package). There, mokutil is called
which fails for me since the mokutil package isn't installed. I think
this is a missing dependency of the grub-common package. After
installing mokutil, the errors about dpkg --configure configure failing
vanished and for me the packages grub-efi-amd64, grub-efi-amd64-signed
and grub-efi packages were successfully configured.
--
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:
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
Status in grub2 package in Ubuntu:
Confirmed
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
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