software-properties-gtk crashed with AttributeError in packages_for_modalias(): 'Cache' object has no attribute 'packages'

Bug #1964880 reported by Matthew Ruffell
368
This bug affects 70 people
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-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
ApportVersion: 2.20.11-0ubuntu79
Architecture: amd64
CasperMD5CheckResult: pass
CurrentDesktop: ubuntu:GNOME
Date: Tue Mar 15 19:02:39 2022
ExecutablePath: /usr/bin/software-properties-gtk
InstallationDate: Installed on 2022-01-02 (72 days ago)
InstallationMedia: Ubuntu 22.04 LTS "Jammy Jellyfish" - Alpha amd64 (20220101)
InterpreterPath: /usr/bin/python3.10
PackageArchitecture: all
ProcCmdline: /usr/bin/python3 /usr/bin/software-properties-gtk
Python3Details: /usr/bin/python3.10, Python 3.10.2+, python3-minimal, 3.10.1-0ubuntu2
PythonArgs: ['/usr/bin/software-properties-gtk']
PythonDetails: N/A
SourcePackage: software-properties
Title: software-properties-gtk crashed with AttributeError in packages_for_modalias(): 'Cache' object has no attribute 'packages'
UpgradeStatus: No upgrade log present (probably fresh install)
UserGroups: adm cdrom dip libvirt lpadmin lxd plugdev sambashare sudo

Related branches

Revision history for this message
Matthew Ruffell (mruffell) wrote :
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
Revision history for this message
Alberto Milone (albertomilone) wrote :

I have created a merge proposal for this.

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
Revision history for this message
Matthew Ruffell (mruffell) wrote :

I installed software-properties 0.99.20 from -proposed, and opened software-properties-gtk, and clicked the "Additional Drivers" tab. The tab loaded correctly and did not crash.

The package in -proposed fixes the issue, happy to mark verified.

Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package software-properties - 0.99.20

---------------
software-properties (0.99.20) jammy; urgency=medium

  [ Alberto Milone ]
  * Update to be compatible with the new ubuntu-drivers-common version
    (lp: #1964880)

 -- Sebastien Bacher <email address hidden> Tue, 22 Mar 2022 10:38:01 +0100

Changed in software-properties (Ubuntu Jammy):
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.