diff -Nru /tmp/szNYmRk7U2/python-apt-0.6.19ubuntu9/apt/progress.py /tmp/3d93aLhkMl/python-apt-0.6.19ubuntu9.1/apt/progress.py --- /tmp/szNYmRk7U2/python-apt-0.6.19ubuntu9/apt/progress.py 2006-09-18 18:26:48.000000000 +0200 +++ /tmp/3d93aLhkMl/python-apt-0.6.19ubuntu9.1/apt/progress.py 2006-10-27 10:42:06.000000000 +0200 @@ -175,7 +175,12 @@ if self.read.endswith("\n"): s = self.read #print s - (status, pkg, percent, status_str) = string.split(s, ":") + try: + (status, pkg, percent, status_str) = string.split(s, ":",3) + except ValueError, e: + # silently ignore lines that can't be parsed + self.read = "" + return #print "percent: %s %s" % (pkg, float(percent)/100.0) if status == "pmerror": self.error(pkg,status_str) diff -Nru /tmp/szNYmRk7U2/python-apt-0.6.19ubuntu9/debian/changelog /tmp/3d93aLhkMl/python-apt-0.6.19ubuntu9.1/debian/changelog --- /tmp/szNYmRk7U2/python-apt-0.6.19ubuntu9/debian/changelog 2006-10-12 14:27:34.000000000 +0200 +++ /tmp/3d93aLhkMl/python-apt-0.6.19ubuntu9.1/debian/changelog 2006-10-27 10:42:06.000000000 +0200 @@ -1,3 +1,9 @@ +python-apt (0.6.19ubuntu9.1) edgy-updates; urgency=low + + * protect against not-parsable strings send from dpkg (lp: 68553) + + -- Michael Vogt Fri, 27 Oct 2006 10:41:44 +0200 + python-apt (0.6.19ubuntu9) edgy; urgency=low * Reupload to restore dependency on python-central.