package grub-pc 2.06-2ubuntu7.2 failed to install/upgrade: installed grub-pc package post-installation script subprocess returned error exit status 10
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
grub2 (Ubuntu) |
New
|
Undecided
|
Unassigned |
Bug Description
sudo apt install -f
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
The following packages were automatically installed and are no longer required:
gnome-
libe-book-0.1-1 libeot0 libepubgen-0.1-1 libetonyek-0.1-1 libexttextcat-2.0-0 libexttextcat-data libfreehand-0.1-1 libgpgmepp6
liblangtag-common liblangtag1 libmhash2 libmspub-0.1-1 libmwaw-0.3-3 libmythes-1.2-0 libodfgen-0.1-1 liborcus-0.17-0
liborcus-
librevenge-0.0-0 libsuitesparsec
libvisio-0.1-1 libwpd-0.10-10 libwpg-0.3-3 libwps-0.4-4 libxmlsec1 libxmlsec1-nss libyajl2 lp-solve php-common uno-libs-private ure
Use 'sudo apt autoremove' to remove them.
0 upgraded, 0 newly installed, 0 to remove and 57 not upgraded.
6 not fully installed or removed.
After this operation, 0 B of additional disk space will be used.
Setting up grub-pc (2.06-2ubuntu7.2) ...
dpkg: error processing package grub-pc (--configure):
installed grub-pc package post-installation script subprocess returned error exit status 10
Setting up postgresql-common (238) ...
dpkg: error processing package postgresql-common (--configure):
installed postgresql-common package post-installation script subprocess returned error exit status 10
dpkg: dependency problems prevent configuration of postgresql-14:
postgresql-14 depends on postgresql-common (>= 229~); however:
Package postgresql-common is not configured yet.
dpkg: error processing package postgresql-14 (--configure):
dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of grub-efi-
grub-efi-
Package grub-efi-amd64 is not installed.
Package grub-pc is not configured yet.
dpkg: error processing package grub-efi-
dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of shim-signed:
shim-signed depends on grub-efi-
Package grub-efi-
Package grub-efi-
dpkg: error processing package shim-signed (--configurNo apport report written because the error message indicates its a followup error from a
previous failure.
o apport report written because MaxReports is reached already
dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of postgresql:
postgresql depends on postgresql-14; however:
Package postgresql-14 is not configured yet.
dpkg: error processing package postgresql (--configure):
dependency problems - leaving unconfigured
Errors were encountered while processing:
grub-pc
postgresql-common
postgresql-14
grub-efi-
shim-signed
postgresql
ProblemType: Package
DistroRelease: Ubuntu 22.04
Package: grub-pc 2.06-2ubuntu7.2
ProcVersionSign
Uname: Linux 6.5.0-28-generic x86_64
ApportVersion: 2.20.11-0ubuntu82.5
AptOrdering: NULL: ConfigurePending
Architecture: amd64
CasperMD5CheckR
Date: Mon May 13 13:00:06 2024
ErrorMessage: installed grub-pc package post-installation script subprocess returned error exit status 10
InstallationDate: Installed on 2022-12-19 (510 days ago)
InstallationMedia: Ubuntu 22.04.1 LTS "Jammy Jellyfish" - Release amd64 (20220809.1)
InvalidGrubScript: /etc/default/grub
ProcCmdLine: BOOT_IMAGE=
Python3Details: /usr/bin/
PythonDetails: N/A
RelatedPackageV
dpkg 1.21.1ubuntu2.2
apt 2.4.11
SourcePackage: grub2
Title: package grub-pc 2.06-2ubuntu7.2 failed to install/upgrade: installed grub-pc package post-installation script subprocess returned error exit status 10
UpgradeStatus: No upgrade log present (probably fresh install)
Thank you for taking the time to report this bug and helping to make Ubuntu better.
Bug reporting is about finding & fixing problems thus preventing future users from hitting the same bug.
I suspect a Support site would be more appropriate, eg. https:/ /answers. launchpad. net/ubuntu. You can also find help with your problem in the support forum of your local Ubuntu community http:// loco.ubuntu. com/ or asking at https:/ /askubuntu. com or https:/ /ubuntuforums. org, or for more support options please look at https:/ /discourse. ubuntu. com/t/community -support/ 709