package linux-image-6.2.0-1007-lowlatency 6.2.0-1007.7 failed to install/upgrade: run-parts: /etc/kernel/postinst.d/dkms exited with return code 11

Bug #2025500 reported by Marcio Marins
34
This bug affects 7 people
Affects Status Importance Assigned to Milestone
dkms (Ubuntu)
Confirmed
Undecided
Unassigned

Bug Description

.

ProblemType: Package
DistroRelease: Ubuntu 23.04
Package: linux-image-6.2.0-1007-lowlatency 6.2.0-1007.7
ProcVersionSignature: Ubuntu 6.2.0-23.23-generic 6.2.12
Uname: Linux 6.2.0-23-generic x86_64
NonfreeKernelModules: nvidia_modeset nvidia
ApportVersion: 2.26.1-0ubuntu2
Architecture: amd64
CasperMD5CheckResult: pass
Date: Fri Jun 30 10:07:42 2023
ErrorMessage: run-parts: /etc/kernel/postinst.d/dkms exited with return code 11
InstallationDate: Installed on 2023-04-28 (63 days ago)
InstallationMedia: Ubuntu 23.04 "Lunar Lobster" - Release amd64 (20230418)
Python3Details: /usr/bin/python3.11, Python 3.11.2, python3-minimal, 3.11.2-1
PythonDetails: N/A
RebootRequiredPkgs: Error: path contained symlinks.
RelatedPackageVersions:
 dpkg 1.21.21ubuntu1
 apt 2.6.0
SourcePackage: dkms
Title: package linux-image-6.2.0-1007-lowlatency 6.2.0-1007.7 failed to install/upgrade: run-parts: /etc/kernel/postinst.d/dkms exited with return code 11
UpgradeStatus: No upgrade log present (probably fresh install)

Revision history for this message
Marcio Marins (marins.md) wrote :
tags: removed: need-duplicate-check
Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in dkms (Ubuntu):
status: New → Confirmed
Revision history for this message
Michael Pelley (mpelley) wrote (last edit ):

Will cause kernel panic if used. Cannot find root fs.

Additional info when trying update using apt:

Setting up linux-image-6.2.0-1007-lowlatency (6.2.0-1007.7) ...
Processing triggers for linux-image-6.2.0-1007-lowlatency (6.2.0-1007.7) ...
/etc/kernel/postinst.d/dkms:
 * dkms: running auto installation service for kernel 6.2.0-1007-lowlatency
Sign command: /usr/bin/kmodsign
Signing key: /var/lib/shim-signed/mok/MOK.priv
Public certificate (MOK): /var/lib/shim-signed/mok/MOK.der
Error! Your kernel headers for kernel 6.2.0-1007-lowlatency cannot be found at /lib/modules/6.2.0-1007-lowlatency/build or /lib/modules/6.2.0-1007-lowlatency/source.
Please install the linux-headers-6.2.0-1007-lowlatency package or use the --kern
elsourcedir option to tell DKMS where it's located.
Sign command: /usr/bin/kmodsign
Signing key: /var/lib/shim-signed/mok/MOK.priv
Public certificate (MOK): /var/lib/shim-signed/mok/MOK.der
Error! Your kernel headers for kernel 6.2.0-1007-lowlatency cannot be found at /
lib/modules/6.2.0-1007-lowlatency/build or /lib/modules/6.2.0-1007-lowlatency/so
urce.
Please install the linux-headers-6.2.0-1007-lowlatency package or use the --kern
elsourcedir option to tell DKMS where it's located.
dkms autoinstall on 6.2.0-1007-lowlatency/x86_64 failed for nvidia(1) virtualbox
(1)
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-1007-lowlatency (--configure):
 installed linux-image-6.2.0-1007-lowlatency package post-installation script su
bprocess returned error exit status 1
Errors were encountered while processing:
 linux-image-6.2.0-1007-lowlatency
E: Sub-process /usr/bin/dpkg returned an error code (1)

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.