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

Bug #2025530 reported by Rob
10
This bug affects 1 person
Affects Status Importance Assigned to Milestone
linux-signed-oracle (Ubuntu)
New
Undecided
Unassigned

Bug Description

Error while installing a package update.

ProblemType: Package
DistroRelease: Ubuntu 23.04
Package: linux-image-6.2.0-1005-oracle 6.2.0-1005.5
ProcVersionSignature: Ubuntu 6.2.0-24.24-generic 6.2.12
Uname: Linux 6.2.0-24-generic x86_64
NonfreeKernelModules: nvidia_modeset nvidia
ApportVersion: 2.26.1-0ubuntu2
Architecture: amd64
CasperMD5CheckResult: pass
Date: Sat Jul 1 08:22:59 2023
ErrorMessage: installed linux-image-6.2.0-1005-oracle package post-installation script subprocess returned error exit status 1
InstallationDate: Installed on 2023-06-18 (13 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
RelatedPackageVersions:
 dpkg 1.21.21ubuntu1
 apt 2.6.0
SourcePackage: linux-signed-oracle
Title: package linux-image-6.2.0-1005-oracle 6.2.0-1005.5 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
Rob (rob-d) wrote :
tags: removed: need-duplicate-check
Revision history for this message
Alexandre Klostermann (alexandre.klostermann) wrote :
Download full text (5.2 KiB)

Same Here, impossible to update using APt or ubuntu update:

 sudo apt upgrade
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
Calculating upgrade... Done
The following packages were automatically installed and are no longer required:
  libnvidia-cfg1-515 libnvidia-common-515 libnvidia-compute-515 libnvidia-compute-515:i386 libnvidia-decode-515
  libnvidia-decode-515:i386 libnvidia-encode-515 libnvidia-encode-515:i386 libnvidia-extra-515 libnvidia-fbc1-515
  libnvidia-fbc1-515:i386 libnvidia-gl-515 libnvidia-gl-515:i386 linux-signatures-nvidia-6.2.0-1005-oracle
  nvidia-compute-utils-515 nvidia-kernel-source-515 nvidia-utils-515 xserver-xorg-video-nvidia-515
Use 'sudo apt autoremove' to remove them.
The following packages have been kept back:
  linux-modules-nvidia-515-generic-hwe-22.04 linux-signatures-nvidia-6.2.0-24-generic
The following packages will be upgraded:
  linux-firmware
1 upgraded, 0 newly installed, 0 to remove and 2 not upgraded.
2 not fully installed or removed.
Need to get 281 MB of archives.
After this operation, 3.072 B of additional disk space will be used.
Do you want to continue? [Y/n]
Get:1 http://br.archive.ubuntu.com/ubuntu lunar-updates/main amd64 linux-firmware all 20230323.gitbcdcfbcf-0ubuntu1.2 [281 MB]
Fetched 281 MB in 20s (14,3 MB/s)
(Reading database ... 280370 files and directories currently installed.)
Preparing to unpack .../linux-firmware_20230323.gitbcdcfbcf-0ubuntu1.2_all.deb ...
Unpacking linux-firmware (20230323.gitbcdcfbcf-0ubuntu1.2) over (20230323.gitbcdcfbcf-0ubuntu1.1) ...
Setting up linux-firmware (20230323.gitbcdcfbcf-0ubuntu1.2) ...
update-initramfs: Generating /boot/initrd.img-6.2.0-24-generic
Setting up linux-image-6.2.0-1007-lowlatency (6.2.0-1007.7) ...
I: /boot/initrd.img is now a symlink to initrd.img-6.2.0-1007-lowlatency
Setting up linux-image-6.2.0-1005-oracle (6.2.0-1005.5) ...
I: /boot/initrd.img.old is now a symlink to initrd.img-6.2.0-1005-oracle
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 locate...

Read more...

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.