*** This bug is a duplicate of bug 1964880 ***
    https://bugs.launchpad.net/bugs/1964880

** This bug has been marked a duplicate of bug 1964880
   software-properties-gtk crashed with AttributeError in 
packages_for_modalias(): 'Cache' object has no attribute 'packages'

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

Title:
  an error has occurred while searching for drivers

Status in software-properties package in Ubuntu:
  Confirmed

Bug description:
  when going to additional drivers it says an error has occurred while
  searching for drivers. I am using Ubuntu 22.04.

  software-properties-gtk:
  Installed: 0.99.19

  
  
/usr/lib/python3/dist-packages/softwareproperties/gtk/SoftwarePropertiesGtk.py:49:
 PyGIWarning: Handy was imported without specifying a version first. Use 
gi.require_version('Handy', '1') before import to ensure that the right version 
gets loaded.
    from gi.repository import GObject, Gdk, Gtk, Gio, GLib, Handy
  Traceback (most recent call last):
    File 
"/usr/lib/python3/dist-packages/softwareproperties/gtk/SoftwarePropertiesGtk.py",
 line 1380, in detect_drivers
      self.devices = detect.system_device_drivers(self.apt_cache)
    File "/usr/lib/python3/dist-packages/UbuntuDrivers/detect.py", line 752, in 
system_device_drivers
      for pkg, pkginfo in system_driver_packages(apt_cache, sys_path,
    File "/usr/lib/python3/dist-packages/UbuntuDrivers/detect.py", line 448, in 
system_driver_packages
      for p in packages_for_modalias(apt_cache, alias):
    File "/usr/lib/python3/dist-packages/UbuntuDrivers/detect.py", line 200, in 
packages_for_modalias
      apt_cache_hash = hash(package.get_fullname() for package in 
apt_cache.packages)
  AttributeError: 'Cache' object has no attribute 'packages'

  ProblemType: Bug
  DistroRelease: Ubuntu 22.04
  Package: software-properties-gtk 0.99.19
  ProcVersionSignature: Ubuntu 5.15.0-23.23-generic 5.15.27
  Uname: Linux 5.15.0-23-generic x86_64
  NonfreeKernelModules: nvidia_modeset nvidia
  ApportVersion: 2.20.11-0ubuntu79
  Architecture: amd64
  CasperMD5CheckResult: pass
  CurrentDesktop: ubuntu:GNOME
  Date: Tue Mar 22 15:57:06 2022
  InstallationDate: Installed on 2022-03-22 (0 days ago)
  InstallationMedia: Ubuntu 22.04 LTS "Jammy Jellyfish" - Alpha amd64 (20220321)
  PackageArchitecture: all
  ProcEnviron:
   LANGUAGE=en_GB:en
   PATH=(custom, no user)
   XDG_RUNTIME_DIR=<set>
   LANG=en_GB.UTF-8
   SHELL=/bin/bash
  SourcePackage: software-properties
  UpgradeStatus: No upgrade log present (probably fresh install)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/software-properties/+bug/1965964/+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