After debugging, I found this issue is still related to list-oem- metapackages in update-notifier, I just switch apt to apt_pkg, and is_installed is also not attribute of pkg.
** Patch added: "0001-apt.cache-has-no-attribute-packages.patch" https://bugs.launchpad.net/ubuntu/+source/update-notifier/+bug/1964923/+attachment/5571184/+files/0001-apt.cache-has-no-attribute-packages.patch -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1964923 Title: list-oem-metapackages crashed with AttributeError in packages_for_modalias(): 'Cache' object has no attribute 'packages' To manage notifications about this bug go to: https://bugs.launchpad.net/oem-priority/+bug/1964923/+subscriptions -- ubuntu-bugs mailing list [email protected] https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
