Problems after install attempt 515.48.07 driver

Hi, I’m encountering many issues in my attempt to update my linux ubuntu 20.04 system to the latest 515.48.07 driver. I have an RTX A5000 laptop GPU.
Initially, I tried installing the 515 driver with sudo apt install nvidia-driver-515 with no luck. Then I tried uninstalling the current driver I have (510) with an ‘apt purge nvidia’ function. After doing that I noticed under additional drivers in software & updates I can’t click on any of the additional drivers I was once able to, and the nvidia X server settings displays an empty window. This occurs after I reset my entire computer with the factory settings so it seems nvidia is completely gone.

I read using the command sudo ubuntu drivers autoinstall was supposed to fix the disappearing nvidia issue but I have the following error.

ashley@ashley-Precision-7760:~$ sudo ubuntu-drivers autoinstall
[sudo] password for ashley:
Reading package lists… Done
**Building dependency tree **
Reading state information… Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:

The following packages have unmet dependencies:
** nvidia-driver-515 : Depends: libnvidia-gl-515 (= 515.48.07-0ubuntu0.20.04.2) but it is not going to be installed**
** Depends: libnvidia-extra-515 (= 515.48.07-0ubuntu0.20.04.2) but it is not going to be installed**
** Recommends: libnvidia-gl-515:i386 (= 515.48.07-0ubuntu0..04.2)
****E: Unable to correct problems, you have held broken packages.

When I try to install the individual driver I had initially (510), I get the following issue…

ashley@ashley-Precision-7760:~$ sudo apt install nvidia-driver-510
Reading package lists… Done
Building dependency tree
Reading state information… Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:

The following packages have unmet dependencies:
nvidia-driver-510 : Depends: libnvidia-gl-510 (= 510.73.05-0ubuntu0.20.04.1) but it is not going to be installed
Depends: libnvidia-extra-510 (= 510.73.05-0ubuntu0.20.04.1) but it is not going to be installed
Recommends: libnvidia-gl-510:i386 (= 510.73.05-0ubuntu0.20.04.1)
E: Unable to correct problems, you have held broken packages.

On a side note, I was also not able to download the Cuda extension 11.7 which I will need to do eventually when I had the 510 driver which I believed it was is supposed to be compatible with?

Any help would be really really appreciated. I’m freaking out I broke my machine and when I try to fix it, things become worse

Please post the output of
dpkg -l |grep nvidia
and
dpkg -l |grep cuda

Thank you for your fast reply! Below are the outputs. As a side note I think I was able to repair what wasn’t working yesterday because when I ran ‘sudo ubuntu-drivers autoinstall’ I didn’t recieve an error and the nvidia drivers reappeared in nvidia X server settings. However while I was able to install the 510 driver, when I ran the sudo apt install nvidia-driver-515 command I got an error (below). I’d really like to know how to cleanly remove the 510 driver and download 515 with cuda extension because everything I find on youtube/formus is outdated and throws errors

