Public bug reported:

The package fails to install correctly.
As a result, the corresponding /boot/initrd.img* entry is not created, and a 
kernel panic is reported on next boot ('VFS: Cannot mount root fs (unreadable 
block 0:0)' or something like that) that is fixed by downgrading the kernel to 
its previous version.

Metadata:
Operating System: Kubuntu 24.04
KDE Plasma Version: 5.27.12
KDE Frameworks Version: 5.115.0
Qt Version: 5.15.13
Kernel Version: 6.14.0-1020-oem (64-bit)
Graphics Platform: X11
Processors: 12 × AMD Ryzen 5 PRO 5675U with Radeon Graphics
Memory: 14,4 GiB of RAM
Graphics Processor: AMD Radeon Graphics
Manufacturer: LENOVO
Product Name: 21C5005TGE
System Version: ThinkPad L14 Gen 3

Below you can see the exact problem with the installation:

me@computer:~$ sudo dpkg --configure -a
[sudo] password for me:
Setting up linux-image-6.17.0-1011-oem (6.17.0-1011.11) ...
I: /boot/initrd.img.old is now a symlink to initrd.img-6.8.0-101-generic
Setting up linux-headers-6.17.0-1011-oem (6.17.0-1011.11) ...
/etc/kernel/header_postinst.d/dkms:
 * dkms: running auto installation service for kernel 6.17.0-1011-oem
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...
make -j12 KERNELRELEASE=6.17.0-1011-oem -C /lib/modules/6.17.0-1011-oem/build 
M=/var/lib/dkms/virtualbox/7.0.16/build...(bad exit status: 2)
ERROR: Cannot create report: [Errno 17] File exists: 
'/var/crash/virtualbox-dkms.0.crash'
Error! Bad return status for module build on kernel: 6.17.0-1011-oem (x86_64)
Consult /var/lib/dkms/virtualbox/7.0.16/build/make.log for more information.
dkms autoinstall on 6.17.0-1011-oem/x86_64 failed for virtualbox(10)
Error! One or more modules failed to install during autoinstall.
Refer to previous errors for more information.
 * dkms: autoinstall for kernel 6.17.0-1011-oem
   ...fail!
run-parts: /etc/kernel/header_postinst.d/dkms exited with return code 11
dpkg: error processing package linux-headers-6.17.0-1011-oem (--configure):
 installed linux-headers-6.17.0-1011-oem package post-installation script 
subprocess returned error exit status 11
Setting up linux-image-6.17.0-1012-oem (6.17.0-1012.12) ...
I: /boot/initrd.img is now a symlink to initrd.img-6.17.0-1012-oem
Setting up linux-headers-6.17.0-1012-oem (6.17.0-1012.12) ...
/etc/kernel/header_postinst.d/dkms:
 * dkms: running auto installation service for kernel 6.17.0-1012-oem
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...
make -j12 KERNELRELEASE=6.17.0-1012-oem -C /lib/modules/6.17.0-1012-oem/build 
M=/var/lib/dkms/virtualbox/7.0.16/build...(bad exit status: 2)
ERROR: Cannot create report: [Errno 17] File exists: 
'/var/crash/virtualbox-dkms.0.crash'
Error! Bad return status for module build on kernel: 6.17.0-1012-oem (x86_64)
Consult /var/lib/dkms/virtualbox/7.0.16/build/make.log for more information.
dkms autoinstall on 6.17.0-1012-oem/x86_64 failed for virtualbox(10)
Error! One or more modules failed to install during autoinstall.
Refer to previous errors for more information.
 * dkms: autoinstall for kernel 6.17.0-1012-oem
   ...fail!
run-parts: /etc/kernel/header_postinst.d/dkms exited with return code 11
dpkg: error processing package linux-headers-6.17.0-1012-oem (--configure):
 installed linux-headers-6.17.0-1012-oem package post-installation script 
subprocess returned error exit status 11
dpkg: dependency problems prevent configuration of linux-headers-oem-24.04:
 linux-headers-oem-24.04 depends on linux-headers-6.17.0-1012-oem; however:
  Package linux-headers-6.17.0-1012-oem is not configured yet.

dpkg: error processing package linux-headers-oem-24.04 (--configure):
 dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of linux-oem-24.04:
 linux-oem-24.04 depends on linux-headers-oem-24.04 (= 6.17.0-1012.12); however:
  Package linux-headers-oem-24.04 is not configured yet.

dpkg: error processing package linux-oem-24.04 (--configure):
 dependency problems - leaving unconfigured
