Public bug reported:

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
```````````````````````````````````````````````

** Affects: ubuntu-drivers-common (Ubuntu)
     Importance: Undecided
         Status: New

** Description changed:

  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
+ ```````````````````````````````````````````````

-- 
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to ubuntu-drivers-common in Ubuntu.
https://bugs.launchpad.net/bugs/1481925

Title:
  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.

Status in ubuntu-drivers-common package in Ubuntu:
  New

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
  ```````````````````````````````````````````````

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/ubuntu-drivers-common/+bug/1481925/+subscriptions

-- 
Mailing list: https://launchpad.net/~desktop-packages
Post to     : desktop-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~desktop-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to