Discussion:
[Bug 1753333] [NEW] Using "Software and Updates -> Additional Drivers" to Switch Fails
Chris McDonough
2018-03-04 23:19:18 UTC
Permalink
Public bug reported:

When you are in the initial install state, you can easily switch from
the Nouvea drivers to the Nvidia drivers by choosing the option in
"Software and Updates -> Additional Drivers". However, when you attempt
to switch back (by selecting the nouveau option and clicking Apply), and
subsequently reboot, your system will still come up using the Nvidia
drivers, and you will WTF.

And then, if you visit Additional Drivers, you will be presented with
grayed out options for both nvidia and nouvea, and the only selectable
option will be "continue using manually installed driver".

The reason for this is that the tool, when reselecting nvidia in the
GUI, uninstalls the nvidia-drivers-390 package, but because it's a
metapackage (or at least I presume this is the reason), it doesn't
uninstall its dependencies, which causes the Additional Drivers tool to
believe it's in a non-automanaged state, and the nvidia drivers never
actually get uninstalled.

You can fix it by doing an apt autoremove and rerunning the Additional
Drivers tool. But obviously there is no real way for inexperienced
users to know this.

** Affects: nvidia-graphics-drivers-390 (Ubuntu)
Importance: Undecided
Status: New
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1753333

Title:
Using "Software and Updates -> Additional Drivers" to Switch Fails

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/nvidia-graphics-drivers-390/+bug/1753333/+subscriptions
--
ubuntu-bugs mailing list
ubuntu-***@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubu
Chris McDonough
2018-03-04 23:41:36 UTC
Permalink
The rationale about why this is a probably an important bug to fix:

https://bugs.launchpad.net/ubuntu/+source/nvidia-graphics-
drivers-390/+bug/1752739/comments/5
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1753333

Title:
Using "Software and Updates -> Additional Drivers" to Switch Fails

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/nvidia-graphics-drivers-390/+bug/1753333/+subscriptions
--
ubuntu-bugs mailing list
ubuntu-***@lists.ubuntu.com
https://lists.ubuntu.com/mailm
Doug McMahon
2018-03-13 12:13:12 UTC
Permalink
Correct, removing the nvidia-drivers-390 package does nothing.
Using sudo apt purge nvidia* is somewhat effective but to really remove nvidia that has to be followed by sudo apt purge *nvidia
The current state disenfranchises optimus owners who now can't easily switch & get a crappy tear ridden experience on nvidia..

** Changed in: nvidia-graphics-drivers-390 (Ubuntu)
Status: New => Confirmed
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1753333

Title:
Using "Software and Updates -> Additional Drivers" to Switch Fails

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/nvidia-graphics-drivers-390/+bug/1753333/+subscriptions
--
ubuntu-bugs mailing list
ubuntu-***@lists.ubuntu.com
https://lists.ub
Alberto Milone
2018-03-14 07:08:48 UTC
Permalink
** Changed in: nvidia-graphics-drivers-390 (Ubuntu)
Assignee: (unassigned) => Alberto Milone (albertomilone)

** Changed in: nvidia-graphics-drivers-390 (Ubuntu)
Importance: Undecided => High

** Changed in: nvidia-graphics-drivers-390 (Ubuntu)
Status: Confirmed => Triaged
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1753333

Title:
Using "Software and Updates -> Additional Drivers" to Switch Fails

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/nvidia-graphics-drivers-390/+bug/1753333/+subscriptions
--
ubuntu-bugs mailing list
ubuntu-***@lists.ubuntu.com
https://lists.ubunt
Alberto Milone
2018-04-23 10:33:10 UTC
Permalink
** Also affects: software-properties (Ubuntu)
Importance: Undecided
Status: New

** Changed in: software-properties (Ubuntu)
Status: New => Triaged

** Changed in: software-properties (Ubuntu)
Assignee: (unassigned) => Alberto Milone (albertomilone)

** Changed in: software-properties (Ubuntu)
Importance: Undecided => High
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1753333

Title:
Using "Software and Updates -> Additional Drivers" to Switch Fails

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/nvidia-graphics-drivers-390/+bug/1753333/+subscriptions
--
ubuntu-bugs mailing list
ubuntu-***@lists.ubuntu.com
https://lists.u
Alberto Milone
2018-04-24 08:22:06 UTC
Permalink
** Changed in: software-properties (Ubuntu)
Status: Triaged => In Progress

