installed linux-image-6.5.0-15-generic package post-installation script subprocess returned error exit status 1
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
linux-meta-hwe-6.5 (Ubuntu) |
Confirmed
|
Undecided
|
Unassigned |
Bug Description
Here is the error when trying to upgrade Ubuntu:
$ sudo apt-get autoremove
[sudo] password for XXX:
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
The following packages will be REMOVED:
linux-
0 upgraded, 0 newly installed, 1 to remove and 0 not upgraded.
2 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 ... 248924 files and directories currently installed.)
Removing linux-image-
/etc/kernel/
update-initramfs: Deleting /boot/initrd.
/etc/kernel/
Sourcing file `/etc/default/grub'
/usr/sbin/
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.
E: Sub-process /usr/bin/dpkg returned an error code (1)
ProblemType: Bug
DistroRelease: Ubuntu 23.10
Package: subiquity (unknown)
ProcVersionSign
Uname: Linux 6.5.0-10-generic x86_64
ApportVersion: 2.27.0-0ubuntu5
Architecture: amd64
CasperMD5CheckM
CasperMD5CheckR
CurrentDesktop: ubuntu:GNOME
Date: Sat Jan 27 10:39:26 2024
InstallationDate: Installed on 2023-10-29 (90 days ago)
InstallationMedia: Ubuntu 23.10.1 "Mantic Minotaur" - Release amd64 (20231016.1)
SourcePackage: subiquity
Symptom: installer
UpgradeStatus: No upgrade log present (probably fresh install)
affects: | subiquity → ubuntu |
affects: | ubuntu → linux-meta-hwe-6.5 (Ubuntu) |
summary: |
- Error in removing linux-image-6.5.0-14-generic + installed linux-image-6.5.0-15-generic package post-installation script + subprocess returned error exit status 1 |
Here is the list of installed images:
$ dpkg --list | grep linux-image 6.5.0-10- generic 6.5.0-10.10 amd64 Signed kernel image generic 6.5.0-14- generic 6.5.0-14.14 amd64 Signed kernel image generic 6.5.0-15- generic 6.5.0-15.15 amd64 Signed kernel image generic generic- hwe-22. 04 6.5.0.15.17 amd64 Generic Linux kernel image
ii linux-image-
rH linux-image-
iF linux-image-
ii linux-image-