The Distribution provided Pre install Script Failed Are You Sure You Want to Continue
-
An Ubuntu provided pre-install script for Nvidia driver
Upon installation of the graphic driver "NVIDIA-Linux-x86_64-367.44.run", I received the message:
"The distribution-provided pre-install script failed! Are you sure you want to continue?"
I clicked "Abort installation" and now I'm trying to install the pre-install script.Nvidia's support told me that the message means that I should use the scripts that Ubuntu provides for Nvidia drivers, which suppose to uninstall any Nvidia driver that is already installed.
The installation of the Nvidia driver is performed as follows:
I'm using Ubuntu 16.04.Code:
apt-get install dkms service lightdm stop cd /graphic_Driver_Dir sh ./"NVIDIA-Linux-x86_64-367.44.run" --dkms
I prefer to avoid Ubuntu's provided drivers because that I tried to install drivers from the following PPA:
https://launchpad.net/~graphics-driv...ive/ubuntu/ppa
Which worked well at first, but it failed when the kernel upgraded - see message from 'dmesg':
"NMI watchdog: BUG: soft lockup - CPU#2 stuck for 23s! [nvidia-persiste ..."How do I install Ubuntu's provided pre-install script for Nvidia driver?
-
Re: An Ubuntu provided pre-install script for Nvidia driver
We typically do not suggest running the .run files from nVidia.
You have to rerun the dkms on every kernel update.
Where versions of nVidia installed from repository just work.
And if you have a very new nVidia card, and need a driver newer than in default repository, there is a ppa with all the new versions pre-configured.#What is installed
dpkg -l | grep -i nvidia
dkms status
lsmod | grep nvidia# Shows standard repository versions, which is the same as System Settings, Software & Updates icon, Additional drivers tab
ubuntu-drivers devicesInstructions are newest driver for newest cards, must load legacy driver if old nVidia card.
http://www.omgubuntu.co.uk/2015/08/u...ady-for-action
Details on why and future incorporation to Ubuntu installer
https://lists.ubuntu.com/archives/ub...st/004693.html
https://launchpad.net/~graphics-driv...ive/ubuntu/ppa
sudo apt-add-repository ppa:graphics-drivers/ppa# should show newest versions available in addition
ubuntu-drivers devicesIf you have installed any version, you must purge first, old will conflict with new as new install does not overwrite old version.
sudo apt-get remove --purge nvidia-*
This may not exist, so if error that would be ok
sudo mv /etc/X11/xorg.conf /etc/X11/xorg.conf.backupsudo ubuntu-drivers devices
If you just want default version - recommended one
sudo ubuntu-drivers autoinstall
Or you manually choose any in list.
sudo apt-get install nvidia-XXX
-
Re: An Ubuntu provided pre-install script for Nvidia driver
Is it available in Additional Drivers? Do an update and have a look. Make sure the Canonical Partners repository is enabled.
You are sure that is the driver for your GPU? You don't mention what you've got.
-
Re: An Ubuntu provided pre-install script for Nvidia driver
@oldfred:
The 3 commands:
Return empty string (no error and no output).Code:
dpkg -l | grep -i nvidia dkms status lsmod | grep nvidia
I don't understand why did you suggest that I'll install drivers from the following PPA:Code:
$ ubuntu-drivers devices == cpu-microcode.py == driver : intel-microcode - distro non-free
https://launchpad.net/~graphics-driv...ive/ubuntu/ppa
??
As I wrote in my first post - I already tried that and had troubles when the kernel upgraded..
I'm afraid to use it again (I don't want to re-install my system all over again..).I have GTX 1060.
Edit:
Why do I have to "rerun the dkms on every kernel update" ??
The idea of dkms, as far as I understand, is to automatically perform installation of the driver so that the user won't have to "suffer" through every kernel update.Last edited by johnmne; October 15th, 2016 at 08:34 PM.
-
Re: An Ubuntu provided pre-install script for Nvidia driver
@Bucky Ball:
I'd rather to avoid any non-default repos.. Last one made me troubles.. (as I wrote in my first post)
I have GTX 1060.
What about "nvidia-current"? Would it work well?
-
Re: An Ubuntu provided pre-install script for Nvidia driver
Your GTX1060 is about as new as they come.
So you do need the very newest driver.
What version did you install from ppa?
This says only 367 or 370 for your model.
http://www.geforce.com/driversUbuntu 16.04 LTS installation problem with GA-Z170X-UD5 TH & GTX 1080
http://ubuntuforums.org/showthread.php?t=2327648
-
Re: An Ubuntu provided pre-install script for Nvidia driver
Not sure what you mean by 'non-default repos'. You mean you only want open-source? Canonical Partners repo has been set by default on my last two installs.
Originally Posted by johnmne
Anyway, what you're suggesting to do is exactly the same as what I suggested, just a different way of doing it. That command will install the driver in Additional Drivers and if you enable Canonical Partners, do an update and look in Additional Drivers the driver for that card should be there, the 367 from memory.
-
Re: An Ubuntu provided pre-install script for Nvidia driver
@oldfred:
Yep, the GTX 1060 is quite new.
This is my first good graphic card after many years that I was with a cheap & low specs card..I installed the version 367 from the PPA, as follows:
I'm afraid that the problem of "CPU#2 stuck for 23s" will happen again if I install from that PPA...Code:
apt-get purge $(dpkg -l | awk '$2~/nvidia/ {print $2}') add-apt-repository ppa:graphics-drivers/ppa apt-get update apt-get install nvidia-367
Should I attempt installing "nvidia-370" ?? The PPA says it is a "Current official release".
What's the difference between "Current official release" and "Current long-lived branch release" ?
Both seem relevant to the common user.According to the thread:
http://ubuntuforums.org/showthread.php?t=2327648
Then the user " paul263 " did exactly everything that I did in the first place, but for me - when the kernel upgraded then problems started (the "CPU stuck"...).Can you speculate the time that it will take for GNU/Ubuntu to develop a default graphic card for the GTX 1000+ series?
Last edited by johnmne; October 19th, 2016 at 10:31 AM.
-
Re: An Ubuntu provided pre-install script for Nvidia driver
@Bucky Ball:
By "non-default repo" I mean that it is
not enabled by default.
(I have, by default, that repo listed in "Other Software" tab at the "Software & Updates" window, but it's disabled. )The 367 version caused me the trouble of "CPU stuck ..." when the kernel upgraded..
(the first 2 weeks - before the kernel upgrade - were OK.)Last edited by johnmne; October 19th, 2016 at 10:33 AM.
-
Re: An Ubuntu provided pre-install script for Nvidia driver
Ubuntu/Linux has nothing to do with proprietary drivers other than offering them. If issues with drivers then you need to talk to nVidia.
The Linux programmers creating open source drivers get little help from the vendors. It is now a little better, but they are usually several years behind and some features just are not included.Some have posted that having UEFI Secure Boot on creates issues. They have implemented some security features into drivers now in addition and that can cause more conflicts.
Source: https://ubuntuforums.org/showthread.php?t=2339827
Post a Comment for "The Distribution provided Pre install Script Failed Are You Sure You Want to Continue"