Clean uninstall drivers 535.146.02 from Debian 6.1.69-1/6.1.0-17-amd64

Hello,

I didn’t find the correct way to uninstall 535.146.02 drivers from a Debian 6.1.69-1/6.1.0-17-amd64
It were installed using the official NVIDIA-Linux-x86_64-535.146.02.run file.

I’m not very familiar with using not ‘Debian packaged’ drivers.

Any help would be appreciated.

Just use the --uninstall parameter for the .run file.
Or there should be nividia-installer (extracted from the run file) using the same parameter.
https://download.nvidia.com/XFree86/Linux-x86_64/550.54.14/README/installdriver.html

Thanks a lot.

One more question : Is it safe to install a newer version of the NVIDIA driver on a previous version, without uninstalling the first one ?

I’m not sure.
If not a distro packaged driver, I always used to first uninstall the old version first.

Since the installation of the 535.146.02 drivers failed to hook the DKMS

-> Would you like to register the kernel module sources with DKMS? This will allow DKMS to automatically build a new module, if your kernel changes later. (Answer: Yes)                     
-> Registering the kernel modules with DKMS:
ERROR: Failed to create a DKMS tarball: /usr/bin/tar: /tmp/nv-tmp-FL2FEb: Cannot write: No space left on device
/usr/bin/tar: Error is not recoverable: exiting now
ERROR: Failed to create a DKMS tarball
-> Error.
WARNING: Failed to register the NVIDIA kernel modules with DKMS. The NVIDIA kernel modules will be installed, but will not be automatically rebuilt if you change your kernel.

I plan to move to the 535.154.05 version, but after moving to the 6.1.0-18-amd64 kernel and headers version (because of).

The planned path would be :
1-unstalling current drivers
2-upgrading kernel and headers version
3-installing version of the drivers (trying to correctly hook DKMS).

Any suggestions ?

No space in /tmp ?

Yeah, sure.
You can install the newer driver now (if you want).
If registered with dkms, as soon you install the new kernel headers driver module compiling will automatically start.