I have the following message currently on screen after accepting the licence
The distribution-provided pre-install script failed!
Are you sure you want to continue?
Is it safe to proceed? What does this mean?
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It only takes a minute to sign up.
Sign up to join this communityI have the following message currently on screen after accepting the licence
The distribution-provided pre-install script failed!
Are you sure you want to continue?
Is it safe to proceed? What does this mean?
Fixed: Exited the install, disabled noveau by following an answer on this post (added blacklists to file) rebooted system, restarted installation and ignored the initial warning this time. Drivers and card now working.
Please try the deb (local) of CUDA 8.0 toolkit. You don't have to install the driver using *.run file, thereby avoiding the issue with Nouveau (enable/disable).
I was stuck with this issue for a long time for my Ubuntu 16.04. After installing a fresh copy of Ubuntu 16.04, I installed CUDA 8.0 toolkit using the deb (local):
sudo dpkg -i cuda-repo-ubuntu1604-8-0-local-ga2_8.0.61-1_amd64.deb
sudo apt-get update
sudo apt-get install cuda
Nvidia driver is working well on my computer now. Prior to that, I was trying to install Nvidia driver using the *.run file without any luck. Give it a shot it will save your valuable time.
$ sudo apt-get install cuda Reading package lists... Done Building dependency tree Reading state information... Done E: The package cuda-repo-ubuntu1804-10-1-local-10.1.105-418.39 needs to be reinstalled, but I can't find an archive for it.
May 4, 2019 at 7:41
In my case the roadblock was a file named /usr/lib/nvidia/pre-install
which was intentionally left there to prevent Nvidia install from overwriting Ubuntu native installs. I removed the file and the error did not recur.