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 located.
dkms autoinstall on 6.2.0-1007-lowlatency/x86_64 failed for evdi(1) nvidia(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
Processing triggers for linux-image-6.2.0-1005-oracle (6.2.0-1005.5) ...
/etc/kernel/postinst.d/dkms:
 * dkms: running auto installation service for kernel 6.2.0-1005-oracle
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-1005-oracle cannot be found at 
/lib/modules/6.2.0-1005-oracle/build or /lib/modules/6.2.0-1005-oracle/source.
Please install the linux-headers-6.2.0-1005-oracle 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-1005-oracle cannot be found at 
/lib/modules/6.2.0-1005-oracle/build or /lib/modules/6.2.0-1005-oracle/source.
Please install the linux-headers-6.2.0-1005-oracle package or use the 
--kernelsourcedir option to tell DKMS where it's located.
dkms autoinstall on 6.2.0-1005-oracle/x86_64 failed for evdi(1) nvidia(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-1005-oracle (--configure):
 installed linux-image-6.2.0-1005-oracle package post-installation script 
subprocess returned error exit status 1
Errors were encountered while processing:
 linux-image-6.2.0-1007-lowlatency
 linux-image-6.2.0-1005-oracle
E: Sub-process /usr/bin/dpkg returned an error code (1)

-- 
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to linux-signed-oracle in Ubuntu.
https://bugs.launchpad.net/bugs/2025530

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

Status in linux-signed-oracle package in Ubuntu:
  New

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)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux-signed-oracle/+bug/2025530/+subscriptions


-- 
Mailing list: https://launchpad.net/~kernel-packages
Post to     : kernel-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~kernel-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to