Processing triggers for linux-image-6.17.0-1011-oem (6.17.0-1011.11) ...
/etc/kernel/postinst.d/dkms:
 * dkms: running auto installation service for kernel 6.17.0-1011-oem
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...
make -j12 KERNELRELEASE=6.17.0-1011-oem -C /lib/modules/6.17.0-1011-oem/build 
M=/var/lib/dkms/virtualbox/7.0.16/build...(bad exit status: 2)
ERROR: Cannot create report: [Errno 17] File exists: 
'/var/crash/virtualbox-dkms.0.crash'
Error! Bad return status for module build on kernel: 6.17.0-1011-oem (x86_64)
Consult /var/lib/dkms/virtualbox/7.0.16/build/make.log for more information.
dkms autoinstall on 6.17.0-1011-oem/x86_64 failed for virtualbox(10)
Error! One or more modules failed to install during autoinstall.
Refer to previous errors for more information.
 * dkms: autoinstall for kernel 6.17.0-1011-oem
   ...fail!
run-parts: /etc/kernel/postinst.d/dkms exited with return code 11
dpkg: error processing package linux-image-6.17.0-1011-oem (--configure):
 installed linux-image-6.17.0-1011-oem package post-installation script 
subprocess returned error exit status 11
Processing triggers for linux-image-6.17.0-1012-oem (6.17.0-1012.12) ...
/etc/kernel/postinst.d/dkms:
 * dkms: running auto installation service for kernel 6.17.0-1012-oem
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...
make -j12 KERNELRELEASE=6.17.0-1012-oem -C /lib/modules/6.17.0-1012-oem/build 
M=/var/lib/dkms/virtualbox/7.0.16/build...(bad exit status: 2)
ERROR: Cannot create report: [Errno 17] File exists: 
'/var/crash/virtualbox-dkms.0.crash'
Error! Bad return status for module build on kernel: 6.17.0-1012-oem (x86_64)
Consult /var/lib/dkms/virtualbox/7.0.16/build/make.log for more information.
dkms autoinstall on 6.17.0-1012-oem/x86_64 failed for virtualbox(10)
Error! One or more modules failed to install during autoinstall.
Refer to previous errors for more information.
 * dkms: autoinstall for kernel 6.17.0-1012-oem
   ...fail!
run-parts: /etc/kernel/postinst.d/dkms exited with return code 11
dpkg: error processing package linux-image-6.17.0-1012-oem (--configure):
 installed linux-image-6.17.0-1012-oem package post-installation script 
subprocess returned error exit status 11
Errors were encountered while processing:
 linux-headers-6.17.0-1011-oem
 linux-headers-6.17.0-1012-oem
 linux-headers-oem-24.04
 linux-oem-24.04
 linux-image-6.17.0-1011-oem
 linux-image-6.17.0-1012-oem

ProblemType: Bug
DistroRelease: Ubuntu 24.04
Package: linux-oem-24.04 6.17.0-1012.12
ProcVersionSignature: Ubuntu 6.14.0-1020.20-oem 6.14.11
Uname: Linux 6.14.0-1020-oem x86_64
ApportVersion: 2.28.1-0ubuntu3.8
Architecture: amd64
CasperMD5CheckResult: unknown
CurrentDesktop: KDE
Date: Mon Mar  2 19:56:15 2026
InstallationDate: Installed on 2024-04-30 (671 days ago)
InstallationMedia: Kubuntu 24.04 LTS "Noble Numbat" - Release amd64 (20240425.1)
SourcePackage: linux-meta-oem-6.17
UpgradeStatus: No upgrade log present (probably fresh install)

** Affects: linux-meta-oem-6.17 (Ubuntu)
     Importance: Undecided
         Status: New


** Tags: amd64 apport-bug noble

** Description changed:

  The package fails to install correctly.
  As a result, the corresponding /boot/initrd.img* entry is not created, and a 
kernel panic is reported on next boot ('VFS: Cannot mount root fs (unreadable 
block 0:0)' or something like that) that is fixed by downgrading the kernel to 
its previous version.
  
- Below you can see the exact problem with installation:
+ Metadata:
+ Operating System: Kubuntu 24.04
+ KDE Plasma Version: 5.27.12
+ KDE Frameworks Version: 5.115.0
+ Qt Version: 5.15.13
+ Kernel Version: 6.14.0-1020-oem (64-bit)
+ Graphics Platform: X11
+ Processors: 12 × AMD Ryzen 5 PRO 5675U with Radeon Graphics
+ Memory: 14,4 GiB of RAM
+ Graphics Processor: AMD Radeon Graphics
+ Manufacturer: LENOVO
+ Product Name: 21C5005TGE
+ System Version: ThinkPad L14 Gen 3
+ 
+ Below you can see the exact problem with the installation:
  
  me@computer:~$ sudo dpkg --configure -a
