Public bug reported:
Hi, currently my machine is on this kernel version 6.14.0-37-generic and
trying to update my machine with linux-image-6.17.0-14-generic kernel
and facing this issue. even tried removing old kernels getting the same
issue.
Setting up linux-headers-6.17.0-14-generic (6.17.0-14.14~24.04.1) ...
/etc/kernel/header_postinst.d/dkms:
* dkms: running auto installation service for kernel 6.17.0-14-generic
Sign command: /usr/bin/kmodsign
Binary update-secureboot-policy not found, modules won't be signed
Building module:
Cleaning build area...
make -j4 KERNELRELEASE=6.17.0-14-generic -C
/lib/modules/6.17.0-14-generic/build
M=/var/lib/dkms/virtualbox/7.0.16/build...(bad exit status: 2)
Error! Bad return status for module build on kernel: 6.17.0-14-generic (x86_64)
Consult /var/lib/dkms/virtualbox/7.0.16/build/make.log for more information.
dkms autoinstall on 6.17.0-14-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 6.17.0-14-generic
...fail!
run-parts: /etc/kernel/header_postinst.d/dkms exited with return code 11
dpkg: error processing package linux-headers-6.17.0-14-generic (--configure):No
apport report written because the error message indicates its a followup error
from a previous failure.
installed linux-headers-6.17.0-14-generic package post-installation script
subprocess returned error exit status 11
dpkg: dependency problems prevent configuration of
linux-headers-generic-hwe-24.04:
linux-headers-generic-hwe-24.04 depends on linux-headers-6.17.0-14-generic;
however:
Package linux-headers-6.17.0-14-generic is not configured yet.
dpkg: error processing package linux-headers-generic-hwe-24.04 (--configure):
dependency problems - leaving unconfigured
Errors were encountered while processing:
linux-headers-6.17.0-14-generic
linux-headers-generic-hwe-24.04
E: Sub-process /usr/bin/dpkg returned an error code (1)
ProblemType: Package
DistroRelease: Ubuntu 24.04
Package: virtualbox-dkms 7.0.16-dfsg-2ubuntu1.1
ProcVersionSignature: Ubuntu 6.14.0-37.37~24.04.1-generic 6.14.11
Uname: Linux 6.14.0-37-generic x86_64
ApportVersion: 2.28.1-0ubuntu3.8
Architecture: amd64
CasperMD5CheckResult: pass
DKMSKernelVersion: 6.17.0-14-generic
Date: Fri Feb 13 14:17:17 2026
InstallationDate: Installed on 2025-07-02 (226 days ago)
InstallationMedia: Ubuntu 24.04.2 LTS "Noble Numbat" - Release amd64 (20250215)
PackageVersion: 7.0.16-dfsg-2ubuntu1.1
Python3Details: /usr/local/bin/python3.13, Python 3.13.3, unpackaged
PythonDetails: N/A
RelatedPackageVersions:
dpkg 1.22.6ubuntu6.5
apt 2.8.3
SourcePackage: virtualbox
Title: virtualbox-dkms 7.0.16-dfsg-2ubuntu1.1: virtualbox kernel module failed
to build
UpgradeStatus: No upgrade log present (probably fresh install)
** Affects: virtualbox (Ubuntu)
Importance: Undecided
Status: New
** Tags: amd64 apport-package noble
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/2141746
Title:
virtualbox-dkms 7.0.16-dfsg-2ubuntu1.1: virtualbox kernel module
failed to build
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/virtualbox/+bug/2141746/+subscriptions
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs