The attached patch fixes this by dropping the qualifier before looking up the package status information.
It is possible that something else is needed for proper multi-arch support. Regards, Nis
>From 3df5c44f472609894488df47deb30f9f3281dc86 Mon Sep 17 00:00:00 2001 From: Nis Martensen <[email protected]> Date: Sat, 28 Jan 2017 13:53:29 +0100 Subject: [PATCH 2/2] utils.get_dependency_info: ignore arch qualifiers Without this, we may look for packages like 'python3:any' from the dependencies and then not find any installed versions. --- reportbug/utils.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/reportbug/utils.py b/reportbug/utils.py index 2de91ae..22a6635 100644 --- a/reportbug/utils.py +++ b/reportbug/utils.py @@ -648,6 +648,8 @@ def get_dependency_info(package, depends, rel="depends on"): dependencies = [] for dep in depends: + # drop possible architecture qualifier from package names + dep = [d.split(':')[0] for d in dep] for bit in dep: dependencies.append((tuple(dep), bit)) -- 2.1.4
_______________________________________________ Reportbug-maint mailing list [email protected] http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/reportbug-maint
