Not an expert here, but the problem appears to be the import apt line 58
in SoftwarePropertiesQt.py.

apt.Cache() lacks the packages attribute.

Replacing apt with apt_pkg (as seen in the detect.py package and to
which the apt_cache is passed) should fix the problem.

apt is only called twice in SoftwarePropertiesQt.py and both times, it
is used (incorrectly) as follows:

self.apt_cache = apt.Cache()

If this is the correct approach to fix this issue, I will attempt to
submit a patch.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1965811

Title:
  software-properties-qt does not load driver information

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/software-properties/+bug/1965811/+subscriptions


-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to