[Bug 1964923] Re: list-oem-metapackages crashed with AttributeError in packages_for_modalias(): 'Cache' object has no attribute 'packages'

Launchpad Bug Tracker 1964923 at bugs.launchpad.net
Mon Mar 28 15:55:59 UTC 2022


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

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

  [ Robert Ancell ]
  * Disable Ubuntu Pro notification (LP: #1965996)

  [ Alberto Milone ]
  * data/list-oem-metapackages:
    - Fully transition to apt_pkg. This makes the code compatible
      with the new apt_pkg based UbuntuDrivers (LP: #1964923).
      Credit goes to Bin Li for spotting the problem and
      suggesting a fix.

 -- Alberto Milone <alberto.milone at canonical.com>  Thu, 24 Mar 2022
17:28:02 +0100

** Changed in: update-notifier (Ubuntu Jammy)
       Status: Confirmed => Fix Released

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

Title:
  list-oem-metapackages crashed with AttributeError in
  packages_for_modalias(): 'Cache' object has no attribute 'packages'

Status in OEM Priority Project:
  New
Status in update-notifier package in Ubuntu:
  Fix Released
Status in update-notifier source package in Jammy:
  Fix Released

Bug description:
  This bug occurred after install of Ubuntu Mate Jammy daily ISO
  15-03-2022

  Test machine Dell Optiplex 7060 in UEFI+secure boot mode.

  ProblemType: Crash
  DistroRelease: Ubuntu 22.04
  Package: update-notifier-common 3.192.51
  ProcVersionSignature: Ubuntu 5.15.0-22.22-generic 5.15.19
  Uname: Linux 5.15.0-22-generic x86_64
  ApportVersion: 2.20.11-0ubuntu79
  Architecture: amd64
  CasperMD5CheckResult: pass
  CurrentDesktop: MATE
  Date: Tue Mar 15 10:21:14 2022
  ExecutablePath: /usr/lib/update-notifier/list-oem-metapackages
  InstallationDate: Installed on 2022-03-15 (0 days ago)
  InstallationMedia: Ubuntu-MATE 22.04 LTS "Jammy Jellyfish" - Alpha amd64 (20220315)
  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.2, python3-minimal, 3.10.1-0ubuntu1
  PythonArgs: ['/usr/lib/update-notifier/list-oem-metapackages']
  PythonDetails: N/A
  SourcePackage: update-notifier
  Title: list-oem-metapackages 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 lpadmin lxd plugdev sambashare sudo

To manage notifications about this bug go to:
https://bugs.launchpad.net/oem-priority/+bug/1964923/+subscriptions




More information about the foundations-bugs mailing list