package grub-efi-amd64 2.06-2ubuntu14.4 failed to install/upgrade: installed grub-efi-amd64 package post-installation script subprocess returned error exit status 127
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
grub2-unsigned (Ubuntu) |
Invalid
|
Undecided
|
Unassigned |
Bug Description
locus@locus-
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
0 upgraded, 0 newly installed, 0 to remove and 2 not upgraded.
3 not fully installed or removed.
After this operation, 0 B of additional disk space will be used.
Setting up linux-image-
Setting up grub-pc (2.06-2ubuntu7.2) ...
/usr/sbin/
dpkg: error processing package grub-pc (--configure):
installed grub-pc package post-installation script subprocess returned error exit status 127
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
Processing triggers for linux-image-
No apport report written because the error message indicates its a followup error from a previous failure.
update-initramfs: Generating /boot/initrd.
/etc/kernel/
run-parts: failed to exec /etc/kernel/
run-parts: /etc/kernel/
dpkg: error processing package linux-image-
installed linux-image-
Errors were encountered while processing:
grub-pc
grub-efi-
linux-
Error: Timeout was reached
E: Sub-process /usr/bin/dpkg returned an error code (1)
locus@locus-
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
The following packages were automatically installed and are no longer required:
amd64-microcode intel-microcode iucode-tool linux-headers-
thermald
Use 'sudo apt autoremove' to remove them.
The following packages will be REMOVED:
linux-
linux-
0 upgraded, 0 newly installed, 3 to remove and 2 not upgraded.
3 not fully installed or removed.
After this operation, 14,3 MB disk space will be freed.
Do you want to continue? [Y/n] y
(Reading database ... 200075 files and directories currently installed.)
Removing linux-generic-
Removing linux-image-
Removing linux-image-
I: /boot/vmlinuz is now a symlink to vmlinuz-
I: /boot/initrd.img is now a symlink to initrd.
/var/lib/
/etc/kernel/
update-initramfs: Deleting /boot/initrd.
/etc/kernel/
run-parts: failed to exec /etc/kernel/
run-parts: /etc/kernel/
dpkg: error processing package linux-image-
installed linux-image-
dpkg: too many errors, stopping
Errors were encountered while processing:
linux-
Processing was halted because there were too many errors.
Error: Timeout was reached
E: Sub-process /usr/bin/dpkg returned an error code (1)
locus@locus-
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
The following packages were automatically installed and are no longer required:
amd64-microcode intel-microcode iucode-tool linux-headers-
thermald
Use 'sudo apt autoremove' to remove them.
The following additional packages will be installed:
grub-efi-amd64
The following packages will be REMOVED:
grub-
The following NEW packages will be installed:
grub-efi-amd64
0 upgraded, 1 newly installed, 3 to remove and 2 not upgraded.
3 not fully installed or removed.
Need to get 47,1 kB of archives.
After this operation, 14,7 MB disk space will be freed.
Do you want to continue? [Y/n] y
Get:1 http://
Fetched 47,1 kB in 6s (8 025 B/s)
Preconfiguring packages ...
(Reading database ... 200065 files and directories currently installed.)
Removing grub-gfxpayload
dpkg: grub-pc: dependency problems, but removing anyway as you requested:
grub-efi-
Package grub-efi-amd64 is not installed.
Package grub-pc is to be removed.
Removing grub-pc (2.06-2ubuntu7.2) ...
Selecting previously unselected package grub-efi-amd64.
(Reading database ... 200043 files and directories currently installed.)
Preparing to unpack .../grub-
Unpacking grub-efi-amd64 (2.06-2ubuntu14.4) ...
(Reading database ... 200047 files and directories currently installed.)
Removing linux-image-
/etc/kernel/
update-initramfs: Deleting /boot/initrd.
/etc/kernel/
run-parts: failed to exec /etc/kernel/
run-parts: /etc/kernel/
dpkg: error processing package linux-image-
installed linux-image-
dpkg: too many errors, stopping
Errors were encountered while processing:
linux-
Processing was halted because there were too many errors.
Error: Timeout was reached
E: Sub-process /usr/bin/dpkg returned an error code (1)
locus@locus-
-rw-r--r-- 1 root root 0 jan 17 23:31 linux-image-
-rw-r--r-- 1 root root 248 nov 20 15:12 linux-image-
-rwxr-xr-x 1 root root 2174 nov 20 15:12 linux-image-
-rwxr-xr-x 1 root root 1418 nov 20 15:12 linux-image-
-rwxr-xr-x 1 root root 453 nov 20 15:12 linux-image-
-rwxr-xr-x 1 root root 321 nov 20 15:12 linux-image-
-rw-r--r-- 1 root root 39 nov 20 15:12 linux-image-
locus@locus-
locus@locus-
Hit:1 http://
Hit:2 http://
Hit:3 http://
Hit:4 http://
Hit:5 https:/
Error: Timeout was reached
Reading package lists... Done
locus@locus-
Hit:1 http://
Hit:2 http://
Hit:3 http://
Hit:4 https:/
Hit:5 http://
Error: Timeout was reached
Reading package lists... Done
locus@locus-
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
The following packages were automatically installed and are no longer required:
amd64-microcode intel-microcode iucode-tool linux-headers-
thermald
Use 'sudo apt autoremove' to remove them.
The following packages will be REMOVED:
grub-pc* linux-image-
0 upgraded, 0 newly installed, 2 to remove and 2 not upgraded.
3 not fully installed or removed.
After this operation, 14,3 MB disk space will be freed.
Do you want to continue? [Y/n] y
(Reading database ... 200047 files and directories currently installed.)
Removing linux-image-
dpkg: warning: ignoring request to remove grub-pc, only the config
files of which are on the system; use --purge to remove them too
Setting up grub-efi-amd64 (2.06-2ubuntu14.4) ...
/usr/sbin/
/usr/sbin/
/usr/sbin/
/usr/sbin/
/usr/sbin/
/usr/sbin/
Trying to migrate /boot/efi into esp config
Installing grub to /boot/efi.
/usr/sbin/
/usr/sbin/
/usr/sbin/
/usr/sbin/
dpkg: error processing package grub-efi-amd64 (--configure):
installed grub-efi-amd64 package post-installation script subprocess returned error exit status 127
dpkg: dependency problems prevent configuration of grub-efi-
grub-efi-
Package grub-efi-amd64 is not configured yet.
Package grub-pc is not installed.
dpkg: error processing package grub-efi-
dependency problems - leaving unconfigured
Processing triggers for man-db (2.10.2-1) ...
No apport report written because the error message indicates its a followup error from a previous failure.
grub-efi-amd64
grub-efi-
Error: Timeout was reached
W: Can not find PkgVer for 'grub-pc'
E: Sub-process /usr/bin/dpkg returned an error code (1)
locus@locus-
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
The following packages were automatically installed and are no longer required:
amd64-microcode intel-microcode iucode-tool linux-headers-
linux-
linux-
Use 'sudo apt autoremove' to remove them.
The following additional packages will be installed:
grub-
The following packages will be REMOVED:
grub-efi-amd64*
The following NEW packages will be installed:
grub-
0 upgraded, 2 newly installed, 1 to remove and 2 not upgraded.
2 not fully installed or removed.
Need to get 3 658 B/135 kB of archives.
After this operation, 431 kB of additional disk space will be used.
Do you want to continue? [Y/n] y
Get:1 http://
Fetched 3 658 B in 4s (822 B/s)
Preconfiguring packages ...
Selecting previously unselected package grub-gfxpayload
(Reading database ... 200047 files and directories currently installed.)
Preparing to unpack .../grub-
Unpacking grub-gfxpayload
dpkg: grub-efi-amd64: dependency problems, but removing anyway as you requested:
grub-efi-
Package grub-efi-amd64 is to be removed.
Package grub-pc is not installed.
(Reading database ... 200058 files and directories currently installed.)
Removing grub-efi-amd64 (2.06-2ubuntu14.4) ...
(Reading database ... 200054 files and directories currently installed.)
Preparing to unpack .../grub-
Unpacking grub-pc (2.06-2ubuntu7.2) ...
Setting up grub-gfxpayload
Setting up grub-pc (2.06-2ubuntu7.2) ...
/usr/sbin/
dpkg: error processing package grub-pc (--configure):
installed grub-pc package post-installation script subprocess returned error exit status 127
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
No apport report written because the error message indicates its a followup error from a previous failure.
dpkg: dependency problems prevent processing triggers for shim-signed:
shim-signed depends on grub-efi-
Package grub-efi-
Package grub-efi-
dpkg: error processing package shim-signed (--configure):
dependency problems - leaving triggers unprocessed
Errors were encountered while processing:
grub-pc
grub-efi-
shim-signed
Error: Timeout was reached
E: Sub-process /usr/bin/dpkg returned an error code (1)
ProblemType: Package
DistroRelease: Ubuntu 22.04
Package: grub-efi-amd64 2.06-2ubuntu14.4
ProcVersionSign
Uname: Linux 5.19.0-32-generic x86_64
ApportVersion: 2.20.11-0ubuntu82.5
AptOrdering:
linux-
grub-pc:amd64: Purge
NULL: ConfigurePending
NULL: PurgePending
NULL: ConfigurePending
Architecture: amd64
CasperMD5CheckR
Date: Wed Jan 17 23:36:23 2024
ErrorMessage: installed grub-efi-amd64 package post-installation script subprocess returned error exit status 127
Python3Details: /usr/bin/
PythonDetails: N/A
RebootRequiredPkgs: Error: path contained symlinks.
RelatedPackageV
dpkg 1.21.1ubuntu2.2
apt 2.4.11
SourcePackage: grub2-unsigned
Title: package grub-efi-amd64 2.06-2ubuntu14.4 failed to install/upgrade: installed grub-efi-amd64 package post-installation script subprocess returned error exit status 127
UpgradeStatus: No upgrade log present (probably fresh install)
locus@locus- bloom:~ $ sudo dpkg --configure -a update- grub: line 1: type.: command not found amd64-signed: amd64-signed depends on grub-efi-amd64 | grub-pc; however:
Setting up grub-pc (2.06-2ubuntu7.2) ...
/usr/sbin/
dpkg: error processing package grub-pc (--configure):
installed grub-pc package post-installation script subprocess returned error exit status 127
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- amd64-signed (--configure): amd64-signed (>= 1.187.2~) | grub-efi- arm64-signed (>= 1.187.2~); however: amd64-signed is not configured yet. arm64-signed is not installed.
dependency problems - leaving unconfigured
dpkg: dependency problems prevent processing triggers for shim-signed:
shim-signed depends on grub-efi-
Package grub-efi-
Package grub-efi-
dpkg: error processing package shim-signed (--configure): amd64-signed
dependency problems - leaving triggers unprocessed
Errors were encountered while processing:
grub-pc
grub-efi-
shim-signed