Unable to install 470.57.02 driver

root@dgx-2:/var/local/cache# cat /var/log/nvidia-installer.log
nvidia-installer log file ‘/var/log/nvidia-installer.log’
creation time: Tue Aug 9 17:46:20 2022
installer version: 470.57.02

PATH: /usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/mnt/admin/scripts

nvidia-installer command line:

Unable to load: nvidia-installer ncurses v6 user interface

Using: nvidia-installer ncurses user interface
→ Detected 80 CPUs online; setting concurrency level to 32.
ERROR: An NVIDIA kernel module ‘nvidia’ appears to already be loaded in your kernel. This may be because it is in use (for example, by an X server, a CUDA program, or the NVIDIA Persistence Daemon), but this may also happen if your kernel was configured without support for module unloading. Please be sure to exit any programs that may be using the GPU(s) before attempting to upgrade your driver. If no GPU-based programs are running, you know that your kernel supports module unloading, and you still receive this message, then an error may have occurred that has corrupted an NVIDIA kernel module’s usage count, for which the simplest remedy is to reboot your computer.
ERROR: Installation has failed. Please see the file ‘/var/log/nvidia-installer.log’ for details. You may find suggestions on fixing installation problems in the README available on the Linux driver download page at www.nvidia.com.

Please uninstall the already installed nvidia driver first.

Hi Generix.

I was able to resolved it by running apt install nvidia-driver-470 instead of the sh NVIDIA-Linux-x86_64-470.57.02.run


btw. this issue occur when there was no driver.
i purged and autoremove nvidia* and rebooted.