driver install failing for P40 card install using run file: pre-install exits with hard coded 1

I’ve installed a new P40 card in a empty chassis that never had any GPUs.

When attempting to install the Nvidia driver using the run file (NVIDIA-Linux-x86_64-375.39.run), it fails immediately on the “pre-install” step. If I look at the pre-install file, it has a hard coded “exit 1”.

I’ve followed the pre-install steps I have found, and have run out of ideas and google searches:

  • runlevel 3
  • Nouveau blacklisted
  • no NVidia packages that I can find
  • lightdm disabled

Is it ok to ignore this error or is there really something blocking the install?

Thanks in advance.

<b>root:/usr/local/CUDA_INSTALL_FILES# cat /var/log/nvidia-installer.log</b>
nvidia-installer log file '/var/log/nvidia-installer.log'
creation time: Fri Mar 17 10:01:24 2017
installer version: 375.39

PATH: /usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin

nvidia-installer command line:
    ./nvidia-installer

Unable to load: nvidia-installer ncurses v6 user interface

Using: nvidia-installer ncurses user interface
-> Detected 32 CPUs online; setting concurrency level to 32.
-> License accepted.
-> Installing NVIDIA driver version 375.39.
-> Running distribution scripts
   executing: '/usr/lib/nvidia/pre-install'...
-> done.
-> The distribution-provided pre-install script failed!  Are you sure you want to continue? (Answer: Abort installation)
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.


<b>root:/usr/local/CUDA_INSTALL_FILES# cat /usr/lib/nvidia/pre-install</b>
#!/bin/sh

# Trigger an error exit status to prevent the installer from overwriting
# Ubuntu's nvidia packages.

exit 1

It should be ok to ignore the pre-install script failure