Dear all I can not upgrade my Ubuntu 23.10 because of this error. Even more some packages are generating the same error during the installation. I have dual boot system. Here an example of the what I see when trying to update and upgrade my OS: ~/sudo apt-get upgrade
Reading package lists... Done Building dependency tree... Done Reading state information... Done Calculating upgrade... Done The following packages will be REMOVED: linux-image-6.5.0-15-generic The following packages will be upgraded: code google-chrome-stable xserver-common xserver-xephyr xserver-xorg-core xserver-xorg-legacy xwayland 7 upgraded, 0 newly installed, 1 to remove and 0 not upgraded. 6 not fully installed or removed. Need to get 0 B/212 MB of archives. After this operation, 8,779 kB disk space will be freed. Do you want to continue? [Y/n] Preconfiguring packages ... setting xserver-xorg-legacy/xwrapper/allowed_users from configuration file (Reading database ... 549660 files and directories currently installed.) Removing linux-image-6.5.0-15-generic (6.5.0-15.15) ... /etc/kernel/postrm.d/zz-update-grub: Sourcing file `/etc/default/grub' /usr/sbin/grub-mkconfig: 33: /etc/default/grub: want: 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-15-generic (--remove): installed linux-image-6.5.0-15-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-15-generic Processing was halted because there were too many errors. E: Sub-process /usr/bin/dpkg returned an error code (1) -- You received this bug notification because you are a member of Kernel Packages, which is subscribed to linux-meta-hwe-6.5 in Ubuntu. https://bugs.launchpad.net/bugs/2051418 Title: installed linux-image-6.5.0-15-generic package post-installation script subprocess returned error exit status 1 Status in linux-meta-hwe-6.5 package in Ubuntu: Confirmed 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-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) To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/linux-meta-hwe-6.5/+bug/2051418/+subscriptions -- Mailing list: https://launchpad.net/~kernel-packages Post to : kernel-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~kernel-packages More help : https://help.launchpad.net/ListHelp