ashley@ashley-Precision-7760:~$ dpkg -l |grep nvidia
ii libnvidia-cfg1-510:amd64 510.73.05-0ubuntu0.20.04.1 amd64 NVIDIA binary OpenGL/GLX configuration library
ii libnvidia-common-510 510.73.05-0ubuntu0.20.04.1 all Shared files used by the NVIDIA libraries
rc libnvidia-compute-470:amd64 470.129.06-0ubuntu0.20.04.1 amd64 NVIDIA libcompute package
ii libnvidia-compute-510:amd64 510.73.05-0ubuntu0.20.04.1 amd64 NVIDIA libcompute package
ii libnvidia-compute-510:i386 510.73.05-0ubuntu0.20.04.1 i386 NVIDIA libcompute package
rc libnvidia-compute-515:amd64 515.48.07-0ubuntu0.20.04.2 amd64 NVIDIA libcompute package
ii libnvidia-decode-510:amd64 510.73.05-0ubuntu0.20.04.1 amd64 NVIDIA Video Decoding runtime libraries
ii libnvidia-decode-510:i386 510.73.05-0ubuntu0.20.04.1 i386 NVIDIA Video Decoding runtime libraries
ii libnvidia-encode-510:amd64 510.73.05-0ubuntu0.20.04.1 amd64 NVENC Video Encoding runtime library
ii libnvidia-encode-510:i386 510.73.05-0ubuntu0.20.04.1 i386 NVENC Video Encoding runtime library
ii libnvidia-extra-510:amd64 510.73.05-0ubuntu0.20.04.1 amd64 Extra libraries for the NVIDIA driver
ii libnvidia-fbc1-510:amd64 510.73.05-0ubuntu0.20.04.1 amd64 NVIDIA OpenGL-based Framebuffer Capture runtime library
ii libnvidia-fbc1-510:i386 510.73.05-0ubuntu0.20.04.1 i386 NVIDIA OpenGL-based Framebuffer Capture runtime library
ii libnvidia-gl-510:amd64 510.73.05-0ubuntu0.20.04.1 amd64 NVIDIA OpenGL/GLX/EGL/GLES GLVND libraries and Vulkan ICD
ii libnvidia-gl-510:i386 510.73.05-0ubuntu0.20.04.1 i386 NVIDIA OpenGL/GLX/EGL/GLES GLVND libraries and Vulkan ICD
rc linux-modules-nvidia-470-5.13.0-1010-oem 5.13.0-1010.11 amd64 Linux kernel nvidia modules for version 5.13.0-1010
ii linux-objects-nvidia-470-5.13.0-1010-oem 5.13.0-1010.11 amd64 Linux kernel nvidia modules for version 5.13.0-1010 (objects)
ii linux-objects-nvidia-470-5.13.0-1029-oem 5.13.0-1029.36+1 amd64 Linux kernel nvidia modules for version 5.13.0-1029 (objects)
ii linux-signatures-nvidia-5.13.0-1010-oem 5.13.0-1010.11 amd64 Linux kernel signatures for nvidia modules for version 5.13.0-1010-oem
ii linux-signatures-nvidia-5.13.0-1029-oem 5.13.0-1029.36+1 amd64 Linux kernel signatures for nvidia modules for version 5.13.0-1029-oem
ii nvidia-compute-utils-510 510.73.05-0ubuntu0.20.04.1 amd64 NVIDIA compute utilities
rc nvidia-compute-utils-515 515.48.07-0ubuntu0.20.04.2 amd64 NVIDIA compute utilities
ii nvidia-dkms-510 510.73.05-0ubuntu0.20.04.1 amd64 NVIDIA DKMS package
rc nvidia-dkms-515 515.48.07-0ubuntu0.20.04.2 amd64 NVIDIA DKMS package
ii nvidia-driver-510 510.73.05-0ubuntu0.20.04.1 amd64 NVIDIA driver metapackage
ii nvidia-kernel-common-510 510.73.05-0ubuntu0.20.04.1 amd64 Shared files used with the kernel module
rc nvidia-kernel-common-515 515.48.07-0ubuntu0.20.04.2 amd64 Shared files used with the kernel module
ii nvidia-kernel-source-510 510.73.05-0ubuntu0.20.04.1 amd64 NVIDIA kernel source package
ii nvidia-prime 0.8.16~0.20.04.2 all Tools to enable NVIDIA’s Prime
ii nvidia-settings 470.57.01-0ubuntu0.20.04.3 amd64 Tool for configuring the NVIDIA graphics driver
ii nvidia-utils-510 510.73.05-0ubuntu0.20.04.1 amd64 NVIDIA driver support binaries
ii screen-resolution-extra 0.18build1 all Extension for the nvidia-settings control panel
ii xserver-xorg-video-nvidia-510 510.73.05-0ubuntu0.20.04.1 amd64 NVIDIA binary Xorg driver

ashley@ashley-Precision-7760:~$ dpkg -l |grep cuda
ashley@ashley-Precision-7760:~$

^ above command doesn’t produce output

Here was what happens when I attempt to download 515 now…

