tags 583201 + patch
merge 583201 598959 618544
quit
Commit c25b578715dd6e53925b79beb17b5c1e07e3e95d fixed
"src/generic/apt/matching/serialize.cc", however, the reported error
message "X has an invalid dependency type! Y" comes from
"reason_fragment.cc"
Bug still exists in 0.6.4-1:
libggi2-dev will be automatically installed to satisfy the following
dependencies:
* libggiwmh0-dev depends on libggi2-dev (>= 1:2.2.1-4)
* libggiwmh0-dev has an invalid dependency type! libggi2-dev
After applying patch:
...
* libggiwmh0-dev enhances libggi2-dev
diff --git a/src/reason_fragment.cc b/src/reason_fragment.cc
index 67782e3..d7f2cd9 100644
--- a/src/reason_fragment.cc
+++ b/src/reason_fragment.cc
@@ -42,6 +42,7 @@ cw::fragment *depname_frag(pkgCache::DepIterator dep)
cw::style_attrs_on(
case pkgCache::Dep::Replaces: return cw::text_fragment(_("replaces"));
case pkgCache::Dep::Obsoletes: return cw::text_fragment(_("obsoletes"));
+ case pkgCache::Dep::Enhances: return cw::text_fragment(_("enhances"));
}
// Untranslated (internal error that will only happen if things go