Public bug reported:

I've had just turned on my pc and (as per usuual) ran my apt
update/upgrade. I'm not a linux expert, and this is the first time ever
seeing this kind of message, so I'm not sure what to do here

lsb_release -rd
No LSB modules are available.
Description:    Ubuntu 24.04.4 LTS
Release:        24.04

Building module:
Cleaning build area...
make -j8 KERNELRELEASE=7.0.0-28-generic -C /lib/modules/7.0.0-28-generic/build 
M=/var/lib/dkms/virtualbox/7.0.16/build.....(bad exit status: 2)
Error! Bad return status for module build on kernel: 7.0.0-28-generic (x86_64)
Consult /var/lib/dkms/virtualbox/7.0.16/build/make.log for more information.
dkms autoinstall on 7.0.0-28-generic/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 7.0.0-28-generic
   ...fail!
run-parts: /etc/kernel/header_postinst.d/dkms exited with return code 11
dpkg: error processing package linux-headers-7.0.0-28-generic (--configure):
 installed linux-headers-7.0.0-28-generic package post-installation script 
subprocess returned error exit status 11
Setting up ntfs-3g (1:2022.10.3-1.2ubuntu3.2) ...
Setting up linux-modules-7.0.0-28-generic (7.0.0-28.28~24.04.1) ...
Setting up python3-idna (3.6-2ubuntu0.2) ...
Setting up libslirp0:amd64 (4.7.0-1ubuntu3.1) ...
dpkg: dependency problems prevent configuration of 
linux-headers-generic-hwe-24.04:
 linux-headers-generic-hwe-24.04 depends on linux-headers-7.0.0-28-generic; 
however:
  Package linux-headers-7.0.0-28-generic is not configured yet.

dpkg: error processing package linux-headers-generic-hwe-24.04 (--configure):
 dependency problems - leaving unconfigured
Setting up linux-tools-common (6.8.0-136.136) ...
No apport report written because the error message indicates its a followup 
error from a previous failure.
                                                                                
                          Setting up ubuntu-pro-client (37.2ubuntu~24.04.1) ...
Setting up linux-hwe-7.0-tools-7.0.0-28 (7.0.0-28.28~24.04.1) ...
Setting up ubuntu-pro-client-l10n (37.2ubuntu~24.04.1) ...
Setting up linux-tools-7.0.0-28-generic (7.0.0-28.28~24.04.1) ...
Setting up linux-image-7.0.0-28-generic (7.0.0-28.28~24.04.1) ...
I: /boot/vmlinuz.old is now a symlink to vmlinuz-6.17.0-40-generic
I: /boot/initrd.img.old is now a symlink to initrd.img-6.17.0-40-generic
I: /boot/vmlinuz is now a symlink to vmlinuz-7.0.0-28-generic
I: /boot/initrd.img is now a symlink to initrd.img-7.0.0-28-generic
Setting up linux-image-generic-hwe-24.04 (7.0.0-28.28~24.04.1) ...
dpkg: dependency problems prevent configuration of linux-generic-hwe-24.04:
 linux-generic-hwe-24.04 depends on linux-headers-generic-hwe-24.04 (= 
7.0.0-28.28~24.04.1); however:
  Package linux-headers-generic-hwe-24.04 is not configured yet.

dpkg: error processing package linux-generic-hwe-24.04 (--configure):
 dependency problems - leaving unconfigured
No apport report written because the error message indicates its a followup 
error from a previous failure.
                                                                                
                          Processing triggers for libc-bin (2.39-0ubuntu8.7) ...
Processing triggers for man-db (2.12.0-4build2) ...
Processing triggers for initramfs-tools (0.142ubuntu25.8) ...
update-initramfs: Generating /boot/initrd.img-6.17.0-40-generic
Processing triggers for linux-image-7.0.0-28-generic (7.0.0-28.28~24.04.1) ...
/etc/kernel/postinst.d/dkms:
 * dkms: running auto installation service for kernel 7.0.0-28-generic
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 -j8 KERNELRELEASE=7.0.0-28-generic -C /lib/modules/7.0.0-28-generic/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: 7.0.0-28-generic (x86_64)
Consult /var/lib/dkms/virtualbox/7.0.16/build/make.log for more information.
dkms autoinstall on 7.0.0-28-generic/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 7.0.0-28-generic
   ...fail!
run-parts: /etc/kernel/postinst.d/dkms exited with return code 11
dpkg: error processing package linux-image-7.0.0-28-generic (--configure):
 installed linux-image-7.0.0-28-generic package post-installation script 