** No longer affects: nvidia-graphics-drivers-390 (Ubuntu)
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1753333

Title:
Using "Software and Updates -> Additional Drivers" to Switch Fails

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/software-properties/+bug/1753333/+subscriptions
--
ubuntu-bugs mailing list
ubuntu-***@lists.ubuntu.com
htt
Launchpad Bug Tracker
2018-04-24 08:59:04 UTC
Permalink
** Branch linked: lp:~albertomilone/software-properties/software-
properties
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1753333

Title:
Using "Software and Updates -> Additional Drivers" to Switch Fails

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/software-properties/+bug/1753333/+subscriptions
--
ubuntu-bugs mailing list
ubuntu-***@lists.ubuntu.com
https://lis
Alberto Milone
2018-04-24 11:03:59 UTC
Permalink
The fix for this bug is in the bazaar branch listed above.
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1753333

Title:
Using "Software and Updates -> Additional Drivers" to Switch Fails

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/software-properties/+bug/1753333/+subscriptions
--
ubuntu-bugs mailing list
ubuntu-***@lists.ubuntu.com
https://lists.ubuntu.com/mail
Alberto Milone
2018-04-30 15:33:49 UTC
Permalink
The code in my MP was approved. Please merge it, and let's proceed with
the SRU.

** Description changed:

- When you are in the initial install state, you can easily switch from
- the Nouvea drivers to the Nvidia drivers by choosing the option in
- "Software and Updates -> Additional Drivers". However, when you attempt
- to switch back (by selecting the nouveau option and clicking Apply), and
- subsequently reboot, your system will still come up using the Nvidia
- drivers, and you will WTF.
+ SRU Request:
+
+ [Impact]
+ Currently, the Additional Drivers tool uninstalls only the driver package that ships the modaliases. When it comes to the NVIDIA drivers (>=390), that package is only a meta-package. Removing the meta-package will not uninstall the driver.
+
+ We should make sure to uninstall all its nvidia related dependencies,
+ not only the meta-package.
+
+ [Test Case]
+ 1) Open the "Software & Updates" app, and select the "Additional Drivers" tab
+
+ 2) Uninstall the NVIDIA 390 driver
+
+ 3) Check that, for example, the nvidia-dkms-390 package was uninstalled:
+
+ apt-cache policy nvidia-dkms-390
+
+ The package will be reported as installed, because the current code
+ didn't remove it.
+
+ [Regression Potential]
+ Relatively low, as the change in behaviour only affects the nvidia driver, and it only causes the Additional Drivers tool to remove dependencies of the meta-package that have the "nvidia" string in their name.
+
+ __________________
+ When you are in the initial install state, you can easily switch from the Nouvea drivers to the Nvidia drivers by choosing the option in "Software and Updates -> Additional Drivers". However, when you attempt to switch back (by selecting the nouveau option and clicking Apply), and subsequently reboot, your system will still come up using the Nvidia drivers, and you will WTF.

And then, if you visit Additional Drivers, you will be presented with
grayed out options for both nvidia and nouvea, and the only selectable
option will be "continue using manually installed driver".

The reason for this is that the tool, when reselecting nvidia in the
GUI, uninstalls the nvidia-drivers-390 package, but because it's a
metapackage (or at least I presume this is the reason), it doesn't
uninstall its dependencies, which causes the Additional Drivers tool to
believe it's in a non-automanaged state, and the nvidia drivers never
actually get uninstalled.

You can fix it by doing an apt autoremove and rerunning the Additional
Drivers tool. But obviously there is no real way for inexperienced
users to know this.
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1753333

Title:
Using "Software and Updates -> Additional Drivers" to Switch Fails

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/software-properties/+bug/1753333/+subscriptions
--
ubuntu-bugs mailing list
ubuntu-***@lists.ubuntu.com
https://lists.ubuntu.com/m
Brian Murray
2018-05-03 19:09:38 UTC
Permalink
Hello Chris, or anyone else affected,

Accepted software-properties into bionic-proposed. The package will
build now and be available at https://launchpad.net/ubuntu/+source
/software-properties/0.96.24.32.2 in a few hours, and then in the
-proposed repository.

Please help us by testing this new package. See
https://wiki.ubuntu.com/Testing/EnableProposed for documentation on how
to enable and use -proposed.Your feedback will aid us getting this
update out to other Ubuntu users.