ashley@ashley-Precision-7760:~$ sudo apt install nvidia-driver-515
[sudo] password for ashley:
Reading package lists… Done
Building dependency tree
Reading state information… Done
The following additional packages will be installed:
libnvidia-cfg1-515 libnvidia-common-515 libnvidia-compute-515
libnvidia-compute-515:i386 libnvidia-decode-515 libnvidia-decode-515:i386
libnvidia-encode-515 libnvidia-encode-515:i386 libnvidia-extra-515
libnvidia-fbc1-515 libnvidia-fbc1-515:i386 libnvidia-gl-515
libnvidia-gl-515:i386 nvidia-compute-utils-515 nvidia-dkms-515
nvidia-kernel-common-515 nvidia-kernel-source-515 nvidia-utils-515
xserver-xorg-video-nvidia-515
The following packages will be REMOVED:
libnvidia-cfg1-510 libnvidia-common-510 libnvidia-compute-510
libnvidia-compute-510:i386 libnvidia-decode-510 libnvidia-decode-510:i386
libnvidia-encode-510 libnvidia-encode-510:i386 libnvidia-extra-510
libnvidia-fbc1-510 libnvidia-fbc1-510:i386 libnvidia-gl-510
libnvidia-gl-510:i386 nvidia-compute-utils-510 nvidia-dkms-510
nvidia-driver-510 nvidia-kernel-common-510 nvidia-kernel-source-510
nvidia-utils-510 xserver-xorg-video-nvidia-510
The following NEW packages will be installed:
libnvidia-cfg1-515 libnvidia-common-515 libnvidia-compute-515
libnvidia-compute-515:i386 libnvidia-decode-515 libnvidia-decode-515:i386
libnvidia-encode-515 libnvidia-encode-515:i386 libnvidia-extra-515
libnvidia-fbc1-515 libnvidia-fbc1-515:i386 libnvidia-gl-515
libnvidia-gl-515:i386 nvidia-compute-utils-515 nvidia-dkms-515
nvidia-driver-515 nvidia-kernel-common-515 nvidia-kernel-source-515
nvidia-utils-515 xserver-xorg-video-nvidia-515
0 upgraded, 20 newly installed, 20 to remove and 0 not upgraded.
Need to get 0 B/333 MB of archives.
After this operation, 7,803 kB disk space will be freed.
Do you want to continue? [Y/n] y
(Reading database … 190760 files and directories currently installed.)
Removing nvidia-driver-510 (510.73.05-0ubuntu0.20.04.1) …
Removing xserver-xorg-video-nvidia-510 (510.73.05-0ubuntu0.20.04.1) …
Removing libnvidia-cfg1-510:amd64 (510.73.05-0ubuntu0.20.04.1) …
Removing libnvidia-gl-510:amd64 (510.73.05-0ubuntu0.20.04.1) …
dpkg: warning: while removing libnvidia-gl-510:amd64, directory ‘/usr/lib/x86_64
-linux-gnu/nvidia/xorg’ not empty so not removed
Removing libnvidia-gl-510:i386 (510.73.05-0ubuntu0.20.04.1) …
Removing libnvidia-common-510 (510.73.05-0ubuntu0.20.04.1) …
Removing libnvidia-encode-510:i386 (510.73.05-0ubuntu0.20.04.1) …
Removing libnvidia-decode-510:i386 (510.73.05-0ubuntu0.20.04.1) …
dpkg: warning: while removing libnvidia-decode-510:i386, directory ‘/usr/lib/i38
6-linux-gnu/vdpau’ not empty so not removed
Removing libnvidia-compute-510:i386 (510.73.05-0ubuntu0.20.04.1) …
Removing libnvidia-encode-510:amd64 (510.73.05-0ubuntu0.20.04.1) …
Removing libnvidia-decode-510:amd64 (510.73.05-0ubuntu0.20.04.1) …
Removing nvidia-utils-510 (510.73.05-0ubuntu0.20.04.1) …
Removing libnvidia-extra-510:amd64 (510.73.05-0ubuntu0.20.04.1) …
Removing libnvidia-fbc1-510:amd64 (510.73.05-0ubuntu0.20.04.1) …
Removing libnvidia-fbc1-510:i386 (510.73.05-0ubuntu0.20.04.1) …
Removing nvidia-compute-utils-510 (510.73.05-0ubuntu0.20.04.1) …
Removing nvidia-dkms-510 (510.73.05-0ubuntu0.20.04.1) …
Removing all DKMS Modules
Done.
INFO:Disable nvidia
DEBUG:Parsing /usr/share/ubuntu-drivers-common/quirks/dell_latitude
DEBUG:Parsing /usr/share/ubuntu-drivers-common/quirks/put_your_quirks_here
DEBUG:Parsing /usr/share/ubuntu-drivers-common/quirks/lenovo_thinkpad
update-initramfs: deferring update (trigger activated)
Removing nvidia-kernel-common-510 (510.73.05-0ubuntu0.20.04.1) …
update-initramfs: deferring update (trigger activated)
Removing nvidia-kernel-source-510 (510.73.05-0ubuntu0.20.04.1) …
Removing libnvidia-compute-510:amd64 (510.73.05-0ubuntu0.20.04.1) …
Selecting previously unselected package libnvidia-cfg1-515:amd64.
(Reading database … 190086 files and directories currently installed.)
Preparing to unpack …/00-libnvidia-cfg1-515_515.48.07-0ubuntu0.20.04.2_amd64.d
eb …
Unpacking libnvidia-cfg1-515:amd64 (515.48.07-0ubuntu0.20.04.2) …
Selecting previously unselected package libnvidia-common-515.
Preparing to unpack …/01-libnvidia-common-515_515.48.07-0ubuntu0.20.04.2_all.d
eb …
Unpacking libnvidia-common-515 (515.48.07-0ubuntu0.20.04.2) …
Selecting previously unselected package libnvidia-compute-515:amd64.
Preparing to unpack …/02-libnvidia-compute-515_515.48.07-0ubuntu0.20.04.2_amd6
4.deb …
Unpacking libnvidia-compute-515:amd64 (515.48.07-0ubuntu0.20.04.2) …
Selecting previously unselected package libnvidia-compute-515:i386.
Preparing to unpack …/03-libnvidia-compute-515_515.48.07-0ubuntu0.20.04.2_i386
.deb …
Unpacking libnvidia-compute-515:i386 (515.48.07-0ubuntu0.20.04.2) …
Selecting previously unselected package libnvidia-decode-515:amd64.
Preparing to unpack …/04-libnvidia-decode-515_515.48.07-0ubuntu0.20.04.2_amd64
.deb …
Unpacking libnvidia-decode-515:amd64 (515.48.07-0ubuntu0.20.04.2) …
Selecting previously unselected package libnvidia-decode-515:i386.
Preparing to unpack …/05-libnvidia-decode-515_515.48.07-0ubuntu0.20.04.2_i386.
deb …
Unpacking libnvidia-decode-515:i386 (515.48.07-0ubuntu0.20.04.2) …
Selecting previously unselected package libnvidia-encode-515:i386.
Preparing to unpack …/06-libnvidia-encode-515_515.48.07-0ubuntu0.20.04.2_i386.
deb …
Unpacking libnvidia-encode-515:i386 (515.48.07-0ubuntu0.20.04.2) …
Selecting previously unselected package libnvidia-encode-515:amd64.
Preparing to unpack …/07-libnvidia-encode-515_515.48.07-0ubuntu0.20.04.2_amd64
.deb …
Unpacking libnvidia-encode-515:amd64 (515.48.07-0ubuntu0.20.04.2) …
Selecting previously unselected package libnvidia-extra-515:amd64.
Preparing to unpack …/08-libnvidia-extra-515_515.48.07-0ubuntu0.20.04.2_amd64.
deb …
Unpacking libnvidia-extra-515:amd64 (515.48.07-0ubuntu0.20.04.2) …
Selecting previously unselected package libnvidia-fbc1-515:amd64.
Preparing to unpack …/09-libnvidia-fbc1-515_515.48.07-0ubuntu0.20.04.2_amd64.d
eb …
Unpacking libnvidia-fbc1-515:amd64 (515.48.07-0ubuntu0.20.04.2) …
Selecting previously unselected package libnvidia-fbc1-515:i386.
Preparing to unpack …/10-libnvidia-fbc1-515_515.48.07-0ubuntu0.20.04.2_i386.de
b …
Unpacking libnvidia-fbc1-515:i386 (515.48.07-0ubuntu0.20.04.2) …
Selecting previously unselected package libnvidia-gl-515:i386.
Preparing to unpack …/11-libnvidia-gl-515_515.48.07-0ubuntu0.20.04.2_i386.deb

dpkg-query: no packages found matching libnvidia-gl-510
Unpacking libnvidia-gl-515:i386 (515.48.07-0ubuntu0.20.04.2) …
Selecting previously unselected package libnvidia-gl-515:amd64.
Preparing to unpack …/12-libnvidia-gl-515_515.48.07-0ubuntu0.20.04.2_amd64.deb

dpkg-query: no packages found matching libnvidia-gl-510
Unpacking libnvidia-gl-515:amd64 (515.48.07-0ubuntu0.20.04.2) …
Selecting previously unselected package nvidia-compute-utils-515.
Preparing to unpack …/13-nvidia-compute-utils-515_515.48.07-0ubuntu0.20.04.2_a
md64.deb …
Unpacking nvidia-compute-utils-515 (515.48.07-0ubuntu0.20.04.2) …
Selecting previously unselected package nvidia-kernel-source-515.
Preparing to unpack …/14-nvidia-kernel-source-515_515.48.07-0ubuntu0.20.04.2_a
md64.deb …
Unpacking nvidia-kernel-source-515 (515.48.07-0ubuntu0.20.04.2) …
Selecting previously unselected package nvidia-kernel-common-515.
Preparing to unpack …/15-nvidia-kernel-common-515_515.48.07-0ubuntu0.20.04.2_a
md64.deb …
Unpacking nvidia-kernel-common-515 (515.48.07-0ubuntu0.20.04.2) …
Selecting previously unselected package nvidia-dkms-515.
Preparing to unpack …/16-nvidia-dkms-515_515.48.07-0ubuntu0.20.04.2_amd64.deb

Unpacking nvidia-dkms-515 (515.48.07-0ubuntu0.20.04.2) …
Selecting previously unselected package nvidia-utils-515.
Preparing to unpack …/17-nvidia-utils-515_515.48.07-0ubuntu0.20.04.2_amd64.deb

Unpacking nvidia-utils-515 (515.48.07-0ubuntu0.20.04.2) …
Selecting previously unselected package xserver-xorg-video-nvidia-515.
Preparing to unpack …/18-xserver-xorg-video-nvidia-515_515.48.07-0ubuntu0.20.0
4.2_amd64.deb …
Unpacking xserver-xorg-video-nvidia-515 (515.48.07-0ubuntu0.20.04.2) …
Selecting previously unselected package nvidia-driver-515.
Preparing to unpack …/19-nvidia-driver-515_515.48.07-0ubuntu0.20.04.2_amd64.de
b …
Unpacking nvidia-driver-515 (515.48.07-0ubuntu0.20.04.2) …
Setting up libnvidia-compute-515:amd64 (515.48.07-0ubuntu0.20.04.2) …
Setting up libnvidia-compute-515:i386 (515.48.07-0ubuntu0.20.04.2) …
Setting up libnvidia-extra-515:amd64 (515.48.07-0ubuntu0.20.04.2) …
Setting up nvidia-kernel-common-515 (515.48.07-0ubuntu0.20.04.2) …
update-initramfs: deferring update (trigger activated)
Setting up nvidia-kernel-source-515 (515.48.07-0ubuntu0.20.04.2) …
Setting up libnvidia-decode-515:amd64 (515.48.07-0ubuntu0.20.04.2) …
Setting up libnvidia-decode-515:i386 (515.48.07-0ubuntu0.20.04.2) …
Setting up nvidia-utils-515 (515.48.07-0ubuntu0.20.04.2) …
Setting up libnvidia-common-515 (515.48.07-0ubuntu0.20.04.2) …
Setting up nvidia-dkms-515 (515.48.07-0ubuntu0.20.04.2) …
update-initramfs: deferring update (trigger activated)
INFO:Enable nvidia
DEBUG:Parsing /usr/share/ubuntu-drivers-common/quirks/dell_latitude
DEBUG:Parsing /usr/share/ubuntu-drivers-common/quirks/put_your_quirks_here
DEBUG:Parsing /usr/share/ubuntu-drivers-common/quirks/lenovo_thinkpad
Loading new nvidia-515.48.07 DKMS files…
Building for 5.14.0-1034-oem
Building for architecture x86_64
Building initial module for 5.14.0-1034-oem
Done.

nvidia.ko:
Running module version sanity check.

  • Original module
    • No original module exists within this kernel
  • Installation
    • Installing to /lib/modules/5.14.0-1034-oem/updates/dkms/

nvidia-modeset.ko:
Running module version sanity check.

  • Original module
    • No original module exists within this kernel
  • Installation
    • Installing to /lib/modules/5.14.0-1034-oem/updates/dkms/

nvidia-drm.ko:
Running module version sanity check.

  • Original module
    • No original module exists within this kernel
  • Installation
    • Installing to /lib/modules/5.14.0-1034-oem/updates/dkms/

nvidia-uvm.ko:
Running module version sanity check.

  • Original module
    • No original module exists within this kernel
  • Installation
    • Installing to /lib/modules/5.14.0-1034-oem/updates/dkms/

nvidia-peermem.ko:
Running module version sanity check.

  • Original module
    • No original module exists within this kernel
  • Installation
    • Installing to /lib/modules/5.14.0-1034-oem/updates/dkms/

depmod…

DKMS: install completed.
Setting up libnvidia-fbc1-515:amd64 (515.48.07-0ubuntu0.20.04.2) …
Setting up libnvidia-fbc1-515:i386 (515.48.07-0ubuntu0.20.04.2) …
Setting up nvidia-compute-utils-515 (515.48.07-0ubuntu0.20.04.2) …
Warning: The home dir /nonexistent you specified can’t be accessed: No such file
or directory
Adding system user nvidia-persistenced' (UID 126) ... Adding new group nvidia-persistenced’ (GID 132) …
Adding new user nvidia-persistenced' (UID 126) with group nvidia-persistenced’

