diff options
| author | Michael Vogt <michael.vogt@ubuntu.com> | 2006-01-25 16:41:34 +0100 |
|---|---|---|
| committer | Michael Vogt <michael.vogt@ubuntu.com> | 2006-01-25 16:41:34 +0100 |
| commit | f8a5787cfd0143bae105db79cd28ef073ca776c4 (patch) | |
| tree | e6b4ea9e7e8e2d70bb307164e1c1b47688f39b78 /DistUpgrade/DistUpgradeViewGtk.py | |
| parent | 83913ddb8e30cf6fd8527c6ca245df69229ab72e (diff) | |
| download | python-apt-f8a5787cfd0143bae105db79cd28ef073ca776c4.tar.gz | |
* DistUpgrade/DistUpgradeViewGtk.py: log dpkg errors and conffile prompts as well
Diffstat (limited to 'DistUpgrade/DistUpgradeViewGtk.py')
| -rw-r--r-- | DistUpgrade/DistUpgradeViewGtk.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/DistUpgrade/DistUpgradeViewGtk.py b/DistUpgrade/DistUpgradeViewGtk.py index ee05a5bf..b84e8575 100644 --- a/DistUpgrade/DistUpgradeViewGtk.py +++ b/DistUpgrade/DistUpgradeViewGtk.py @@ -128,6 +128,7 @@ class GtkInstallProgressAdapter(InstallProgress): "DEBIAN_FRONTEND=gnome", "APT_LISTCHANGES_FRONTEND=none"] def error(self, pkg, errormsg): + logging.error("got a error from dpkg for pkg: '%s': '%s'" % (pkg, errormsg)) dialog = gtk.MessageDialog(self.parent.window_main, 0, gtk.MESSAGE_ERROR, gtk.BUTTONS_OK,"") @@ -152,6 +153,7 @@ class GtkInstallProgressAdapter(InstallProgress): dialog.run() dialog.destroy() def conffile(self, current, new): + logging.debug("got a conffile-prompt from dpkg for pkg: '%s'" % current) self.expander.set_expanded(True) pass def fork(self): |
