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.
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).
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.