Public bug reported: [Summary]
nvidia-dkms-580-open fails to configure on an OEM 6.17 kernel because DKMS attempts to locally build the NVIDIA 580.159.03 open kernel module for 6.17.0-1025-oem. However, the system already has the corresponding prebuilt NVIDIA kernel module packages installed: linux-modules-nvidia-580-open-6.17.0-1025-oem [Impact] The system is left in a broken package configuration state because nvidia-dkms-580-open fails during post-installation/configuration. It also caused the system can't boot with 6.17.0-1025-oem kernel. [Logs] Building module: Cleaning build area... unset ARCH; [ ! -h /usr/bin/cc ] && export CC=/usr/bin/gcc; env NV_VERBOSE=1 'make' -j16 NV_EXCLUDE_BUILD_MODULES='' KERNEL_UNAME=6.17.0-1025-oem IGNORE_XEN_PRESENCE=1 IGNORE_CC_MISMATCH=1 SYSSRC=/lib/modules/6.17.0-1025-oem/build LD=/usr/bin/ld.bfd CONFIG_X86_KERNEL_IBT= modules.......(bad exit status: 2) ERROR (dkms apport): There was a segmentation fault when trying to build the module Error! Bad return status for module build on kernel: 6.17.0-1025-oem (x86_64) Consult /var/lib/dkms/nvidia/580.159.03/build/make.log for more information. dkms autoinstall on 6.17.0-1025-oem/x86_64 failed for nvidia(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-1025-oem ...fail! run-parts: /etc/kernel/postinst.d/dkms exited with return code 11 dpkg: error processing package linux-image-6.17.0-1025-oem (--configure): installed linux-image-6.17.0-1025-oem package post-installation script subprocess returned error exit status 11 Processing triggers for ca-certificates (20260601~24.04.1) ... Updating certificates in /etc/ssl/certs... 0 added, 0 removed; done. Running hooks in /etc/ca-certificates/update.d... done. Processing triggers for initramfs-tools (0.142ubuntu25.8) ... update-initramfs: Generating /boot/initrd.img-6.11.0-1022-oem Processing triggers for libc-bin (2.39-0ubuntu8.7) ... Errors were encountered while processing: nvidia-dkms-580-open linux-image-6.17.0-1025-oem E: Sub-process /usr/bin/dpkg returned an error code (1) ProblemType: Bug DistroRelease: Ubuntu 24.04 Package: nvidia-dkms-580-open 580.159.03-0ubuntu0.24.04.1 ProcVersionSignature: Ubuntu 6.11.0-1022.22-oem 6.11.11 Uname: Linux 6.11.0-1022-oem x86_64 ApportVersion: 2.28.1-0ubuntu3.8 Architecture: amd64 CasperMD5CheckMismatches: ./casper/initrd ./casper/vmlinuz ./casper/minimal.standard.live.hotfix.manifest ./casper/minimal.standard.live.hotfix.size ./casper/minimal.standard.live.size ./casper/minimal.manifest ./casper/minimal.standard.manifest ./casper/minimal.standard.size ./casper/minimal.hotfix.size ./casper/minimal.standard.live.hotfix.squashfs ./casper/minimal.standard.hotfix.squashfs ./casper/minimal.standard.hotfix.size ./casper/minimal.hotfix.squashfs ./casper/minimal.standard.live.manifest ./casper/minimal.size ./boot/grub/grub.cfg CasperMD5CheckResult: fail Date: Thu Jun 25 06:01:57 2026 DistributionChannelDescriptor: # This is the distribution channel descriptor for Ubuntu 24.04 for Dell # For more information see http://wiki.ubuntu.com/DistributionChannelDescriptor canonical-oem-somerville-noble-oem-24.04b-proposed-20250516-509 InstallationDate: Installed on 2026-06-25 (0 days ago) InstallationMedia: Ubuntu OEM 24.04.2 LTS "Noble Numbat" - Release amd64 (20250515) ProcEnviron: LANG=en_US.UTF-8 PATH=(custom, no user) SHELL=/bin/bash TERM=xterm-256color RebootRequiredPkgs: Error: path contained symlinks. SourcePackage: nvidia-graphics-drivers-580 UpgradeStatus: No upgrade log present (probably fresh install) ** Affects: nvidia-graphics-drivers-580 (Ubuntu) Importance: Undecided Status: New ** Tags: amd64 apport-bug noble ** Description changed: [Summary] nvidia-dkms-580-open fails to configure on an OEM 6.17 kernel because DKMS attempts to locally build the NVIDIA 580.159.03 open kernel module for 6.17.0-1025-oem. However, the system already has the corresponding prebuilt NVIDIA kernel module packages installed: linux-modules-nvidia-580-open-6.17.0-1025-oem [Impact] The system is left in a broken package configuration state because nvidia-dkms-580-open fails during post-installation/configuration. It also caused the system can't boot with 6.17.0-1025-oem kernel. + [Logs] + + Building module: + + Cleaning build area... + + unset ARCH; [ ! -h /usr/bin/cc ] && export CC=/usr/bin/gcc; env + NV_VERBOSE=1 'make' -j16 NV_EXCLUDE_BUILD_MODULES='' + KERNEL_UNAME=6.17.0-1025-oem IGNORE_XEN_PRESENCE=1 IGNORE_CC_MISMATCH=1 + SYSSRC=/lib/modules/6.17.0-1025-oem/build LD=/usr/bin/ld.bfd + CONFIG_X86_KERNEL_IBT= modules.......(bad exit status: 2) + + ERROR (dkms apport): There was a segmentation fault when trying to build + the module + + Error! Bad return status for module build on kernel: 6.17.0-1025-oem + (x86_64) + + Consult /var/lib/dkms/nvidia/580.159.03/build/make.log for more + information. + + dkms autoinstall on 6.17.0-1025-oem/x86_64 failed for nvidia(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-1025-oem + + ...fail! + + run-parts: /etc/kernel/postinst.d/dkms exited with return code 11 + + dpkg: error processing package linux-image-6.17.0-1025-oem + (--configure): + + installed linux-image-6.17.0-1025-oem package post-installation script + subprocess returned error exit status 11 + + Processing triggers for ca-certificates (20260601~24.04.1) ... + + Updating certificates in /etc/ssl/certs... + + 0 added, 0 removed; done. + + Running hooks in /etc/ca-certificates/update.d... + + done. + + Processing triggers for initramfs-tools (0.142ubuntu25.8) ... + + update-initramfs: Generating /boot/initrd.img-6.11.0-1022-oem + + Processing triggers for libc-bin (2.39-0ubuntu8.7) ... + + Errors were encountered while processing: + + nvidia-dkms-580-open + + linux-image-6.17.0-1025-oem + + E: Sub-process /usr/bin/dpkg returned an error code (1) + ProblemType: Bug DistroRelease: Ubuntu 24.04 Package: nvidia-dkms-580-open 580.159.03-0ubuntu0.24.04.1 ProcVersionSignature: Ubuntu 6.11.0-1022.22-oem 6.11.11 Uname: Linux 6.11.0-1022-oem x86_64 ApportVersion: 2.28.1-0ubuntu3.8 Architecture: amd64 CasperMD5CheckMismatches: ./casper/initrd ./casper/vmlinuz ./casper/minimal.standard.live.hotfix.manifest ./casper/minimal.standard.live.hotfix.size ./casper/minimal.standard.live.size ./casper/minimal.manifest ./casper/minimal.standard.manifest ./casper/minimal.standard.size ./casper/minimal.hotfix.size ./casper/minimal.standard.live.hotfix.squashfs ./casper/minimal.standard.hotfix.squashfs ./casper/minimal.standard.hotfix.size ./casper/minimal.hotfix.squashfs ./casper/minimal.standard.live.manifest ./casper/minimal.size ./boot/grub/grub.cfg CasperMD5CheckResult: fail Date: Thu Jun 25 06:01:57 2026 DistributionChannelDescriptor: - # This is the distribution channel descriptor for Ubuntu 24.04 for Dell - # For more information see http://wiki.ubuntu.com/DistributionChannelDescriptor - canonical-oem-somerville-noble-oem-24.04b-proposed-20250516-509 + # This is the distribution channel descriptor for Ubuntu 24.04 for Dell + # For more information see http://wiki.ubuntu.com/DistributionChannelDescriptor + canonical-oem-somerville-noble-oem-24.04b-proposed-20250516-509 InstallationDate: Installed on 2026-06-25 (0 days ago) InstallationMedia: Ubuntu OEM 24.04.2 LTS "Noble Numbat" - Release amd64 (20250515) ProcEnviron: - LANG=en_US.UTF-8 - PATH=(custom, no user) - SHELL=/bin/bash - TERM=xterm-256color + LANG=en_US.UTF-8 + PATH=(custom, no user) + SHELL=/bin/bash + TERM=xterm-256color RebootRequiredPkgs: Error: path contained symlinks. SourcePackage: nvidia-graphics-drivers-580 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/2158237 Title: nvidia-dkms-580-open attempts a DKMS build despite prebuilt linux- modules-nvidia-580-open packages being installed To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/nvidia-graphics-drivers-580/+bug/2158237/+subscriptions -- ubuntu-bugs mailing list [email protected] https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