- [sudo] password for me: 
+ [sudo] password for me:
  Setting up linux-image-6.17.0-1011-oem (6.17.0-1011.11) ...
  I: /boot/initrd.img.old is now a symlink to initrd.img-6.8.0-101-generic
  Setting up linux-headers-6.17.0-1011-oem (6.17.0-1011.11) ...
  /etc/kernel/header_postinst.d/dkms:
-  * dkms: running auto installation service for kernel 6.17.0-1011-oem
+  * dkms: running auto installation service for kernel 6.17.0-1011-oem
  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...
  make -j12 KERNELRELEASE=6.17.0-1011-oem -C /lib/modules/6.17.0-1011-oem/build 
M=/var/lib/dkms/virtualbox/7.0.16/build...(bad exit status: 2)
  ERROR: Cannot create report: [Errno 17] File exists: 
'/var/crash/virtualbox-dkms.0.crash'
  Error! Bad return status for module build on kernel: 6.17.0-1011-oem (x86_64)
  Consult /var/lib/dkms/virtualbox/7.0.16/build/make.log for more information.
  dkms autoinstall on 6.17.0-1011-oem/x86_64 failed for virtualbox(10)
  Error! One or more modules failed to install during autoinstall.
  Refer to previous errors for more information.
-  * dkms: autoinstall for kernel 6.17.0-1011-oem
-    ...fail!
+  * dkms: autoinstall for kernel 6.17.0-1011-oem
+    ...fail!
  run-parts: /etc/kernel/header_postinst.d/dkms exited with return code 11
  dpkg: error processing package linux-headers-6.17.0-1011-oem (--configure):
-  installed linux-headers-6.17.0-1011-oem package post-installation script 
subprocess returned error exit status 11
+  installed linux-headers-6.17.0-1011-oem package post-installation script 
subprocess returned error exit status 11
  Setting up linux-image-6.17.0-1012-oem (6.17.0-1012.12) ...
  I: /boot/initrd.img is now a symlink to initrd.img-6.17.0-1012-oem
  Setting up linux-headers-6.17.0-1012-oem (6.17.0-1012.12) ...
  /etc/kernel/header_postinst.d/dkms:
-  * dkms: running auto installation service for kernel 6.17.0-1012-oem
+  * dkms: running auto installation service for kernel 6.17.0-1012-oem
  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...
  make -j12 KERNELRELEASE=6.17.0-1012-oem -C /lib/modules/6.17.0-1012-oem/build 
M=/var/lib/dkms/virtualbox/7.0.16/build...(bad exit status: 2)
  ERROR: Cannot create report: [Errno 17] File exists: 
'/var/crash/virtualbox-dkms.0.crash'
  Error! Bad return status for module build on kernel: 6.17.0-1012-oem (x86_64)
  Consult /var/lib/dkms/virtualbox/7.0.16/build/make.log for more information.
  dkms autoinstall on 6.17.0-1012-oem/x86_64 failed for virtualbox(10)
  Error! One or more modules failed to install during autoinstall.
  Refer to previous errors for more information.
-  * dkms: autoinstall for kernel 6.17.0-1012-oem
-    ...fail!
+  * dkms: autoinstall for kernel 6.17.0-1012-oem
+    ...fail!
  run-parts: /etc/kernel/header_postinst.d/dkms exited with return code 11
  dpkg: error processing package linux-headers-6.17.0-1012-oem (--configure):
-  installed linux-headers-6.17.0-1012-oem package post-installation script 
subprocess returned error exit status 11
+  installed linux-headers-6.17.0-1012-oem package post-installation script 
subprocess returned error exit status 11
  dpkg: dependency problems prevent configuration of linux-headers-oem-24.04:
-  linux-headers-oem-24.04 depends on linux-headers-6.17.0-1012-oem; however:
-   Package linux-headers-6.17.0-1012-oem is not configured yet.
+  linux-headers-oem-24.04 depends on linux-headers-6.17.0-1012-oem; however:
+   Package linux-headers-6.17.0-1012-oem is not configured yet.
  
  dpkg: error processing package linux-headers-oem-24.04 (--configure):
-  dependency problems - leaving unconfigured
+  dependency problems - leaving unconfigured
  dpkg: dependency problems prevent configuration of linux-oem-24.04:
-  linux-oem-24.04 depends on linux-headers-oem-24.04 (= 6.17.0-1012.12); 
however:
-   Package linux-headers-oem-24.04 is not configured yet.
+  linux-oem-24.04 depends on linux-headers-oem-24.04 (= 6.17.0-1012.12); 
however:
+   Package linux-headers-oem-24.04 is not configured yet.
  
  dpkg: error processing package linux-oem-24.04 (--configure):
-  dependency problems - leaving unconfigured
+  dependency problems - leaving unconfigured
  Processing triggers for linux-image-6.17.0-1011-oem (6.17.0-1011.11) ...
  /etc/kernel/postinst.d/dkms:
-  * dkms: running auto installation service for kernel 6.17.0-1011-oem
+  * dkms: running auto installation service for kernel 6.17.0-1011-oem
  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...
  make -j12 KERNELRELEASE=6.17.0-1011-oem -C /lib/modules/6.17.0-1011-oem/build 
M=/var/lib/dkms/virtualbox/7.0.16/build...(bad exit status: 2)
  ERROR: Cannot create report: [Errno 17] File exists: 
'/var/crash/virtualbox-dkms.0.crash'
  Error! Bad return status for module build on kernel: 6.17.0-1011-oem (x86_64)
  Consult /var/lib/dkms/virtualbox/7.0.16/build/make.log for more information.
  dkms autoinstall on 6.17.0-1011-oem/x86_64 failed for virtualbox(10)
  Error! One or more modules failed to install during autoinstall.
  Refer to previous errors for more information.
-  * dkms: autoinstall for kernel 6.17.0-1011-oem
-    ...fail!
+  * dkms: autoinstall for kernel 6.17.0-1011-oem
+    ...fail!
  run-parts: /etc/kernel/postinst.d/dkms exited with return code 11
  dpkg: error processing package linux-image-6.17.0-1011-oem (--configure):
-  installed linux-image-6.17.0-1011-oem package post-installation script 
subprocess returned error exit status 11
+  installed linux-image-6.17.0-1011-oem package post-installation script 
subprocess returned error exit status 11
  Processing triggers for linux-image-6.17.0-1012-oem (6.17.0-1012.12) ...
  /etc/kernel/postinst.d/dkms:
-  * dkms: running auto installation service for kernel 6.17.0-1012-oem
+  * dkms: running auto installation service for kernel 6.17.0-1012-oem
  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...
  make -j12 KERNELRELEASE=6.17.0-1012-oem -C /lib/modules/6.17.0-1012-oem/build 
M=/var/lib/dkms/virtualbox/7.0.16/build...(bad exit status: 2)
  ERROR: Cannot create report: [Errno 17] File exists: 
'/var/crash/virtualbox-dkms.0.crash'
  Error! Bad return status for module build on kernel: 6.17.0-1012-oem (x86_64)
  Consult /var/lib/dkms/virtualbox/7.0.16/build/make.log for more information.
  dkms autoinstall on 6.17.0-1012-oem/x86_64 failed for virtualbox(10)
  Error! One or more modules failed to install during autoinstall.
  Refer to previous errors for more information.
-  * dkms: autoinstall for kernel 6.17.0-1012-oem
-    ...fail!
+  * dkms: autoinstall for kernel 6.17.0-1012-oem
+    ...fail!
  run-parts: /etc/kernel/postinst.d/dkms exited with return code 11
  dpkg: error processing package linux-image-6.17.0-1012-oem (--configure):
-  installed linux-image-6.17.0-1012-oem package post-installation script 
subprocess returned error exit status 11
+  installed linux-image-6.17.0-1012-oem package post-installation script 
subprocess returned error exit status 11
  Errors were encountered while processing:
-  linux-headers-6.17.0-1011-oem
-  linux-headers-6.17.0-1012-oem
-  linux-headers-oem-24.04
-  linux-oem-24.04
-  linux-image-6.17.0-1011-oem
-  linux-image-6.17.0-1012-oem
+  linux-headers-6.17.0-1011-oem
+  linux-headers-6.17.0-1012-oem
+  linux-headers-oem-24.04
+  linux-oem-24.04
+  linux-image-6.17.0-1011-oem
+  linux-image-6.17.0-1012-oem
  
  ProblemType: Bug
  DistroRelease: Ubuntu 24.04
  Package: linux-oem-24.04 6.17.0-1012.12
  ProcVersionSignature: Ubuntu 6.14.0-1020.20-oem 6.14.11
  Uname: Linux 6.14.0-1020-oem x86_64
  ApportVersion: 2.28.1-0ubuntu3.8
  Architecture: amd64
  CasperMD5CheckResult: unknown
  CurrentDesktop: KDE
  Date: Mon Mar  2 19:56:15 2026
  InstallationDate: Installed on 2024-04-30 (671 days ago)
  InstallationMedia: Kubuntu 24.04 LTS "Noble Numbat" - Release amd64 
(20240425.1)
  SourcePackage: linux-meta-oem-6.17
  UpgradeStatus: No upgrade log present (probably fresh install)

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/2143034

Title:
  post-installation script subprocess returned error exit status 11

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux-meta-oem-6.17/+bug/2143034/+subscriptions


-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to