[Bug 2003576] [NEW] grayed buttons in Additional Drivers
Kristoffer Sokolowski
2003576 at bugs.launchpad.net
Fri Jan 20 19:12:38 UTC 2023
Public bug reported:
Not possible to install nvidia drivers using "Software
Sources"->"Additional Drivers".
When selecting driver using radio-box the following excetpion occurs.
nvidia-driver-525-server <class 'str'>
None <class 'NoneType'>
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/softwareproperties/qt/SoftwarePropertiesQt.py", line 1067, in on_driver_selection_changed
modules_package_obj = self.apt_cache[modules_package]
TypeError: Expected a string or a pair of strings
Because the follwing row returns "None"
modules_package = detect.get_linux_modules_metapackage(self.apt_cache,
pkg_name)
Current version:
$ apt list --installed | grep software
python3-software-properties/jammy-updates,jammy-updates,now 0.99.22.4 all [installerat,automatiskt]
software-properties-common/jammy-updates,jammy-updates,now 0.99.22.4 all [installerat,automatiskt]
software-properties-qt/jammy-updates,jammy-updates,now 0.99.22.4 all [installerat,automatiskt]
** Affects: software-properties (Ubuntu)
Importance: Undecided
Status: New
** Description changed:
Not possible to install nvidia drivers using "Software
Sources"->"Additional Drivers".
-
When selecting driver using radio-box the following excetpion occurs.
nvidia-driver-525-server <class 'str'>
None <class 'NoneType'>
Traceback (most recent call last):
- File "/usr/lib/python3/dist-packages/softwareproperties/qt/SoftwarePropertiesQt.py", line 1067, in on_driver_selection_changed
- modules_package_obj = self.apt_cache[modules_package]
+ File "/usr/lib/python3/dist-packages/softwareproperties/qt/SoftwarePropertiesQt.py", line 1067, in on_driver_selection_changed
+ modules_package_obj = self.apt_cache[modules_package]
+ TypeError: Expected a string or a pair of strings
+
Because the follwing row returns "None"
-
- modules_package = detect.get_linux_modules_metapackage(self.apt_cache, pkg_name)
- Current version:
+ modules_package = detect.get_linux_modules_metapackage(self.apt_cache,
+ pkg_name)
+
+ Current version:
$ apt list --installed | grep software
-
python3-software-properties/jammy-updates,jammy-updates,now 0.99.22.4 all [installerat,automatiskt]
software-properties-common/jammy-updates,jammy-updates,now 0.99.22.4 all [installerat,automatiskt]
software-properties-qt/jammy-updates,jammy-updates,now 0.99.22.4 all [installerat,automatiskt]
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to software-properties in Ubuntu.
https://bugs.launchpad.net/bugs/2003576
Title:
grayed buttons in Additional Drivers
Status in software-properties package in Ubuntu:
New
Bug description:
Not possible to install nvidia drivers using "Software
Sources"->"Additional Drivers".
When selecting driver using radio-box the following excetpion occurs.
nvidia-driver-525-server <class 'str'>
None <class 'NoneType'>
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/softwareproperties/qt/SoftwarePropertiesQt.py", line 1067, in on_driver_selection_changed
modules_package_obj = self.apt_cache[modules_package]
TypeError: Expected a string or a pair of strings
Because the follwing row returns "None"
modules_package = detect.get_linux_modules_metapackage(self.apt_cache,
pkg_name)
Current version:
$ apt list --installed | grep software
python3-software-properties/jammy-updates,jammy-updates,now 0.99.22.4 all [installerat,automatiskt]
software-properties-common/jammy-updates,jammy-updates,now 0.99.22.4 all [installerat,automatiskt]
software-properties-qt/jammy-updates,jammy-updates,now 0.99.22.4 all [installerat,automatiskt]
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/software-properties/+bug/2003576/+subscriptions
More information about the foundations-bugs
mailing list