[Bug 2007311] Re: apt-check python script doesn't catch issues before outputting bad data

Kodiak Firesmith 2007311 at bugs.launchpad.net
Thu Mar 2 13:52:05 UTC 2023


In the past 3+ weeks I've been playing whack-a-mole with this across a
~300 system fleet of servers.

Today a different package on a different host came up:

E: Unknown Error: '<class 'KeyError'>' ("The cache has no package named
'linux-headers-5.4.0-144-generic:amd64'")

Beyond the bug at hand, which of course should be fixed so that we
aren't emitting unpredictable output from 'apt-check', whomever is in
charge of Canonical repositories probably ought to be looking into these
continuous sporadic cache problems.  It's coming from the upstream cache
we download AFAICT.

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

Title:
  apt-check python script doesn't catch issues before outputting bad
  data

Status in update-notifier package in Ubuntu:
  Confirmed

Bug description:
  This type of error should be caught.

   /usr/lib/update-notifier/apt-check
  E: Unknown Error: '<class 'KeyError'>' ("The cache has no package named 'libxmlb2:amd64'")

  /usr/lib/update-notifier/apt-check --human-readable
  E: Unknown Error: '<class 'KeyError'>' ("The cache has no package named 'libxmlb2:amd64'")

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




More information about the foundations-bugs mailing list