Not creating home directory `/nonexistent’.
Setting up libnvidia-cfg1-515:amd64 (515.48.07-0ubuntu0.20.04.2) …
Setting up xserver-xorg-video-nvidia-515 (515.48.07-0ubuntu0.20.04.2) …
Setting up libnvidia-encode-515:amd64 (515.48.07-0ubuntu0.20.04.2) …
Setting up libnvidia-encode-515:i386 (515.48.07-0ubuntu0.20.04.2) …
Setting up libnvidia-gl-515:amd64 (515.48.07-0ubuntu0.20.04.2) …
Setting up libnvidia-gl-515:i386 (515.48.07-0ubuntu0.20.04.2) …
Setting up nvidia-driver-515 (515.48.07-0ubuntu0.20.04.2) …
Processing triggers for libc-bin (2.31-0ubuntu9.7) …
Processing triggers for man-db (2.9.1-1) …
Processing triggers for initramfs-tools (0.136ubuntu6.7) …
update-initramfs: Generating /boot/initrd.img-5.14.0-1034-oem
ashley@ashley-Precision-7760:~$ sudo prime-select nvidia
Info: selecting the nvidia profile
Deleting /lib/modprobe.d/nvidia-runtimepm.conf
Updating the initramfs. Please wait for the operation to complete:
Done
ashley@ashley-Precision-7760:~$ nvidia-smi
Failed to initialize NVML: Driver/library version mismatch

Likely just some stray lib.
Please post the output of
ls -l /usr/lib/x86_64-linux-gnu/libnvidia* /usr/lib/x86_64-linux-gnu/libcuda*

ashley@ashley-Precision-7760:~$ ls -l /usr/lib/x86_64-linux-gnu/libnvidia* /usr/lib/x86_64-linux-gnu/libcuda
ls: cannot access ‘/usr/lib/x86_64-linux-gnu/libcuda’: No such file or directory
lrwxrwxrwx 1 root root 24 May 13 07:21 /usr/lib/x86_64-linux-gnu/libnvidia-allocator.so → libnvidia-allocator.so.1
lrwxrwxrwx 1 root root 32 May 13 07:21 /usr/lib/x86_64-linux-gnu/libnvidia-allocator.so.1 → libnvidia-allocator.so.510.73.05
-rw-r–r-- 1 root root 98688 Jan 6 07:10 /usr/lib/x86_64-linux-gnu/libnvidia-allocator.so.470.103.01
-rw-r–r-- 1 root root 119272 May 7 01:19 /usr/lib/x86_64-linux-gnu/libnvidia-allocator.so.510.73.05
lrwxrwxrwx 1 root root 18 May 13 07:21 /usr/lib/x86_64-linux-gnu/libnvidia-cfg.so → libnvidia-cfg.so.1
lrwxrwxrwx 1 root root 26 May 13 07:21 /usr/lib/x86_64-linux-gnu/libnvidia-cfg.so.1 → libnvidia-cfg.so.510.73.05
-rw-r–r-- 1 root root 221552 Jan 6 07:10 /usr/lib/x86_64-linux-gnu/libnvidia-cfg.so.470.103.01
-rw-r–r-- 1 root root 221552 May 7 01:18 /usr/lib/x86_64-linux-gnu/libnvidia-cfg.so.510.73.05
-rw-r–r-- 1 root root 85507584 May 7 02:12 /usr/lib/x86_64-linux-gnu/libnvidia-compiler-next.so.510.73.05
-rw-r–r-- 1 root root 55972120 Jan 6 07:34 /usr/lib/x86_64-linux-gnu/libnvidia-compiler.so.470.103.01
-rw-r–r-- 1 root root 56104312 May 7 01:55 /usr/lib/x86_64-linux-gnu/libnvidia-compiler.so.510.73.05
-rw-r–r-- 1 root root 30264400 Jan 6 07:27 /usr/lib/x86_64-linux-gnu/libnvidia-eglcore.so.470.103.01
-rw-r–r-- 1 root root 31822352 May 7 01:43 /usr/lib/x86_64-linux-gnu/libnvidia-eglcore.so.510.73.05
lrwxrwxrwx 1 root root 26 Jun 28 02:37 /usr/lib/x86_64-linux-gnu/libnvidia-egl-gbm.so.1 → libnvidia-egl-gbm.so.1.1.0
-rw-r–r-- 1 root root 22656 May 7 01:20 /usr/lib/x86_64-linux-gnu/libnvidia-egl-gbm.so.1.1.0
lrwxrwxrwx 1 root root 21 May 13 07:21 /usr/lib/x86_64-linux-gnu/libnvidia-encode.so → libnvidia-encode.so.1
lrwxrwxrwx 1 root root 29 May 13 07:21 /usr/lib/x86_64-linux-gnu/libnvidia-encode.so.1 → libnvidia-encode.so.510.73.05
-rw-r–r-- 1 root root 116768 Jan 6 07:10 /usr/lib/x86_64-linux-gnu/libnvidia-encode.so.470.103.01
-rw-r–r-- 1 root root 116768 May 7 01:19 /usr/lib/x86_64-linux-gnu/libnvidia-encode.so.510.73.05
lrwxrwxrwx 1 root root 18 May 13 07:21 /usr/lib/x86_64-linux-gnu/libnvidia-fbc.so → libnvidia-fbc.so.1
lrwxrwxrwx 1 root root 26 May 13 07:21 /usr/lib/x86_64-linux-gnu/libnvidia-fbc.so.1 → libnvidia-fbc.so.510.73.05
-rw-r–r-- 1 root root 129760 Jan 6 07:10 /usr/lib/x86_64-linux-gnu/libnvidia-fbc.so.470.103.01
-rw-r–r-- 1 root root 133880 May 7 01:18 /usr/lib/x86_64-linux-gnu/libnvidia-fbc.so.510.73.05
-rw-r–r-- 1 root root 32083120 Jan 6 07:30 /usr/lib/x86_64-linux-gnu/libnvidia-glcore.so.470.103.01
-rw-r–r-- 1 root root 34218672 May 7 01:51 /usr/lib/x86_64-linux-gnu/libnvidia-glcore.so.510.73.05
-rw-r–r-- 1 root root 639848 Jan 6 07:11 /usr/lib/x86_64-linux-gnu/libnvidia-glsi.so.470.103.01
-rw-r–r-- 1 root root 627560 May 7 01:19 /usr/lib/x86_64-linux-gnu/libnvidia-glsi.so.510.73.05
-rw-r–r-- 1 root root 13036984 Jan 6 07:32 /usr/lib/x86_64-linux-gnu/libnvidia-glvkspirv.so.470.103.01
-rw-r–r-- 1 root root 16609816 May 7 01:57 /usr/lib/x86_64-linux-gnu/libnvidia-glvkspirv.so.510.73.05
lrwxrwxrwx 1 root root 17 May 13 07:21 /usr/lib/x86_64-linux-gnu/libnvidia-ml.so → libnvidia-ml.so.1
lrwxrwxrwx 1 root root 25 May 13 07:21 /usr/lib/x86_64-linux-gnu/libnvidia-ml.so.1 → libnvidia-ml.so.510.73.05
-rw-r–r-- 1 root root 1828056 Jan 6 07:11 /usr/lib/x86_64-linux-gnu/libnvidia-ml.so.470.103.01
-rw-r–r-- 1 root root 1877240 May 7 01:20 /usr/lib/x86_64-linux-gnu/libnvidia-ml.so.510.73.05
lrwxrwxrwx 1 root root 26 Jun 28 10:32 /usr/lib/x86_64-linux-gnu/libnvidia-ngx.so.1 → libnvidia-ngx.so.510.73.05
-rw-r–r-- 1 root root 3310184 Jan 6 07:13 /usr/lib/x86_64-linux-gnu/libnvidia-ngx.so.470.103.01
-rw-r–r-- 1 root root 3306056 May 7 01:20 /usr/lib/x86_64-linux-gnu/libnvidia-ngx.so.510.73.05
lrwxrwxrwx 1 root root 19 May 13 07:21 /usr/lib/x86_64-linux-gnu/libnvidia-nvvm.so → libnvidia-nvvm.so.4
lrwxrwxrwx 1 root root 23 May 13 07:21 /usr/lib/x86_64-linux-gnu/libnvidia-nvvm.so.4 → libnvidia-nvvm.so.4.0.0
-rw-r–r-- 1 root root 26949368 May 7 02:00 /usr/lib/x86_64-linux-gnu/libnvidia-nvvm.so.4.0.0
lrwxrwxrwx 1 root root 29 May 13 07:21 /usr/lib/x86_64-linux-gnu/libnvidia-opencl.so.1 → libnvidia-opencl.so.510.73.05
-rw-r–r-- 1 root root 19560272 Jan 6 07:33 /usr/lib/x86_64-linux-gnu/libnvidia-opencl.so.470.103.01
-rw-r–r-- 1 root root 18162256 May 7 01:45 /usr/lib/x86_64-linux-gnu/libnvidia-opencl.so.510.73.05
lrwxrwxrwx 1 root root 26 May 13 07:21 /usr/lib/x86_64-linux-gnu/libnvidia-opticalflow.so → libnvidia-opticalflow.so.1
lrwxrwxrwx 1 root root 34 May 13 07:21 /usr/lib/x86_64-linux-gnu/libnvidia-opticalflow.so.1 → libnvidia-opticalflow.so.510.73.05
-rw-r–r-- 1 root root 47096 Jan 6 07:12 /usr/lib/x86_64-linux-gnu/libnvidia-opticalflow.so.470.103.01
-rw-r–r-- 1 root root 47088 May 7 01:19 /usr/lib/x86_64-linux-gnu/libnvidia-opticalflow.so.510.73.05
lrwxrwxrwx 1 root root 29 May 13 07:21 /usr/lib/x86_64-linux-gnu/libnvidia-ptxjitcompiler.so → libnvidia-ptxjitcompiler.so.1
lrwxrwxrwx 1 root root 37 May 13 07:21 /usr/lib/x86_64-linux-gnu/libnvidia-ptxjitcompiler.so.1 → libnvidia-ptxjitcompiler.so.510.73.05
-rw-r–r-- 1 root root 11148504 Jan 6 07:17 /usr/lib/x86_64-linux-gnu/libnvidia-ptxjitcompiler.so.470.103.01
-rw-r–r-- 1 root root 11488696 May 7 01:29 /usr/lib/x86_64-linux-gnu/libnvidia-ptxjitcompiler.so.510.73.05
-rw-r–r-- 1 root root 82666936 Jan 6 07:37 /usr/lib/x86_64-linux-gnu/libnvidia-rtcore.so.470.103.01
-rw-r–r-- 1 root root 80880416 May 7 02:11 /usr/lib/x86_64-linux-gnu/libnvidia-rtcore.so.510.73.05
-rw-r–r-- 1 root root 18456 Jan 6 07:10 /usr/lib/x86_64-linux-gnu/libnvidia-tls.so.470.103.01
-rw-r–r-- 1 root root 18456 May 7 01:18 /usr/lib/x86_64-linux-gnu/libnvidia-tls.so.510.73.05

Two driver versions installed at once.

HI Thank you for the reply… I tried a number of things and I am not getting the 470.103.01 to download properly

1st I uninstalled driver packages with

sudo apt-get remove --purge ‘^nvidia-.*’
sudo apt-get install ubuntu-desktop
sudo rm /etc/X11/xorg.conf

I attempted installing 470 and got an error about disabling the nouveau driver

I then disabled it them using…

ashley@ashley-Precision-7760:~$ sudo nano /etc/modprobe.d/blacklist-nouveau.conf^C
ashley@ashley-Precision-7760:~$ sudo update-initramfs -u
ashley@ashley-Precision-7760:~$ sudo reboot

after attempting to install again I an error saying I was missing libc header files So I installed libc header files with…

ashley@ashley-Precision-7760:~$ sudo apt-get install libc-dev libc6-dev gcc g++

after the next install attempt i got a message asking me if I wanted to install with or without signing. I chose without, got an error and tried reinstalling signing.

then I got the following messages…

installation wasn’t aborted but then I got this…

then this

then this…
image.png

Just ignore, the do the uninstall and check whether the 470 libs are gone.

OK thank you…
can you please explain the --uninstall option input? I don’t see any examples of uninstalling with that online. ONly sudo-apt purge. When I attempt the following it doesn’t exist…

ashley@ashley-Precision-7760:~$ sudo apt-get --uninstall nvidia-470
[sudo] password for ashley:
E: Command line option --uninstall is not understood in combination with the other options

I’m also not sure the 470 install worked properly because nvidia-smi returns the following;
NVIDIA-SMI has failed because it couldn’t communicate with the NVIDIA driver. Make sure that the latest NVIDIA driver is installed and running.

However 470 shows here …
ashley@ashley-Precision-7760:~$ dpkg -l |grep nvidia
ii libnvidia-cfg1-510:amd64 510.73.05-0ubuntu0.20.04.1 amd64 NVIDIA binary OpenGL/GLX configuration library
ii libnvidia-common-510 510.73.05-0ubuntu0.20.04.1 all Shared files used by the NVIDIA libraries
rc libnvidia-compute-470:amd64 470.129.06-0ubuntu0.20.04.1 amd64 NVIDIA libcompute package
ii libnvidia-compute-510:amd64 510.73.05-0ubuntu0.20.04.1 amd64 NVIDIA libcompute package
ii libnvidia-compute-510:i386 510.73.05-0ubuntu0.20.04.1 i386 NVIDIA libcompute package
rc libnvidia-compute-515:amd64 515.48.07-0ubuntu0.20.04.2 amd64 NVIDIA libcompute package
ii libnvidia-decode-510:amd64 510.73.05-0ubuntu0.20.04.1 amd64 NVIDIA Video Decoding runtime libraries
ii libnvidia-decode-510:i386 510.73.05-0ubuntu0.20.04.1 i386 NVIDIA Video Decoding runtime libraries
ii libnvidia-encode-510:amd64 510.73.05-0ubuntu0.20.04.1 amd64 NVENC Video Encoding runtime library
ii libnvidia-encode-510:i386 510.73.05-0ubuntu0.20.04.1 i386 NVENC Video Encoding runtime library
ii libnvidia-extra-510:amd64 510.73.05-0ubuntu0.20.04.1 amd64 Extra libraries for the NVIDIA driver
ii libnvidia-fbc1-510:amd64 510.73.05-0ubuntu0.20.04.1 amd64 NVIDIA OpenGL-based Framebuffer Capture runtime library
ii libnvidia-fbc1-510:i386 510.73.05-0ubuntu0.20.04.1 i386 NVIDIA OpenGL-based Framebuffer Capture runtime library
ii libnvidia-gl-510:amd64 510.73.05-0ubuntu0.20.04.1 amd64 NVIDIA OpenGL/GLX/EGL/GLES GLVND libraries and Vulkan ICD
ii libnvidia-gl-510:i386 510.73.05-0ubuntu0.20.04.1 i386 NVIDIA OpenGL/GLX/EGL/GLES GLVND libraries and Vulkan ICD
rc linux-modules-nvidia-470-5.13.0-1010-oem 5.13.0-1010.11 amd64 Linux kernel nvidia modules for version 5.13.0-1010
ii linux-objects-nvidia-470-5.13.0-1010-oem 5.13.0-1010.11 amd64 Linux kernel nvidia modules for version 5.13.0-1010 (objects)
ii linux-objects-nvidia-470-5.13.0-1029-oem 5.13.0-1029.36+1 amd64 Linux kernel nvidia modules for version 5.13.0-1029 (objects)
ii linux-signatures-nvidia-5.13.0-1010-oem 5.13.0-1010.11 amd64 Linux kernel signatures for nvidia modules for version 5.13.0-1010-oem
ii linux-signatures-nvidia-5.13.0-1029-oem 5.13.0-1029.36+1 amd64 Linux kernel signatures for nvidia modules for version 5.13.0-1029-oem
ii screen-resolution-extra 0.18build1 all Extension for the nvidia-settings control panel
ii xserver-xorg-video-nvidia-510 510.73.05-0ubuntu0.20.04.1 amd64 NVIDIA binary Xorg driver

Use the runfile again with --uninstall option.

OK I was finally able to get it to download and I also successfully downloaded the CUda toolkit. Thank you so much for your patience and help!!! Hopefully this will help someone else out who’s struggling :D much appreciated :)

Hi. we would have helped me. I did not know that I removed men python3 and then the screen went black. ppm init failed error (-110). Got it, drive related. Now I want to download nvidia-driver 515. It shows me wine64-development: Recommends wine32-development.

sudo apt-get install ubuntu-desktop this image

I already have ubuntu-desktop, maybe it can’t load it or it’s an old version ?

I forgot something wine --version shows

.My computer supports wine64-development why does wine32-development ask me to download it?

[image]

Please run nvidia-bug-report.sh as root and attach the resulting nvidia-bug-report.log.gz file to your post.


Uploading: Screenshot (26).png…

It will be 1 week, I can’t solve it. I hope for you)