diff options
| author | Michael Vogt <michael.vogt@ubuntu.com> | 2006-01-25 12:01:48 +0100 |
|---|---|---|
| committer | Michael Vogt <michael.vogt@ubuntu.com> | 2006-01-25 12:01:48 +0100 |
| commit | b6a69caac1c4a3db57bd8ab4d93f9b62395f41d5 (patch) | |
| tree | 2c4f36470917ff9dd11fe31a3c0451dae893999e | |
| parent | 03c8611b39e82f89b612ae78f0ae59691d628164 (diff) | |
| download | python-apt-b6a69caac1c4a3db57bd8ab4d93f9b62395f41d5.tar.gz | |
* log trust problems as well
| -rw-r--r-- | DistUpgrade/DistUpgradeCache.py | 4 |
1 files changed, 3 insertions, 1 deletions
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 " |
