From b6a69caac1c4a3db57bd8ab4d93f9b62395f41d5 Mon Sep 17 00:00:00 2001 From: Michael Vogt Date: Wed, 25 Jan 2006 12:01:48 +0100 Subject: * log trust problems as well --- DistUpgrade/DistUpgradeCache.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'DistUpgrade/DistUpgradeCache.py') diff --git a/DistUpgrade/DistUpgradeCache.py b/DistUpgrade/DistUpgradeCache.py index abe11d3b..7629ed64 100644 --- a/DistUpgrade/DistUpgradeCache.py +++ b/DistUpgrade/DistUpgradeCache.py @@ -107,7 +107,7 @@ class MyCache(apt.Cache): _("A unresolvable problem occured while " "calculating the upgrade. Please report " "this as a bug. ")) - logging.debug("Dist-upgrade failed: '%s'", e) + logging.error("Dist-upgrade failed: '%s'", e) return False # check the trust of the packages that are going to change @@ -122,6 +122,8 @@ class MyCache(apt.Cache): if not trusted: untrusted.append(pkg.name) if len(untrusted) > 0: + logging.error("Unauthenticated packages found: '%s'" % \ + " ".join(untrusted)) # FIXME: maybe ask a question here? instead of failing? view.error(_("Error authenticating some packages"), _("It was not possible to authenticate some " -- cgit v1.2.3