[Bug 2007311] Re: apt-check python script doesn't catch issues before outputting bad data
Julian Andres Klode
2007311 at bugs.launchpad.net
Mon Mar 6 20:04:42 UTC 2023
@kodiak apt.Cache only includes real packages, the one in apt_pkg also
has virtual packages. You can see that in apt/cache.py how it filters
the apt_pkg.Cache.
--
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