list-oem-metapackages crashed with TypeError in any_oem_metapackages_installed(): 'apt_pkg.Cache' object is not iterable

Bug #1966811 reported by Eric Carvalho
102
This bug affects 18 people
Affects Status Importance Assigned to Milestone
update-notifier (Ubuntu)
Fix Released
High
Brian Murray
Jammy
Fix Released
High
Brian Murray

Bug Description

Crashed after restarting computer. Maybe during automatic check for updates.

ProblemType: Crash
DistroRelease: Ubuntu 22.04
Package: update-notifier-common 3.192.52
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: unknown
CurrentDesktop: ubuntu:GNOME
Date: Mon Mar 28 17:00:46 2022
ExecutablePath: /usr/lib/update-notifier/list-oem-metapackages
InstallationDate: Installed on 2020-02-26 (760 days ago)
InstallationMedia: Ubuntu 20.04 LTS "Focal Fossa" - Alpha amd64 (20200225.4)
InterpreterPath: /usr/bin/python3.10
PackageArchitecture: all
ProcCmdline: /usr/bin/python3 /usr/lib/update-notifier/list-oem-metapackages
Python3Details: /usr/bin/python3.10, Python 3.10.3, python3-minimal, 3.10.1-0ubuntu2
PythonArgs: ['/usr/lib/update-notifier/list-oem-metapackages']
PythonDetails: N/A
SourcePackage: update-notifier
Title: list-oem-metapackages crashed with TypeError in any_oem_metapackages_installed(): 'apt_pkg.Cache' object is not iterable
UpgradeStatus: No upgrade log present (probably fresh install)
UserGroups: adm cdrom dialout dip lpadmin lxd plugdev sambashare sudo vboxusers wireshark
modified.conffile..etc.apt.apt.conf.d.10periodic:
 APT::Periodic::Update-Package-Lists "0";
 APT::Periodic::Download-Upgradeable-Packages "0";
 APT::Periodic::AutocleanInterval "0";
 APT::Periodic::Unattended-Upgrade "0";
mtime.conffile..etc.apt.apt.conf.d.10periodic: 2020-03-01T14:31:08.864240

Revision history for this message
Eric Carvalho (eric-carvalho) wrote :
information type: Private → Public
Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in update-notifier (Ubuntu):
status: New → Confirmed
Changed in update-notifier (Ubuntu Jammy):
status: Confirmed → In Progress
importance: Undecided → High
assignee: nobody → Brian Murray (brian-murray)
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package update-notifier - 3.192.53

---------------
update-notifier (3.192.53) jammy; urgency=medium

  * data/list-oem-metapackages: Complete the transition to apt_pkg which was
    not fully done in the previous upload. (LP: #1966811)

 -- Brian Murray <email address hidden> Tue, 29 Mar 2022 07:09:05 -0700

Changed in update-notifier (Ubuntu Jammy):
status: In Progress → 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.