ubuntu-drivers-common should avoid "distro-provided-script error" message from be shown in NVIDIA upstream driver installer when no "Ubuntu's nvidia packages" are installed in the system.

Bug #1481925 reported by V字龍(Vdragon)
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
ubuntu-drivers-common (Ubuntu)
New
Undecided
Unassigned

Bug Description

Currently NVIDIA's upstream installer will emit a "The distribution-provided pre-install script failed! Are you sure you want to continue?" message when /usr/lib/nvidia/pre-install script returns error (which is hard-coded to always return 1 no matter that ubuntu-provided NVIDIA proprietary driver exist or not), logics should be implemented from letting NVIDIA proprietary installer display that confusing message to the user when the system is free of ubuntu-supplied NVIDIA proprietary drivers.

`````````` /var/log/nvidia-installer.log `````````
-> 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: Continue installation)

```````````````````````````````````````````````

``````````` /usr/lib/nvidia/pre-install ```````
#!/bin/sh

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

exit 1
```````````````````````````````````````````````

description: updated
Changed in ubuntu-drivers-common (Ubuntu):
status: New → Incomplete
status: Incomplete → New
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.