An Ubuntu provided pre-install script for Nvidia driver

Asked by johnmne

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:
    apt-get install dkms
    service lightdm stop
    cd /graphic_Driver_Dir
    sh ./"NVIDIA-Linux-x86_64-367.44.run" --dkms

I'm using Ubuntu 16.04.

I prefer to avoid Ubuntu's provided drivers because that I tried to install drivers from the following PPA:
https://launchpad.net/~graphics-drivers/+archive/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?

Question information

Language:
English Edit question
Status:
Expired
For:
Ubuntu Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
actionparsnip (andrew-woodhead666) said :
#1

You don't need a PPA. The nvidia-current in the default repos will install the driver for you.

Revision history for this message
Amr Ibrahim (amribrahim1987) said :
#2

Open Additional Drivers from the Dash and select the driver to install.

Revision history for this message
johnmne (phi-reporter) said :
#3

@actionparsnip (andrew-woodhead666):

Would it work well for GTX 1060 ?

Revision history for this message
johnmne (phi-reporter) said :
#4

@Amr Ibrahim (amribrahim1987):

The only device is:
"
Unknown: Unknown
The device is not working.
"

And I have two options to choose from:

1. Using Processor microcode firmware for Intel CPUs from Intel-microcode (proprietary)
2. Do not use the device

Option #2 is checked (=selected).

Revision history for this message
Launchpad Janitor (janitor) said :
#5

This question was expired because it remained in the 'Open' state without activity for the last 15 days.