subprocess returned error exit status 11
No apport report written because MaxReports is reached already
                                                              Errors were 
encountered while processing:
 linux-headers-7.0.0-28-generic
 linux-headers-generic-hwe-24.04
 linux-generic-hwe-24.04
 linux-image-7.0.0-28-generic
E: Sub-process /usr/bin/dpkg returned an error code (1)

ProblemType: Package
DistroRelease: Ubuntu 24.04
Package: linux-headers-7.0.0-28-generic 7.0.0-28.28~24.04.1
ProcVersionSignature: Ubuntu 6.17.0-40.40~24.04.1-generic 6.17.13
Uname: Linux 6.17.0-40-generic x86_64
NonfreeKernelModules: nvidia_modeset nvidia
ApportVersion: 2.28.2-0ubuntu0.1
Architecture: amd64
AudioDevicesInUse:
 USER        PID ACCESS COMMAND
 /dev/snd/controlC0:  tavares    2755 F.... wireplumber
 /dev/snd/seq:        tavares    2751 F.... pipewire
CRDA: N/A
CasperMD5CheckResult: pass
Date: Sat Jul 18 13:19:04 2026
ErrorMessage: installed linux-headers-7.0.0-28-generic package 
post-installation script subprocess returned error exit status 11
InstallationDate: Installed on 2026-02-20 (148 days ago)
InstallationMedia: Ubuntu 24.04.4 LTS "Noble Numbat" - Release amd64 (20260210)
Lsusb:
 Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
 Bus 001 Device 002: ID 046d:c332 Logitech, Inc. G502 Proteus Spectrum Optical 
Mouse
 Bus 001 Device 003: ID 04f2:b424 Chicony Electronics Co., Ltd USB2.0 HD UVC 
WebCam
 Bus 001 Device 004: ID 8087:0a2a Intel Corp. Bluetooth wireless interface
 Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
MachineType: ASUSTeK COMPUTER INC. GL552VW
ProcFB: 0 i915drmfb
ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-6.17.0-40-generic 
root=UUID=cb1ff683-e2fd-48b2-a752-a50c5283f2bc ro quiet splash vt.handoff=7
Python3Details: /usr/bin/python3.12, Python 3.12.3, python3-minimal, 
3.12.3-0ubuntu2.1
PythonDetails: N/A
RelatedPackageVersions: grub-pc N/A
SourcePackage: linux-hwe-7.0
Title: package linux-headers-7.0.0-28-generic 7.0.0-28.28~24.04.1 failed to 
install/upgrade: installed linux-headers-7.0.0-28-generic package 
post-installation script subprocess returned error exit status 11
UpgradeStatus: No upgrade log present (probably fresh install)
dmi.bios.date: 04/25/2019
dmi.bios.release: 5.11
dmi.bios.vendor: American Megatrends Inc.
dmi.bios.version: GL552VW.304
dmi.board.asset.tag: ATN12345678901234567
dmi.board.name: GL552VW
dmi.board.vendor: ASUSTeK COMPUTER INC.
dmi.board.version: 1.0
dmi.chassis.asset.tag: ATN12345678901234567
dmi.chassis.type: 10
dmi.chassis.vendor: ASUSTeK COMPUTER INC.
dmi.chassis.version: 1.0
dmi.modalias: 
dmi:bvnAmericanMegatrendsInc.:bvrGL552VW.304:bd04/25/2019:br5.11:svnASUSTeKCOMPUTERINC.:pnGL552VW:pvr1.0:rvnASUSTeKCOMPUTERINC.:rnGL552VW:rvr1.0:cvnASUSTeKCOMPUTERINC.:ct10:cvr1.0:skuASUS-NotebookSKU:
dmi.product.family: GL
dmi.product.name: GL552VW
dmi.product.sku: ASUS-NotebookSKU
dmi.product.version: 1.0
dmi.sys.vendor: ASUSTeK COMPUTER INC.

** Affects: linux-hwe-7.0 (Ubuntu)
     Importance: Undecided
         Status: New


** Tags: amd64 apport-package noble

** Attachment added: "txt file containing the outputs of today's upgrade 
(/var/log/apt/history.log and /var/log/apt/term.log)"
   https://bugs.launchpad.net/bugs/2161206/+attachment/5983677/+files/logs.txt

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

Title:
  package linux-headers-7.0.0-28-generic 7.0.0-28.28~24.04.1 failed to
  install/upgrade: installed linux-headers-7.0.0-28-generic package
  post-installation script subprocess returned error exit status 11

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux-hwe-7.0/+bug/2161206/+subscriptions


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

Reply via email to