If this package fixes the bug for you, please add a comment to this bug,
mentioning the version of the package you tested and change the tag from
verification-needed-bionic to verification-done-bionic. If it does not
fix the bug for you, please add a comment stating that, and change the
tag to verification-failed-bionic. In either case, without details of
your testing we will not be able to proceed.

Further information regarding the verification process can be found at
https://wiki.ubuntu.com/QATeam/PerformingSRUVerification . Thank you in
advance!

** Changed in: software-properties (Ubuntu Bionic)
Status: New => Fix Committed

** Tags added: verification-needed verification-needed-bionic
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1753333

Title:
Using "Software and Updates -> Additional Drivers" to Switch Fails

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/software-properties/+bug/1753333/+subscriptions
--
ubuntu-bugs mailing list
ubuntu-***@lists.ubuntu.com
https://lists.ubuntu.com/mailman/l
Kev Bowring
2018-05-04 13:31:16 UTC
Permalink
@albertomilone - could we have a fix for bug 1761593 ? I did try on the
off-chance using the updated software-properties from proposed - but I
was left having to rm /etc/modprobe.d/nvidia-340.conf
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1753333

Title:
Using "Software and Updates -> Additional Drivers" to Switch Fails

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/software-properties/+bug/1753333/+subscriptions
--
ubuntu-bugs mailing list
ubuntu-***@lists.ubuntu.com
https
Brian Murray
2018-05-10 20:12:20 UTC
Permalink
The version for bionic is 0.96.24.32.2. The other version is for cosmic,
the new development release of Ubuntu.
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1753333

Title:
Using "Software and Updates -> Additional Drivers" to Switch Fails

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/software-properties/+bug/1753333/+subscriptions
--
ubuntu-bugs mailing list
ubuntu-***@lists.ubuntu.com
https://lists.ubuntu.com/mailman/
Bump
2018-05-09 21:03:40 UTC
Permalink
Running bionic-proposed here and still can't see software-properties
(0.96.24.33):

***@ubuntu:~# dpkg -l | grep software-properties
ii python3-software-properties 0.96.24.32.2 all manage the repositories that you install software from
ii software-properties-common 0.96.24.32.2 all manage the repositories that you install software from (common)
ii software-properties-gtk 0.96.24.32.2 all manage the repositories that you install software from (gtk)
ii software-properties-kde 0.96.24.32.2 all manage the repositories that you install software from (qt)
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1753333

Title:
Using "Software and Updates -> Additional Drivers" to Switch Fails

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/software-properties/+bug/1753333/+subscriptions
--
ubuntu-bugs mailing list
ubuntu-***@lists.ubuntu.com
https://lists.ubunt
Bump
2018-05-09 21:00:50 UTC
Permalink
I'm also affected:

https://bugs.launchpad.net/ubuntu/+source/software-
properties/+bug/1769338
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1753333

Title:
Using "Software and Updates -> Additional Drivers" to Switch Fails

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/software-properties/+bug/1753333/+subscriptions
--
ubuntu-bugs mailing list
ubuntu-***@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-
Łukasz Zemczak
2018-05-17 19:32:09 UTC
Permalink
The verification of the Stable Release Update for software-properties
has completed successfully and the package has now been released to
-updates. Subsequently, the Ubuntu Stable Release Updates Team is being
unsubscribed and will not receive messages about this bug report. In
the event that you encounter a regression using the package from
-updates please report a new bug using ubuntu-bug and tag the bug report
regression-update so we can easily find any regressions.
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1753333

Title:
Using "Software and Updates -> Additional Drivers" to Switch Fails

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/software-properties/+bug/1753333/+subscriptions
--
ubuntu-bugs mailing list
ubuntu-***@lists.ubuntu.com
https://lis
Launchpad Bug Tracker
2018-05-17 19:32:02 UTC
Permalink
This bug was fixed in the package software-properties - 0.96.24.32.2

---------------
software-properties (0.96.24.32.2) bionic; urgency=medium

* SoftwarePropertiesGtk.py: uninstall the actual nvidia packages,
not only the meta-package (LP: #1753333).

-- Alberto Milone <***@canonical.com> Wed, 02 May 2018
15:58:01 +0200

** Changed in: software-properties (Ubuntu Bionic)
Status: Fix Committed => Fix Released
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1753333

Title:
Using "Software and Updates -> Additional Drivers" to Switch Fails

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/software-properties/+bug/1753333/+subscriptions
--
ubuntu-bugs mailing list
ubuntu-***@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubunt
Loading...