package linux-image-6.2.0-32-generic 6.2.0-32.32 failed to install/upgrade: run-parts: /etc/kernel/postinst.d/dkms exited with return code 11
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
linux (Ubuntu) |
Confirmed
|
Undecided
|
Unassigned |
Bug Description
See also #2033371
=================
Kernel 6.2.0-27 running -- kernel 6.2.0-31 installed but inoperable
Upgrading to kernel 6.2.0-32.32 fails:
(Reading database ... 209096 files and directories currently installed.)
Purging configuration files for linux-modules-
Purging configuration files for linux-modules-
Purging configuration files for linux-image-
Purging configuration files for linux-objects-
Purging configuration files for linux-modules-
Processing triggers for linux-image-
/etc/kernel/
* dkms: running auto installation service for kernel 6.2.0-32-generic
Sign command: /lib/modules/
Binary /lib/modules/
Error! Your kernel headers for kernel 6.2.0-32-generic cannot be found at /lib/modules/
Please install the linux-headers-
dkms autoinstall on 6.2.0-32-
Error! One or more modules failed to install during autoinstall.
Refer to previous errors for more information.
* dkms: autoinstall for kernel 6.2.0-32-generic
...fail!
run-parts: /etc/kernel/
dpkg: error processing package linux-image-
installed linux-image-
Errors were encountered while processing:
linux-
E: Sub-process /usr/bin/dpkg returned an error code (1)
A package failed to install. Trying to recover:
Setting up linux-image-
I: /boot/initrd.
Processing triggers for linux-image-
/etc/kernel/
* dkms: running auto installation service for kernel 6.2.0-32-generic
Sign command: /lib/modules/
Binary /lib/modules/
Error! Your kernel headers for kernel 6.2.0-32-generic cannot be found at /lib/modules/
Please install the linux-headers-
dkms autoinstall on 6.2.0-32-
Error! One or more modules failed to install during autoinstall.
Refer to previous errors for more information.
* dkms: autoinstall for kernel 6.2.0-32-generic
...fail!
run-parts: /etc/kernel/
dpkg: error processing package linux-image-
installed linux-image-
Errors were encountered while processing:
linux-
ProblemType: Bug
DistroRelease: Ubuntu 23.04
Package: linux-image-
ProcVersionSign
Uname: Linux 6.2.0-32-generic x86_64
ApportVersion: 2.26.1-0ubuntu2
Architecture: amd64
AudioDevicesInUse:
USER PID ACCESS COMMAND
/dev/snd/
/dev/snd/
/dev/snd/seq: burdi01 5157 F.... pipewire
CasperMD5CheckR
CurrentDesktop: XFCE
Date: Tue Sep 5 16:23:11 2023
HibernationDevice: RESUME=none
IwConfig:
lo no wireless extensions.
enp39s0 no wireless extensions.
MachineType: Micro-Star International Co., Ltd. MS-7C35
ProcFB: 0 amdgpudrmfb
ProcKernelCmdLine: BOOT_IMAGE=
PulseList: Error: command ['pacmd', 'list'] failed with exit code 1: No PulseAudio daemon running, or not running as session daemon.
RelatedPackageV
linux-
linux-
linux-firmware 20230323.
RfKill:
0: hci0: Bluetooth
Soft blocked: yes
Hard blocked: no
SourcePackage: linux
UpgradeStatus: No upgrade log present (probably fresh install)
dmi.bios.date: 01/16/2020
dmi.bios.release: 5.14
dmi.bios.vendor: American Megatrends Inc.
dmi.bios.version: A.30
dmi.board.
dmi.board.name: MEG X570 UNIFY (MS-7C35)
dmi.board.vendor: Micro-Star International Co., Ltd.
dmi.board.version: 2.0
dmi.chassis.
dmi.chassis.type: 3
dmi.chassis.vendor: Micro-Star International Co., Ltd.
dmi.chassis.
dmi.modalias: dmi:bvnAmerican
dmi.product.family: To be filled by O.E.M.
dmi.product.name: MS-7C35
dmi.product.sku: To be filled by O.E.M.
dmi.product.
dmi.sys.vendor: Micro-Star International Co., Ltd.
After pointing /boot/{ initrd. img,vmlinuz} back to 6.2.0-27 and rebooting the software-updater wanted to remove the 6.2.0-31 kernel (done) and I catched the above log. 6.2.0-32- generic/ build symlink and hence the ~/scripts/sign-file is missing. 6.2.0-32- generic package is missing.
Indeed the /lib/modules/
And indeed the linux-headers-
As recommended I installed that package, which resolved the problem.
:D