tags 516904 + patch
thanks
* Jakub Wilk <[email protected]>, 2009-02-24, 12:33:
which-pkg-brokes seems to ignore dependencies with alternative package names.
I believe that the attached patch fixes this problem.
--
Jakub Wilk
diff --git a/which-pkg-broke b/which-pkg-broke
--- a/which-pkg-broke
+++ b/which-pkg-broke
@@ -21,6 +21,7 @@
elts = map(strip, myline.split(':'))
if len(elts) == 2:
how, pkg = elts
+ how = how.replace('|', '')
if how in ('Depends', 'PreDepends'):
deps.append(pkg)
myline = apt_cache.stdout.readline()