Apt update fails on package grub-pc. package grub-efi-amd64 (not installed) failed to install/upgrade: installed grub-efi-amd64 package post-installation script subprocess returned error exit status 128
I tried the first 3 methods in the following article to no avail:
https:/
dpkg: error processing package grub-pc (--configure):
installed grub-pc package post-installation script subprocess returned error exit status 20
Errors were encountered while processing:
grub-pc
E: Sub-process /usr/bin/dpkg returned an error code (1)
ProblemType: Package
DistroRelease: Ubuntu 20.04
Package: grub-efi-amd64 (not installed)
ProcVersionSign
Uname: Linux 5.13.0-1021-azure x86_64
ApportVersion: 2.20.11-
AptOrdering:
grub-gfxpayloa
grub-pc:amd64: Remove
grub-efi-
NULL: ConfigurePending
Architecture: amd64
CasperMD5CheckR
Date: Sun Apr 10 08:46:57 2022
DpkgTerminalLog:
Preparing to unpack .../grub-
Unpacking grub-efi-amd64 (2.04-1ubuntu44.2) ...
Setting up grub-efi-amd64 (2.04-1ubuntu44.2) ...
[1mdpkg:[0m error processing package grub-efi-amd64 (--configure):
installed grub-efi-amd64 package post-installation script subprocess returned error exit status 128
ErrorMessage: installed grub-efi-amd64 package post-installation script subprocess returned error exit status 128
InstallationDate: Installed on 2022-01-29 (70 days ago)
InstallationMedia: Ubuntu 20.04.2.0 LTS "Focal Fossa" - Release amd64 (20210209.1)
Python3Details: /usr/bin/python3.8, Python 3.8.10, python3-minimal, 3.8.2-0ubuntu2
PythonDetails: N/A
RelatedPackageV
dpkg 1.19.7ubuntu3
apt 2.0.6
SourcePackage: grub2-unsigned
Title: package grub-efi-amd64 (not installed) failed to install/upgrade: installed grub-efi-amd64 package post-installation script subprocess returned error exit status 128
UpgradeStatus: No upgrade log present (probably fresh install)
Question information
- Language:
- English Edit question
- Status:
- Solved
- Assignee:
- No assignee Edit question
- Solved by:
- Jarrod
- Solved:
- Last query:
- Last reply:
This question was originally filed as bug #1968470.