diff options
| author | Sebastian Heinlein <sebastian.heinlein@web.de> | 2006-01-26 00:29:47 +0100 |
|---|---|---|
| committer | Sebastian Heinlein <sebastian.heinlein@web.de> | 2006-01-26 00:29:47 +0100 |
| commit | 7e1b71667312232f492fe8288be6da68c4400e59 (patch) | |
| tree | 2b3f4cc270a3d9fceb0721d787db6a8992e21546 /DistUpgrade | |
| parent | 848ca4f754567d140dd72f06e8fb4142fc7bc889 (diff) | |
| parent | ccfd9f367294b9ef65ac1e1b501ee802a1496445 (diff) | |
| download | python-apt-7e1b71667312232f492fe8288be6da68c4400e59.tar.gz | |
* erged from michael
Diffstat (limited to 'DistUpgrade')
| -rw-r--r-- | DistUpgrade/DistUpgradeViewGtk.py | 3 | ||||
| -rw-r--r-- | DistUpgrade/TODO | 12 |
2 files changed, 14 insertions, 1 deletions
diff --git a/DistUpgrade/DistUpgradeViewGtk.py b/DistUpgrade/DistUpgradeViewGtk.py index 71762d6e..9ba1a04c 100644 --- a/DistUpgrade/DistUpgradeViewGtk.py +++ b/DistUpgrade/DistUpgradeViewGtk.py @@ -28,6 +28,7 @@ import vte import gobject import pango import sys +import logging import apt import apt_pkg @@ -140,6 +141,7 @@ class GtkInstallProgressAdapter(InstallProgress): msg="<big><b>%s</b></big>\n\n%s" % (summary, msg) self.label_error.set_markup(msg) + logging.error("got a error from dpkg for pkg: '%s': '%s'" % (pkg, errormsg)) if errormsg != None: buffer = self.textview_error.get_buffer() buffer.set_text(errormsg) @@ -150,6 +152,7 @@ class GtkInstallProgressAdapter(InstallProgress): return False 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): diff --git a/DistUpgrade/TODO b/DistUpgrade/TODO index fa31c041..9d26eefc 100644 --- a/DistUpgrade/TODO +++ b/DistUpgrade/TODO @@ -32,4 +32,14 @@ Robustness: DescURI for each failed item and guess from it what sources.list line failed (e.g. uri.endswith("Sources{.bz2|.gz") -> deb-src, get base-uri, find 'dists' in uri etc) -
\ No newline at end of file + +- don't stop if a single pkg fails to upgrade: + - the problem here is apt, in apt-pkg/deb/dpkgpm.cc it will stop if + dpkg returns a non-zero exit code. The problem with this is of course + that this may happen in the middle of the upgrade, leaving half the + packages unpacked but not configured or loads of packages unconfigured. + One possible solution is to not stop in apt but try to continue as long + as possible. The problem here is that e.g. if libnoitfy0 explodes and + evolution, update-notifer depend on it, continuing means to evo and u-n + can't be upgraded and dpkg explodes on them too. This is not more worse + than what we have right now I guess.
\ No newline at end of file |
