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
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
linux (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
Upgrading to Ubuntu 23.04 I got
The upgrade will continue but the 'linux-
installed linux-image-
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-
ProcVersionSign
Uname: Linux 5.19.0-46-generic x86_64
ApportVersion: 2.26.1-0ubuntu2
Architecture: amd64
AudioDevicesInUse:
USER PID ACCESS COMMAND
/dev/snd/
/dev/snd/seq: brad 1992 F.... pipewire
CRDA: N/A
CasperMD5CheckR
Date: Tue Jul 4 14:21:28 2023
ErrorMessage: installed linux-headers-
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=
PulseList: Error: command ['pacmd', 'list'] failed with exit code 1: No PulseAudio daemon running, or not running as session daemon.
Python3Details: /usr/bin/
PythonDetails: N/A
RebootRequiredPkgs: Error: path contained symlinks.
RelatedPackageV
SourcePackage: linux
Title: package linux-headers-
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.
dmi.board.name: 20JTS1GT1E
dmi.board.vendor: LENOVO
dmi.board.version: SDK0J40697 WIN
dmi.chassis.
dmi.chassis.type: 10
dmi.chassis.vendor: LENOVO
dmi.chassis.
dmi.ec.
dmi.modalias: dmi:bvnLENOVO:
dmi.product.family: ThinkPad T470s W10DG
dmi.product.name: 20JTS1GT1E
dmi.product.sku: LENOVO_
dmi.product.
dmi.sys.vendor: LENOVO
tags: | removed: need-duplicate-check |
Changed in linux (Ubuntu): | |
status: | Invalid → Fix Released |
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. 6.2.0-24- generic (6.2.0-24.24) ... header_ postinst. d/dkms: secureboot- policy not found, modules won't be signed
Do you want to continue? [Y/n]
Setting up linux-headers-
/etc/kernel/
* dkms: running auto installation service for kernel 6.2.0-24-generic
Sign command: /usr/bin/kmodsign
Binary update-
Building module: 6.2.0-24- generic all KERNEL_ SRC=/lib/ modules/ 6.2.0-24- generic/ build.. .(bad exit status: 2) dkms/anbox- ashmem/ 1/build/ make.log for more information. secureboot- policy not found, modules won't be signed
Cleaning build area...
make -j4 KERNELRELEASE=
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/
Sign command: /usr/bin/kmodsign
Binary update-
Building module: 6.2.0-24- generic all KERNEL_ SRC=/lib/ modules/ 6.2.0-24- generic/ build.. .(bad exit status: 2) dkms/anbox- binder/ 1/build/ make.log for more information. generic/ x86_64 succeeded for virtualbox virtualbox generic/ x86_64 failed for anbox-ashmem(10) anbox-binder(10) header_ postinst. d/dkms exited with return code 11 6.2.0-24- generic (--configure): 6.2.0-24- generic package post-installation script subprocess returned error exit status 1 6.2.0-24- generic (6.2.0-24.24) ... generic: headers- generic depends on linux-headers- 6.2.0-24- generic; however: 6.2.0-24- generic is not configured yet.
Cleaning build area...
make -j4 KERNELRELEASE=
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 autoinstall on 6.2.0-24-
dkms autoinstall on 6.2.0-24-
Error! One or more modules failed to install during autoinstall.
Refer to previous errors for more information.
...fail!
run-parts: /etc/kernel/
dpkg: error processing package linux-headers-
installed linux-headers-
Setting up linux-image-
dpkg: dependency problems prevent configuration of linux-headers-
linux-
Package linux-headers-
dpkg: error processing package linux-headers- generic (--configure): generic (= 6.2.0.24.24); however: generic is not configured yet.
dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of linux-generic:
linux-generic depends on linux-headers-
Package linux-headers-
dpkg: error processing package linux-generic (--configure):
No apport report written because the error message indicates its a followup e
Processing triggers for linux-image- 6.2.0-24- generic (6.2.0-24.24) ... postinst. d/dkms: secureboot- policy not found, m...
dependency problems - leaving unconfigured
No apport report written because the error message indicates its a followup error from a previous failure.
rror from a previous failure.
/etc/kernel/
* dkms: running auto installation service for kernel 6.2.0-24-generic
Sign command: /usr/bin/kmodsign
Binary update-