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 #2025543 reported by Isaiah
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
linux-signed-lowlatency (Ubuntu)
New
Undecided
Unassigned

Bug Description

Failed upon update via GUI.

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: Sat Jul 1 13:21:52 2023
ErrorMessage: installed linux-image-6.2.0-1007-lowlatency package post-installation script subprocess returned error exit status 1
InstallationDate: Installed on 2023-02-02 (149 days ago)
InstallationMedia: Ubuntu 22.10 "Kinetic Kudu" - Release amd64 (20221020)
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: linux-signed-lowlatency
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: Upgraded to lunar on 2023-05-22 (40 days ago)

Revision history for this message
Isaiah (zay87) wrote :
tags: removed: need-duplicate-check
Revision history for this message
Isaiah (zay87) wrote : Re: [Bug 2025543] Re: 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
Download full text (3.9 KiB)

sudo apt-get upgrade
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
Calculating upgrade... Done
The following packages have been kept back:
  gnome-remote-desktop libinput-bin libinput10
0 upgraded, 0 newly installed, 0 to remove and 3 not upgraded.
1 not fully installed or removed.
After this operation, 0 B of additional disk space will be used.
Do you want to continue? [Y/n] y
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
--kernelsourcedir 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/source.
Please install the linux-headers-6.2.0-1007-lowlatency package or use the
--kernelsourcedir option to tell DKMS where it's located.
dkms autoinstall on 6.2.0-1007-lowlatency/x86_64 failed for nvidia(1)
openrazer-driver(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 subprocess 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)

On Sat, Jul 1, 2023 at 11:35 PM Apport retracing service <
<email address hidden>> wrote:

> ** Tags removed: need-duplicate-check
>
> --
> You received this bug notification because you are subscribed to the bug
> report.
> https://bugs.launchpad.net/bugs/2025543
>
> 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
>
> Status in linux-signed-lowlatency package in Ubuntu:
> New
>
> Bug description:
> Failed upon update via GUI.
>
> 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: Sat Jul 1 13:21:52 2023
> ErrorMessage: installed linux-image-6.2.0-1007-lowlatency package
> post-installati...

Read more...

Revision history for this message
Isaiah (zay87) wrote :
Download full text (10.2 KiB)

sudo apt-get install linux-headers-6.2.0-1007-lowlatency
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
The following additional packages will be installed:
  linux-lowlatency-headers-6.2.0-1007
The following NEW packages will be installed:
  linux-headers-6.2.0-1007-lowlatency linux-lowlatency-headers-6.2.0-1007
0 upgraded, 2 newly installed, 0 to remove and 3 not upgraded.
1 not fully installed or removed.
Need to get 16.8 MB of archives.
After this operation, 110 MB of additional disk space will be used.
Do you want to continue? [Y/n] y
Get:1 http://us.archive.ubuntu.com/ubuntu lunar-updates/main amd64
linux-lowlatency-headers-6.2.0-1007 all 6.2.0-1007.7 [13.2 MB]
Get:2 http://us.archive.ubuntu.com/ubuntu lunar-updates/main amd64
linux-headers-6.2.0-1007-lowlatency amd64 6.2.0-1007.7 [3,625 kB]
Fetched 16.8 MB in 2s (10.6 MB/s)
Selecting previously unselected package linux-lowlatency-headers-6.2.0-1007.
(Reading database ... 200643 files and directories currently installed.)
Preparing to unpack
.../linux-lowlatency-headers-6.2.0-1007_6.2.0-1007.7_all.deb ...
Unpacking linux-lowlatency-headers-6.2.0-1007 (6.2.0-1007.7) ...
Selecting previously unselected package linux-headers-6.2.0-1007-lowlatency.
Preparing to unpack
.../linux-headers-6.2.0-1007-lowlatency_6.2.0-1007.7_amd64.deb ...
Unpacking linux-headers-6.2.0-1007-lowlatency (6.2.0-1007.7) ...
Setting up linux-image-6.2.0-1007-lowlatency (6.2.0-1007.7) ...
Setting up linux-lowlatency-headers-6.2.0-1007 (6.2.0-1007.7) ...
Setting up linux-headers-6.2.0-1007-lowlatency (6.2.0-1007.7) ...
/etc/kernel/header_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

Building module:
Cleaning build area...
unset ARCH; [ ! -h /usr/bin/cc ] && export CC=/usr/bin/gcc; env
NV_VERBOSE=1 'make' -j12 NV_EXCLUDE_BUILD_MODULES=''
KERNEL_UNAME=6.2.0-1007-lowlatency IGNORE_XEN_PRESENCE=1
IGNORE_CC_MISMATCH=1 SYSSRC=/lib/modules/6.2.0-1007-lowlatency/build
LD=/usr/bin/ld.bfd CONFIG_X86_KERNEL_IBT= modules..............
Signing module /var/lib/dkms/nvidia/525.125.06/build/nvidia.ko
Signing module /var/lib/dkms/nvidia/525.125.06/build/nvidia-modeset.ko
Signing module /var/lib/dkms/nvidia/525.125.06/build/nvidia-drm.ko
Signing module /var/lib/dkms/nvidia/525.125.06/build/nvidia-uvm.ko
Signing module /var/lib/dkms/nvidia/525.125.06/build/nvidia-peermem.ko
Cleaning build area...

nvidia.ko:
Running module version sanity check.
 - Original module
   - No original module exists within this kernel
 - Installation
   - Installing to /lib/modules/6.2.0-1007-lowlatency/updates/dkms/

nvidia-modeset.ko:
Running module version sanity check.
 - Original module
   - No original module exists within this kernel
 - Installation
   - Installing to /lib/modules/6.2.0-1007-lowlatency/updates/dkms/

nvidia-drm.ko:
Running module version sanity check.
 - Original module
   - No original module exists within this kernel
 - Installation
   - Installing to /lib/modules/6.2.0-1007-lowlatency/updates/dkms/

nvi...

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.