Public bug reported:

I tried the first 3 methods in the following article to no avail:
https://itsfoss.com/dpkg-returned-an-error-code-1/


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)
ProcVersionSignature: Ubuntu 5.13.0-1021.24~20.04.1-azure 5.13.19
Uname: Linux 5.13.0-1021-azure x86_64
ApportVersion: 2.20.11-0ubuntu27.21
AptOrdering:
 grub-gfxpayload-lists:amd64: Remove
 grub-pc:amd64: Remove
 grub-efi-amd64:amd64: Install
 NULL: ConfigurePending
Architecture: amd64
CasperMD5CheckResult: skip
Date: Sun Apr 10 08:46:57 2022
DpkgTerminalLog:
 Preparing to unpack .../grub-efi-amd64_2.04-1ubuntu44.2_amd64.deb ...
 Unpacking grub-efi-amd64 (2.04-1ubuntu44.2) ...
 Setting up grub-efi-amd64 (2.04-1ubuntu44.2) ...
 dpkg: 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
RelatedPackageVersions:
 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)

** Affects: grub2-unsigned (Ubuntu)
     Importance: Undecided
         Status: New


** Tags: amd64 apport-package focal

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1968470

Title:
  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

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/grub2-unsigned/+bug/1968470/+subscriptions


-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to