Comment 0 for bug 2051418

Revision history for this message
atactic (atactic) wrote : Error in removing linux-image-6.5.0-14-generic

Here is the error when trying to upgrade Ubuntu:

$ sudo apt-get autoremove
[sudo] password for minisforum-um790pro-nicolas:
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
The following packages will be REMOVED:
  linux-image-6.5.0-14-generic
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-6.5.0-14-generic (6.5.0-14.14) ...
/etc/kernel/postrm.d/initramfs-tools:
update-initramfs: Deleting /boot/initrd.img-6.5.0-14-generic
/etc/kernel/postrm.d/zz-update-grub:
Sourcing file `/etc/default/grub'
/usr/sbin/grub-mkconfig: 12: /etc/default/grub: processor.max_cstate=1: not found
run-parts: /etc/kernel/postrm.d/zz-update-grub exited with return code 127
dpkg: error processing package linux-image-6.5.0-14-generic (--remove):
 installed linux-image-6.5.0-14-generic package post-removal script subprocess returned error exit status 1
dpkg: too many errors, stopping
Errors were encountered while processing:
 linux-image-6.5.0-14-generic
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)
ProcVersionSignature: Ubuntu 6.5.0-10.10-generic 6.5.3
Uname: Linux 6.5.0-10-generic x86_64
ApportVersion: 2.27.0-0ubuntu5
Architecture: amd64
CasperMD5CheckMismatches: ./pool/restricted/n/nvidia-graphics-drivers-535/libnvidia-gl-535_535.113.01-0ubuntu3_amd64.deb ./casper/minimal.standard.live.squashfs
CasperMD5CheckResult: fail
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)