package nvidia-dkms-525 (not installed) failed to install/upgrade: installed nvidia-dkms-525 package post-installation script subprocess returned error exit status 10

Bug #2000255 reported by Heng Meng Pei
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
nvidia-graphics-drivers-525 (Ubuntu)
New
Undecided
Unassigned

Bug Description

Failed to install nvidia-driver-470 and 525.

Building initial module for 5.15.0-56-generic
Error! Bad return status for module build on kernel: 5.15.0-56-generic (x86_64)
Consult /var/lib/dkms/nvidia/470.161.03/build/make.log for more information.
dpkg: error processing package nvidia-dkms-470 (--configure):
 installed nvidia-dkms-470 package post-installation script subprocess returned error exit status 10
dpkg: dependency problems prevent configuration of nvidia-driver-470:
 nvidia-driver-470 depends on nvidia-dkms-470 (<= 470.161.03-1); however:
  Package nvidia-dkms-470 is not configured yet.
 nvidia-driver-470 depends on nvidia-dkms-470 (>= 470.161.03); however:
  Package nvidia-dkms-470 is not configured yet.

dpkg: error processing package nvidia-driver-470 (--configure):
 dependency problems - leaving unconfigured
Setting up libnvidia-encode-470:amd64 (470.161.03-0ubuntu0.20.04.1) ...
No apport report written because the error message indicates its a followup error from a previous failur
e.
  Setting up libnvidia-encode-470:i386 (470.161.03-0ubuntu0.20.04.1) ...
Processing triggers for mime-support (3.64ubuntu1) ...
Processing triggers for gnome-menus (3.36.0-1ubuntu1) ...
Processing triggers for libc-bin (2.31-0ubuntu9.9) ...
/sbin/ldconfig.real: /lib32/libstlink.so.1 is not a symbolic link

Processing triggers for man-db (2.9.1-1) ...
Processing triggers for desktop-file-utils (0.24-1ubuntu3) ...
Processing triggers for initramfs-tools (0.136ubuntu6.7) ...
update-initramfs: Generating /boot/initrd.img-5.15.0-56-generic
I: The initramfs will attempt to resume from /dev/sdb2
I: (UUID=4d1d344f-c351-4b35-b13e-30c04df4a233)
I: Set the RESUME variable to override this.
Errors were encountered while processing:
 nvidia-dkms-470
 nvidia-driver-470
E: Sub-process /usr/bin/dpkg returned an error code (1)

ProblemType: Package
DistroRelease: Ubuntu 20.04
Package: nvidia-dkms-525 (not installed)
ProcVersionSignature: Ubuntu 5.15.0-56.62~20.04.1-generic 5.15.64
Uname: Linux 5.15.0-56-generic x86_64
ApportVersion: 2.20.11-0ubuntu27.25
Architecture: amd64
CasperMD5CheckResult: skip
Date: Wed Dec 21 22:34:03 2022
ErrorMessage: installed nvidia-dkms-525 package post-installation script subprocess returned error exit status 10
InstallationDate: Installed on 2021-08-05 (502 days ago)
InstallationMedia: Ubuntu 20.04.2.0 LTS "Focal Fossa" - Release amd64 (20210209.1)
Python3Details: /usr/bin/python3.8, Python 3.8.10, python3-minimal, 3.8.2-0ubuntu2
PythonDetails: N/A
RelatedPackageVersions:
 dpkg 1.19.7ubuntu3.2
 apt 2.0.9
SourcePackage: nvidia-graphics-drivers-525
Title: package nvidia-dkms-525 (not installed) failed to install/upgrade: installed nvidia-dkms-525 package post-installation script subprocess returned error exit status 10
UpgradeStatus: No upgrade log present (probably fresh install)

Revision history for this message
Heng Meng Pei (mpheng) wrote :
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.