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

Apport retracing service 1964846 at bugs.launchpad.net
Thu Jun 23 14:35:06 UTC 2022


*** This bug is a duplicate of bug 1966311 ***
    https://bugs.launchpad.net/bugs/1966311

Thank you for taking the time to report this crash and helping to make
this software better.  This particular crash has already been reported
and is a duplicate of bug #1966311, so is being marked as such.  Please
look at the other bug report to see if there is any missing information
that you can provide, or to see if there is a workaround for the bug.
Additionally, any further discussion regarding the bug should occur in
the other report.  Please continue to report any other bugs you may
find.

** Tags removed: need-duplicate-check

** Changed in: update-notifier (Ubuntu)
   Importance: Undecided => Medium

** Attachment removed: "ProcMaps.txt"
   https://bugs.launchpad.net/bugs/1964846/+attachment/5568867/+files/ProcMaps.txt

** Attachment removed: "ProcStatus.txt"
   https://bugs.launchpad.net/bugs/1964846/+attachment/5568868/+files/ProcStatus.txt

** This bug has been marked a duplicate of private bug 1966311

** Information type changed from Private to Public

-- 
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/1964846

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

Status in update-notifier package in Ubuntu:
  New

Bug description:
  Failed to install linux-firmware_20220314.gitcd01f857-0ubuntu1_all.deb

  system: Ubuntu 22.04 (2022.3.15)
  repository: proposed repository enabled.
  commands: 
    sudo apt update
    sudo apt dist-upgrade

  exception: packages upgraded

  result:
  Reading package lists... Done
  Building dependency tree... Done
  Reading state information... Done
  Calculating upgrade... Done
  The following held packages will be changed:
    linux-firmware
  The following packages will be upgraded:
    linux-firmware
  1 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
  Need to get 0 B/238 MB of archives.
  After this operation, 24.9 MB of additional disk space will be used.
  Do you want to continue? [Y/n] 
  (Reading database ... 428092 files and directories currently installed.)
  Preparing to unpack .../linux-firmware_20220314.gitcd01f857-0ubuntu1_all.deb ...
  Unpacking linux-firmware (20220314.gitcd01f857-0ubuntu1) over (20220302.gitee0667aa-0ubuntu1) ...
  dpkg: error processing archive /var/cache/apt/archives/linux-firmware_20220314.gitcd01f857-0ubuntu1_all.deb (--unpack):
   unable to open '/lib/firmware/ath11k/WCN6855/hw2.0/regdb.bin.dpkg-new': No such file or directory
  No apport report written because the error message indicates an issue on the local system
                                                                                           update-initramfs: Generating /boot/initrd.img-5.15.0-23-generic
  update-initramfs: Generating /boot/initrd.img-5.15.0-22-generic
  update-initramfs: Generating /boot/initrd.img-5.15.0-18-generic
  Errors were encountered while processing:
   /var/cache/apt/archives/linux-firmware_20220314.gitcd01f857-0ubuntu1_all.deb
  E: Sub-process /usr/bin/dpkg returned an error code (1)

  
  Disk usages:
  Filesystem      Size  Used Avail Use% Mounted on
  /dev/nvme0n1p3   46G   30G   14G  70% /
  /dev/nvme0n1p2  946M  206M  676M  24% /boot
  /dev/nvme0n1p1  124M  8.3M  116M   7% /boot/efi
  /dev/nvme0n1p4  306G  148G  156G  49% /var
  /dev/sdb2       503G  193G  310G  39% /home

  Not caused by insufficient /boot disk space.

  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
  NonfreeKernelModules: zfs zunicode zavl icp zcommon znvpair nvidia_modeset nvidia
  ApportVersion: 2.20.11-0ubuntu79
  Architecture: amd64
  CasperMD5CheckResult: unknown
  CurrentDesktop: GNOME
  Date: Tue Mar 15 08:41:36 2022
  ExecutablePath: /usr/lib/update-notifier/list-oem-metapackages
  InstallationDate: Installed on 2019-11-05 (860 days ago)
  InstallationMedia: Ubuntu 19.10 "Eoan Ermine" - Release amd64 (20191017)
  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-0ubuntu2
  PythonArgs: ['/usr/lib/update-notifier/list-oem-metapackages']
  PythonDetails: N/A
  RebootRequiredPkgs: Error: path contained symlinks.
  SourcePackage: update-notifier
  Title: list-oem-metapackages crashed with AttributeError in packages_for_modalias(): 'Cache' object has no attribute 'packages'
  UpgradeStatus: Upgraded to jammy on 2022-02-15 (27 days ago)
  UserGroups: adm audio cdrom dip docker kvm libvirt lpadmin lxd plugdev render sambashare sudo tty video wireshark
  modified.conffile..etc.apt.apt.conf.d.10periodic:
   APT::Periodic::Update-Package-Lists "1";
   APT::Periodic::Download-Upgradeable-Packages "1";
   APT::Periodic::AutocleanInterval "0";
   APT::Periodic::Unattended-Upgrade "0";
  mtime.conffile..etc.apt.apt.conf.d.10periodic: 2021-08-11T18:58:40.046205

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/update-notifier/+bug/1964846/+subscriptions




More information about the foundations-bugs mailing list