software-properties-gtk crashed with AttributeError in packages_for_modalias(): 'Cache' object has no attribute 'packages'
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
software-properties (Ubuntu) |
Fix Released
|
High
|
Alberto Milone | ||
Jammy |
Fix Released
|
High
|
Alberto Milone |
Bug Description
Opened up "Software & Updates" and clicked the "Additional Drivers Tab", for the tab to crash.
ProblemType: Crash
DistroRelease: Ubuntu 22.04
Package: software-
ProcVersionSign
Uname: Linux 5.15.0-23-generic x86_64
ApportVersion: 2.20.11-0ubuntu79
Architecture: amd64
CasperMD5CheckR
CurrentDesktop: ubuntu:GNOME
Date: Tue Mar 15 19:02:39 2022
ExecutablePath: /usr/bin/
InstallationDate: Installed on 2022-01-02 (72 days ago)
InstallationMedia: Ubuntu 22.04 LTS "Jammy Jellyfish" - Alpha amd64 (20220101)
InterpreterPath: /usr/bin/python3.10
PackageArchitec
ProcCmdline: /usr/bin/python3 /usr/bin/
Python3Details: /usr/bin/
PythonArgs: ['/usr/
PythonDetails: N/A
SourcePackage: software-properties
Title: software-
UpgradeStatus: No upgrade log present (probably fresh install)
UserGroups: adm cdrom dip libvirt lpadmin lxd plugdev sambashare sudo
Related branches
- Sebastien Bacher (community): Approve
- Julian Andres Klode (community): Needs Fixing
- git-ubuntu import: Pending requested
-
Diff: 406 lines (+121/-80)3 files modifiedsoftwareproperties/SoftwareProperties.py (+24/-12)
softwareproperties/gtk/SoftwarePropertiesGtk.py (+49/-35)
softwareproperties/qt/SoftwarePropertiesQt.py (+48/-33)
affects: | software-properties (Ubuntu Jammy) → ubuntu-drivers-common (Ubuntu Jammy) |
Changed in ubuntu-drivers-common (Ubuntu Jammy): | |
assignee: | nobody → Alberto Milone (albertomilone) |
importance: | Undecided → High |
tags: | added: rls-jj-incoming |
Changed in ubuntu-drivers-common (Ubuntu Jammy): | |
status: | New → In Progress |
affects: | ubuntu-drivers-common (Ubuntu Jammy) → software-properties (Ubuntu Jammy) |
Changed in software-properties (Ubuntu Jammy): | |
status: | In Progress → Fix Committed |
tags: | removed: rls-jj-incoming |
I have created a merge proposal for this.