Public bug reported:
The following packages have been kept back:
libgl1-amber-dri mysql-client mysql-server
0 upgraded, 0 newly installed, 0 to remove and 3 not upgraded.
4 not fully installed or removed.
After this operation, 0 B of additional disk space will be used.
Do you want to continue? [Y/n]
Setting up linux-image-6.17.0-14-generic (6.17.0-14.14~24.04.1) ...
I: /boot/initrd.img.old is now a symlink to initrd.img-6.17.0-14-generic
Setting up linux-headers-6.17.0-14-generic (6.17.0-14.14~24.04.1) ...
/etc/kernel/header_postinst.d/dkms:
Sign command: /usr/bin/kmodsign
Signing key: /var/lib/shim-signed/mok/MOK.priv
Public certificate (MOK): /var/lib/shim-signed/mok/MOK.der
Autoinstall of module nvidia/470.256.02 for kernel 6.17.0-14-generic (x86_64)
Building module(s)..............(bad exit status: 2)
Failed command:
unset ARCH; [ ! -h /usr/bin/cc ] && export CC=/usr/bin/gcc; env NV_VERBOSE=1 'ma
ke' -j4 NV_EXCLUDE_BUILD_MODULES='' KERNEL_UNAME=6.17.0-14-generic IGNORE_XEN_PR
ESENCE=1 IGNORE_CC_MISMATCH=1 SYSSRC=/lib/modules/6.17.0-14-generic/build LD=/us
r/bin/ld.bfd CONFIG_X86_KERNEL_IBT= modules
ERROR: Cannot create report: [Errno 17] File exists: '/var/crash/nvidia-dkms-470
.0.crash'
Error! Bad return status for module build on kernel: 6.17.0-14-generic (x86_64)
Consult /var/lib/dkms/nvidia/470.256.02/build/make.log for more information.
Autoinstall on 6.17.0-14-generic failed for module(s) nvidia(10).
Error! One or more modules failed to install during autoinstall.
Refer to previous errors for more information.
run-parts: /etc/kernel/header_postinst.d/dkms exited with return code 1
dpkg: error processing package linux-headers-6.17.0-14-generic (--configure):
installed linux-headers-6.17.0-14-generic package post-installation script subp
rocess returned error exit status 1
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; how
ever:
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
dpkg: dependency problems prevent configuration of linux-generic-hwe-24.04:
linux-generic-hwe-24.04 depends on linux-headers-generic-hwe-24.04 (= 6.17.0-14
.14~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
Processing triggers for linux-image-6.17.0-14-generic (6.17.0-14.14~24.04.1) ...
No apport report written because the error message indicates its a followup erro
r from a previous failure.
No apport report written because the error message ind
icates its a followup error from a previous failure.
/etc/kernel/postinst.d/dkms:
Sign command: /usr/bin/kmodsign
Signing key: /var/lib/shim-signed/mok/MOK.priv
Public certificate (MOK): /var/lib/shim-signed/mok/MOK.der
Autoinstall of module nvidia/470.256.02 for kernel 6.17.0-14-generic (x86_64)
Building module(s)..............(bad exit status: 2)
Failed command:
unset ARCH; [ ! -h /usr/bin/cc ] && export CC=/usr/bin/gcc; env NV_VERBOSE=1 'ma
ke' -j4 NV_EXCLUDE_BUILD_MODULES='' KERNEL_UNAME=6.17.0-14-generic IGNORE_XEN_PR
ESENCE=1 IGNORE_CC_MISMATCH=1 SYSSRC=/lib/modules/6.17.0-14-generic/build LD=/us
r/bin/ld.bfd CONFIG_X86_KERNEL_IBT= modules
ERROR: Cannot create report: [Errno 17] File exists: '/var/crash/nvidia-dkms-470
.0.crash'
Error! Bad return status for module build on kernel: 6.17.0-14-generic (x86_64)
Consult /var/lib/dkms/nvidia/470.256.02/build/make.log for more information.
Autoinstall on 6.17.0-14-generic failed for module(s) nvidia(10).
Error! One or more modules failed to install during autoinstall.
Refer to previous errors for more information.
run-parts: /etc/kernel/postinst.d/dkms exited with return code 1
dpkg: error processing package linux-image-6.17.0-14-generic (--configure):
installed linux-image-6.17.0-14-generic package post-installation script subpro
cess returned error exit status 1
No apport report written because MaxReports is reached already
Errors were encoun
tered while processing:
linux-headers-6.17.0-14-generic
linux-headers-generic-hwe-24.04
linux-generic-hwe-24.04
linux-image-6.17.0-14-generic
E: Sub-process /usr/bin/dpkg returned an error code (1)
ProblemType: Package
DistroRelease: Ubuntu 24.04
Package: linux-headers-6.17.0-14-generic 6.17.0-14.14~24.04.1
ProcVersionSignature: Ubuntu 6.14.0-37.37~24.04.1-generic 6.14.11
Uname: Linux 6.14.0-37-generic x86_64
NonfreeKernelModules: nvidia_modeset nvidia
ApportVersion: 2.28.1-0ubuntu3.8
AptOrdering:
libdjvulibre-text:amd64: Install
libdjvulibre21:amd64: Install
NULL: ConfigurePending
Architecture: amd64
CasperMD5CheckResult: pass
Date: Sun Mar 1 06:38:47 2026
DpkgHistoryLog:
Start-Date: 2026-03-01 06:37:48
Commandline: /usr/bin/unattended-upgrade
Upgrade: libdjvulibre-text:amd64 (3.5.28-2ubuntu0.24.04.1,
3.5.28-2ubuntu0.24.04.2), libdjvulibre21:amd64 (3.5.28-2ubuntu0.24.04.1,
3.5.28-2ubuntu0.24.04.2)
ErrorMessage: installed linux-headers-6.17.0-14-generic package
post-installation script subprocess returned error exit status 1
InstallationDate: Installed on 2024-08-20 (557 days ago)
InstallationMedia: Ubuntu 24.04 LTS "Noble Numbat" - Release amd64 (20240424)
Python3Details: /usr/bin/python3.12, Python 3.12.3, python3-minimal,
3.12.3-0ubuntu2.1
PythonDetails: N/A
RelatedPackageVersions:
dpkg 1.22.6ubuntu6.5
apt 2.8.3
SourcePackage: linux-hwe-6.17
Title: package linux-headers-6.17.0-14-generic 6.17.0-14.14~24.04.1 failed to
install/upgrade: installed linux-headers-6.17.0-14-generic package
post-installation script subprocess returned error exit status 1
UpgradeStatus: No upgrade log present (probably fresh install)
** Affects: linux-hwe-6.17 (Ubuntu)
Importance: Undecided
Status: New
** Tags: amd64 linux-headers-6.17 noble nvidia nvidia-470 nvidia-470-dkms
** Attachment added: "/var/lib/dkms/nvidia/470.256.02/build/make.log"
https://bugs.launchpad.net/bugs/2142963/+attachment/5949295/+files/make.log
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/2142963
Title:
package linux-headers-6.17.0-14-generic 6.17.0-14.14~24.04.1 failed to
install/upgrade: nvidia-470 dkms build fails
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux-hwe-6.17/+bug/2142963/+subscriptions
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs