When trying to install the 390.42 driver version on Ubuntu 16.04 the next message shows:
the distribution-provided pre-install script failed!
I quit the installation and I haven’t found anything related to this issue. The log file for the installation contains this:
nvidia-installer log file '/var/log/nvidia-installer.log' creation time: Mon Mar 19 16:57:46 2018 installer version: 390.42 PATH: /usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin nvidia-installer command line: ./nvidia-installer Unable to load: nvidia-installer ncurses v6 user interface Using: nvidia-installer ncurses user interface -> Detected 8 CPUs online; setting concurrency level to 8. -> Installing NVIDIA driver version 390.42. -> 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.