[Kernel-packages] [Bug 2025915] Re: package linux-headers-6.2.0-24-generic 6.2.0-24.24 failed to install/upgrade: installed linux-headers-6.2.0-24-generic package post-installation script subprocess r
I was having a similar error with dpkg as follows -- In my case my grub configuration was erroring - I had added zswap to the system, and added the line " GRUB_CMDLINE_LINUX_DEFAULT="quiet splash" zswap.enabled=1" My mistake, the correct method to add the line is " GRUB_CMDLINE_LINUX_DEFAULT="quiet splash zswap.enabled=1" After changing the grub file (sudo gedit grub), then running "sudo update-grub", my update and upgrade errors from dpkg vanished. I haven't rebooted yet, that is next! sudo dpkg --configure -a Setting up linux-image-6.2.0-35-generic (6.2.0-35.35~22.04.1) ... Processing triggers for linux-image-6.2.0-35-generic (6.2.0-35.35~22.04.1) ... /etc/kernel/postinst.d/dkms: * dkms: autoinstall for dkms modules has been disabled /etc/kernel/postinst.d/initramfs-tools: update-initramfs: Generating /boot/initrd.img-6.2.0-35-generic /etc/kernel/postinst.d/zz-update-grub: Sourcing file `/etc/default/grub' /usr/sbin/grub-mkconfig: 12: /etc/default/grub: zswap.enabled=1: not found run-parts: /etc/kernel/postinst.d/zz-update-grub exited with return code 127 dpkg: error processing package linux-image-6.2.0-35-generic (--configure): installed linux-image-6.2.0-35-generic package post-installation script subprocess returned error exit status 1 Errors were encountered while processing: linux-image-6.2.0-35-generic -- You received this bug notification because you are a member of Kernel Packages, which is subscribed to linux in Ubuntu. https://bugs.launchpad.net/bugs/2025915 Title: package linux-headers-6.2.0-24-generic 6.2.0-24.24 failed to install/upgrade: installed linux-headers-6.2.0-24-generic package post-installation script subprocess returned error exit status 1 Status in linux package in Ubuntu: Fix Released Bug description: Upgrading to Ubuntu 23.04 I got The upgrade will continue but the 'linux-image-6.2.0-24-generic' package may not be in a working state. Please consider submitting a bug report about it. installed linux-image-6.2.0-24-generic package post-installation script subprocess returned error exit status 1 Could not install the upgrades The upgrade has aborted. Your system could be in an unusable state. A recovery will run now (dpkg --configure -a). ProblemType: Package DistroRelease: Ubuntu 23.04 Package: linux-headers-6.2.0-24-generic 6.2.0-24.24 ProcVersionSignature: Ubuntu 5.19.0-46.47-generic 5.19.17 Uname: Linux 5.19.0-46-generic x86_64 ApportVersion: 2.26.1-0ubuntu2 Architecture: amd64 AudioDevicesInUse: USERPID ACCESS COMMAND /dev/snd/controlC0: brad 1995 F wireplumber /dev/snd/seq:brad 1992 F pipewire CRDA: N/A CasperMD5CheckResult: unknown Date: Tue Jul 4 14:21:28 2023 ErrorMessage: installed linux-headers-6.2.0-24-generic package post-installation script subprocess returned error exit status 1 InstallationDate: Installed on 2020-07-28 (1071 days ago) InstallationMedia: Ubuntu 20.04 LTS "Focal Fossa" - Release amd64 (20200423) MachineType: LENOVO 20JTS1GT1E ProcFB: 0 i915drmfb ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-5.19.0-46-generic root=UUID=102d7791-8e92-444e-b259-b45288c3edab ro quiet splash vt.handoff=7 PulseList: Error: command ['pacmd', 'list'] failed with exit code 1: No PulseAudio daemon running, or not running as session daemon. Python3Details: /usr/bin/python3.11, Python 3.11.2, python3-minimal, 3.11.2-1 PythonDetails: N/A RebootRequiredPkgs: Error: path contained symlinks. RelatedPackageVersions: grub-pc 2.06-2ubuntu16 SourcePackage: linux Title: package linux-headers-6.2.0-24-generic 6.2.0-24.24 failed to install/upgrade: installed linux-headers-6.2.0-24-generic package post-installation script subprocess returned error exit status 1 UpgradeStatus: Upgraded to lunar on 2023-07-04 (0 days ago) dmi.bios.date: 02/26/2018 dmi.bios.release: 1.24 dmi.bios.vendor: LENOVO dmi.bios.version: N1WET45W (1.24 ) dmi.board.asset.tag: Not Available dmi.board.name: 20JTS1GT1E dmi.board.vendor: LENOVO dmi.board.version: SDK0J40697 WIN dmi.chassis.asset.tag: J70046952 dmi.chassis.type: 10 dmi.chassis.vendor: LENOVO dmi.chassis.version: None dmi.ec.firmware.release: 1.19 dmi.modalias: dmi:bvnLENOVO:bvrN1WET45W(1.24):bd02/26/2018:br1.24:efr1.19:svnLENOVO:pn20JTS1GT1E:pvrThinkPadT470sW10DG:rvnLENOVO:rn20JTS1GT1E:rvrSDK0J40697WIN:cvnLENOVO:ct10:cvrNone:skuLENOVO_MT_20JT_BU_Think_FM_ThinkPadT470sW10DG: dmi.product.family: ThinkPad T470s W10DG dmi.product.name: 20JTS1GT1E dmi.product.sku: LENOVO_MT_20JT_BU_Think_FM_ThinkPad T470s W10DG dmi.product.version: ThinkPad T470s W10DG dmi.sys.vendor: LENOVO To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/linux/+bug/2025915/+subscriptions -- Mailing list: https://launchpad.net/~kernel-packages Post to : kernel-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~kernel-packages More help :
[Kernel-packages] [Bug 2025915] Re: package linux-headers-6.2.0-24-generic 6.2.0-24.24 failed to install/upgrade: installed linux-headers-6.2.0-24-generic package post-installation script subprocess r
** Changed in: linux (Ubuntu) Status: Invalid => Fix Released -- You received this bug notification because you are a member of Kernel Packages, which is subscribed to linux in Ubuntu. https://bugs.launchpad.net/bugs/2025915 Title: package linux-headers-6.2.0-24-generic 6.2.0-24.24 failed to install/upgrade: installed linux-headers-6.2.0-24-generic package post-installation script subprocess returned error exit status 1 Status in linux package in Ubuntu: Fix Released Bug description: Upgrading to Ubuntu 23.04 I got The upgrade will continue but the 'linux-image-6.2.0-24-generic' package may not be in a working state. Please consider submitting a bug report about it. installed linux-image-6.2.0-24-generic package post-installation script subprocess returned error exit status 1 Could not install the upgrades The upgrade has aborted. Your system could be in an unusable state. A recovery will run now (dpkg --configure -a). ProblemType: Package DistroRelease: Ubuntu 23.04 Package: linux-headers-6.2.0-24-generic 6.2.0-24.24 ProcVersionSignature: Ubuntu 5.19.0-46.47-generic 5.19.17 Uname: Linux 5.19.0-46-generic x86_64 ApportVersion: 2.26.1-0ubuntu2 Architecture: amd64 AudioDevicesInUse: USERPID ACCESS COMMAND /dev/snd/controlC0: brad 1995 F wireplumber /dev/snd/seq:brad 1992 F pipewire CRDA: N/A CasperMD5CheckResult: unknown Date: Tue Jul 4 14:21:28 2023 ErrorMessage: installed linux-headers-6.2.0-24-generic package post-installation script subprocess returned error exit status 1 InstallationDate: Installed on 2020-07-28 (1071 days ago) InstallationMedia: Ubuntu 20.04 LTS "Focal Fossa" - Release amd64 (20200423) MachineType: LENOVO 20JTS1GT1E ProcFB: 0 i915drmfb ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-5.19.0-46-generic root=UUID=102d7791-8e92-444e-b259-b45288c3edab ro quiet splash vt.handoff=7 PulseList: Error: command ['pacmd', 'list'] failed with exit code 1: No PulseAudio daemon running, or not running as session daemon. Python3Details: /usr/bin/python3.11, Python 3.11.2, python3-minimal, 3.11.2-1 PythonDetails: N/A RebootRequiredPkgs: Error: path contained symlinks. RelatedPackageVersions: grub-pc 2.06-2ubuntu16 SourcePackage: linux Title: package linux-headers-6.2.0-24-generic 6.2.0-24.24 failed to install/upgrade: installed linux-headers-6.2.0-24-generic package post-installation script subprocess returned error exit status 1 UpgradeStatus: Upgraded to lunar on 2023-07-04 (0 days ago) dmi.bios.date: 02/26/2018 dmi.bios.release: 1.24 dmi.bios.vendor: LENOVO dmi.bios.version: N1WET45W (1.24 ) dmi.board.asset.tag: Not Available dmi.board.name: 20JTS1GT1E dmi.board.vendor: LENOVO dmi.board.version: SDK0J40697 WIN dmi.chassis.asset.tag: J70046952 dmi.chassis.type: 10 dmi.chassis.vendor: LENOVO dmi.chassis.version: None dmi.ec.firmware.release: 1.19 dmi.modalias: dmi:bvnLENOVO:bvrN1WET45W(1.24):bd02/26/2018:br1.24:efr1.19:svnLENOVO:pn20JTS1GT1E:pvrThinkPadT470sW10DG:rvnLENOVO:rn20JTS1GT1E:rvrSDK0J40697WIN:cvnLENOVO:ct10:cvrNone:skuLENOVO_MT_20JT_BU_Think_FM_ThinkPadT470sW10DG: dmi.product.family: ThinkPad T470s W10DG dmi.product.name: 20JTS1GT1E dmi.product.sku: LENOVO_MT_20JT_BU_Think_FM_ThinkPad T470s W10DG dmi.product.version: ThinkPad T470s W10DG dmi.sys.vendor: LENOVO To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/linux/+bug/2025915/+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
[Kernel-packages] [Bug 2025915] Re: package linux-headers-6.2.0-24-generic 6.2.0-24.24 failed to install/upgrade: installed linux-headers-6.2.0-24-generic package post-installation script subprocess r
You have unsupported DKMS modules installed that prevent the kernel upgrade. Remove them and retry the upgrade: $ dkms remove anbox-ashmem/1 --all $ dkms remove anbox-binder/1 --all Or you disable dkms autoinstall: $ touch /etc/dkms/no-autoinstall ** Changed in: linux (Ubuntu) Status: New => Invalid -- You received this bug notification because you are a member of Kernel Packages, which is subscribed to linux in Ubuntu. https://bugs.launchpad.net/bugs/2025915 Title: package linux-headers-6.2.0-24-generic 6.2.0-24.24 failed to install/upgrade: installed linux-headers-6.2.0-24-generic package post-installation script subprocess returned error exit status 1 Status in linux package in Ubuntu: Invalid Bug description: Upgrading to Ubuntu 23.04 I got The upgrade will continue but the 'linux-image-6.2.0-24-generic' package may not be in a working state. Please consider submitting a bug report about it. installed linux-image-6.2.0-24-generic package post-installation script subprocess returned error exit status 1 Could not install the upgrades The upgrade has aborted. Your system could be in an unusable state. A recovery will run now (dpkg --configure -a). ProblemType: Package DistroRelease: Ubuntu 23.04 Package: linux-headers-6.2.0-24-generic 6.2.0-24.24 ProcVersionSignature: Ubuntu 5.19.0-46.47-generic 5.19.17 Uname: Linux 5.19.0-46-generic x86_64 ApportVersion: 2.26.1-0ubuntu2 Architecture: amd64 AudioDevicesInUse: USERPID ACCESS COMMAND /dev/snd/controlC0: brad 1995 F wireplumber /dev/snd/seq:brad 1992 F pipewire CRDA: N/A CasperMD5CheckResult: unknown Date: Tue Jul 4 14:21:28 2023 ErrorMessage: installed linux-headers-6.2.0-24-generic package post-installation script subprocess returned error exit status 1 InstallationDate: Installed on 2020-07-28 (1071 days ago) InstallationMedia: Ubuntu 20.04 LTS "Focal Fossa" - Release amd64 (20200423) MachineType: LENOVO 20JTS1GT1E ProcFB: 0 i915drmfb ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-5.19.0-46-generic root=UUID=102d7791-8e92-444e-b259-b45288c3edab ro quiet splash vt.handoff=7 PulseList: Error: command ['pacmd', 'list'] failed with exit code 1: No PulseAudio daemon running, or not running as session daemon. Python3Details: /usr/bin/python3.11, Python 3.11.2, python3-minimal, 3.11.2-1 PythonDetails: N/A RebootRequiredPkgs: Error: path contained symlinks. RelatedPackageVersions: grub-pc 2.06-2ubuntu16 SourcePackage: linux Title: package linux-headers-6.2.0-24-generic 6.2.0-24.24 failed to install/upgrade: installed linux-headers-6.2.0-24-generic package post-installation script subprocess returned error exit status 1 UpgradeStatus: Upgraded to lunar on 2023-07-04 (0 days ago) dmi.bios.date: 02/26/2018 dmi.bios.release: 1.24 dmi.bios.vendor: LENOVO dmi.bios.version: N1WET45W (1.24 ) dmi.board.asset.tag: Not Available dmi.board.name: 20JTS1GT1E dmi.board.vendor: LENOVO dmi.board.version: SDK0J40697 WIN dmi.chassis.asset.tag: J70046952 dmi.chassis.type: 10 dmi.chassis.vendor: LENOVO dmi.chassis.version: None dmi.ec.firmware.release: 1.19 dmi.modalias: dmi:bvnLENOVO:bvrN1WET45W(1.24):bd02/26/2018:br1.24:efr1.19:svnLENOVO:pn20JTS1GT1E:pvrThinkPadT470sW10DG:rvnLENOVO:rn20JTS1GT1E:rvrSDK0J40697WIN:cvnLENOVO:ct10:cvrNone:skuLENOVO_MT_20JT_BU_Think_FM_ThinkPadT470sW10DG: dmi.product.family: ThinkPad T470s W10DG dmi.product.name: 20JTS1GT1E dmi.product.sku: LENOVO_MT_20JT_BU_Think_FM_ThinkPad T470s W10DG dmi.product.version: ThinkPad T470s W10DG dmi.sys.vendor: LENOVO To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/linux/+bug/2025915/+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
[Kernel-packages] [Bug 2025915] Re: package linux-headers-6.2.0-24-generic 6.2.0-24.24 failed to install/upgrade: installed linux-headers-6.2.0-24-generic package post-installation script subprocess r
I've been able to boot into kernel 5.19.0-46-generic. Still unable to get kernel 6.2.0-24-generic working. Doing sudo apt update I get the following: After this operation, 0 B of additional disk space will be used. Do you want to continue? [Y/n] Setting up linux-headers-6.2.0-24-generic (6.2.0-24.24) ... /etc/kernel/header_postinst.d/dkms: * dkms: running auto installation service for kernel 6.2.0-24-generic Sign command: /usr/bin/kmodsign Binary update-secureboot-policy not found, modules won't be signed Building module: Cleaning build area... make -j4 KERNELRELEASE=6.2.0-24-generic all KERNEL_SRC=/lib/modules/6.2.0-24-generic/build...(bad exit status: 2) ERROR (dkms apport): binary package for anbox-ashmem: 1 not found Error! Bad return status for module build on kernel: 6.2.0-24-generic (x86_64) Consult /var/lib/dkms/anbox-ashmem/1/build/make.log for more information. Sign command: /usr/bin/kmodsign Binary update-secureboot-policy not found, modules won't be signed Building module: Cleaning build area... make -j4 KERNELRELEASE=6.2.0-24-generic all KERNEL_SRC=/lib/modules/6.2.0-24-generic/build...(bad exit status: 2) ERROR (dkms apport): binary package for anbox-binder: 1 not found Error! Bad return status for module build on kernel: 6.2.0-24-generic (x86_64) Consult /var/lib/dkms/anbox-binder/1/build/make.log for more information. dkms autoinstall on 6.2.0-24-generic/x86_64 succeeded for virtualbox virtualbox dkms autoinstall on 6.2.0-24-generic/x86_64 failed for anbox-ashmem(10) anbox-binder(10) Error! One or more modules failed to install during autoinstall. Refer to previous errors for more information. ...fail! run-parts: /etc/kernel/header_postinst.d/dkms exited with return code 11 dpkg: error processing package linux-headers-6.2.0-24-generic (--configure): installed linux-headers-6.2.0-24-generic package post-installation script subprocess returned error exit status 1 Setting up linux-image-6.2.0-24-generic (6.2.0-24.24) ... dpkg: dependency problems prevent configuration of linux-headers-generic: linux-headers-generic depends on linux-headers-6.2.0-24-generic; however: Package linux-headers-6.2.0-24-generic is not configured yet. dpkg: error processing package linux-headers-generic (--configure): dependency problems - leaving unconfigured dpkg: dependency problems prevent configuration of linux-generic: linux-generic depends on linux-headers-generic (= 6.2.0.24.24); however: Package linux-headers-generic is not configured yet. dpkg: error processing package linux-generic (--configure): dependency problems - leaving unconfigured No apport report written because the error message indicates its a followup error from a previous failure. No apport report written because the error message indicates its a followup e rror from a previous failure. Processing triggers for linux-image-6.2.0-24-generic (6.2.0-24.24) ... /etc/kernel/postinst.d/dkms: * dkms: running auto installation service for kernel 6.2.0-24-generic Sign command: /usr/bin/kmodsign Binary update-secureboot-policy not found, modules won't be signed Building module: Cleaning build area... make -j4 KERNELRELEASE=6.2.0-24-generic all KERNEL_SRC=/lib/modules/6.2.0-24-generic/build...(bad exit status: 2) ERROR (dkms apport): binary package for anbox-ashmem: 1 not found Error! Bad return status for module build on kernel: 6.2.0-24-generic (x86_64) Consult /var/lib/dkms/anbox-ashmem/1/build/make.log for more information. Sign command: /usr/bin/kmodsign Binary update-secureboot-policy not found, modules won't be signed Building module: Cleaning build area... make -j4 KERNELRELEASE=6.2.0-24-generic all KERNEL_SRC=/lib/modules/6.2.0-24-generic/build...(bad exit status: 2) ERROR (dkms apport): binary package for anbox-binder: 1 not found Error! Bad return status for module build on kernel: 6.2.0-24-generic (x86_64) Consult /var/lib/dkms/anbox-binder/1/build/make.log for more information. dkms autoinstall on 6.2.0-24-generic/x86_64 succeeded for virtualbox virtualbox dkms autoinstall on 6.2.0-24-generic/x86_64 failed for anbox-ashmem(10) anbox-binder(10) Error! One or more modules failed to install during autoinstall. Refer to previous errors for more information. ...fail! run-parts: /etc/kernel/postinst.d/dkms exited with return code 11 dpkg: error processing package linux-image-6.2.0-24-generic (--configure): installed linux-image-6.2.0-24-generic package post-installation script subprocess returned error exit status 1 No apport report written because MaxReports is reached already Errors were encountered while processing: linux-headers-6.2.0-24-generic linux-headers-generic linux-generic linux-image-6.2.0-24-generic -- You received this bug notification because you are a member of Kernel Packages, which is
[Kernel-packages] [Bug 2025915] Re: package linux-headers-6.2.0-24-generic 6.2.0-24.24 failed to install/upgrade: installed linux-headers-6.2.0-24-generic package post-installation script subprocess r
** Tags removed: need-duplicate-check -- You received this bug notification because you are a member of Kernel Packages, which is subscribed to linux in Ubuntu. https://bugs.launchpad.net/bugs/2025915 Title: package linux-headers-6.2.0-24-generic 6.2.0-24.24 failed to install/upgrade: installed linux-headers-6.2.0-24-generic package post-installation script subprocess returned error exit status 1 Status in linux package in Ubuntu: New Bug description: Upgrading to Ubuntu 23.04 I got The upgrade will continue but the 'linux-image-6.2.0-24-generic' package may not be in a working state. Please consider submitting a bug report about it. installed linux-image-6.2.0-24-generic package post-installation script subprocess returned error exit status 1 Could not install the upgrades The upgrade has aborted. Your system could be in an unusable state. A recovery will run now (dpkg --configure -a). ProblemType: Package DistroRelease: Ubuntu 23.04 Package: linux-headers-6.2.0-24-generic 6.2.0-24.24 ProcVersionSignature: Ubuntu 5.19.0-46.47-generic 5.19.17 Uname: Linux 5.19.0-46-generic x86_64 ApportVersion: 2.26.1-0ubuntu2 Architecture: amd64 AudioDevicesInUse: USERPID ACCESS COMMAND /dev/snd/controlC0: brad 1995 F wireplumber /dev/snd/seq:brad 1992 F pipewire CRDA: N/A CasperMD5CheckResult: unknown Date: Tue Jul 4 14:21:28 2023 ErrorMessage: installed linux-headers-6.2.0-24-generic package post-installation script subprocess returned error exit status 1 InstallationDate: Installed on 2020-07-28 (1071 days ago) InstallationMedia: Ubuntu 20.04 LTS "Focal Fossa" - Release amd64 (20200423) MachineType: LENOVO 20JTS1GT1E ProcFB: 0 i915drmfb ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-5.19.0-46-generic root=UUID=102d7791-8e92-444e-b259-b45288c3edab ro quiet splash vt.handoff=7 PulseList: Error: command ['pacmd', 'list'] failed with exit code 1: No PulseAudio daemon running, or not running as session daemon. Python3Details: /usr/bin/python3.11, Python 3.11.2, python3-minimal, 3.11.2-1 PythonDetails: N/A RebootRequiredPkgs: Error: path contained symlinks. RelatedPackageVersions: grub-pc 2.06-2ubuntu16 SourcePackage: linux Title: package linux-headers-6.2.0-24-generic 6.2.0-24.24 failed to install/upgrade: installed linux-headers-6.2.0-24-generic package post-installation script subprocess returned error exit status 1 UpgradeStatus: Upgraded to lunar on 2023-07-04 (0 days ago) dmi.bios.date: 02/26/2018 dmi.bios.release: 1.24 dmi.bios.vendor: LENOVO dmi.bios.version: N1WET45W (1.24 ) dmi.board.asset.tag: Not Available dmi.board.name: 20JTS1GT1E dmi.board.vendor: LENOVO dmi.board.version: SDK0J40697 WIN dmi.chassis.asset.tag: J70046952 dmi.chassis.type: 10 dmi.chassis.vendor: LENOVO dmi.chassis.version: None dmi.ec.firmware.release: 1.19 dmi.modalias: dmi:bvnLENOVO:bvrN1WET45W(1.24):bd02/26/2018:br1.24:efr1.19:svnLENOVO:pn20JTS1GT1E:pvrThinkPadT470sW10DG:rvnLENOVO:rn20JTS1GT1E:rvrSDK0J40697WIN:cvnLENOVO:ct10:cvrNone:skuLENOVO_MT_20JT_BU_Think_FM_ThinkPadT470sW10DG: dmi.product.family: ThinkPad T470s W10DG dmi.product.name: 20JTS1GT1E dmi.product.sku: LENOVO_MT_20JT_BU_Think_FM_ThinkPad T470s W10DG dmi.product.version: ThinkPad T470s W10DG dmi.sys.vendor: LENOVO To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/linux/+bug/2025915/+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