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

Mauricio Faria de Oliveira 2007311 at bugs.launchpad.net
Tue Mar 7 15:08:14 UTC 2023


** Tags added: sts

** Also affects: update-notifier (Ubuntu Focal)
   Importance: Undecided
       Status: New

** Also affects: update-notifier (Ubuntu Jammy)
   Importance: Undecided
       Status: New

** Also affects: update-notifier (Ubuntu Kinetic)
   Importance: Undecided
       Status: New

** Also affects: update-notifier (Ubuntu Bionic)
   Importance: Undecided
       Status: New

** Also affects: update-notifier (Ubuntu Lunar)
   Importance: Undecided
       Status: Confirmed

-- 
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
Status in update-notifier source package in Focal:
  New
Status in update-notifier source package in Jammy:
  New
Status in update-notifier source package in Kinetic:
  New
Status in update-notifier source package in Lunar:
  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