From: David Kalnischkies Date: Mon, 5 Jul 2010 09:42:57 +0000 (+0200) Subject: Try to use NotEquals for the MultiArch Breaks dependencies instead of X-Git-Tag: 0.8.0~9^2~22^2~6 X-Git-Url: http://git.hcoop.net/ntk/apt.git/commitdiff_plain/3b5272950a1ac62178f7b8a0144c4c52e194be40?ds=sidebyside Try to use NotEquals for the MultiArch Breaks dependencies instead of Less and Greater -> half the dependencies :) --- diff --git a/apt-pkg/pkgcachegen.cc b/apt-pkg/pkgcachegen.cc index 5649cd6f..05c01494 100644 --- a/apt-pkg/pkgcachegen.cc +++ b/apt-pkg/pkgcachegen.cc @@ -572,10 +572,7 @@ bool pkgCacheGenerator::FinishCache(OpProgress *Progress) OldDepLast); // Breaks: ${self}:other (!= ${binary:Version}) NewDepends(D, V, V.VerStr(), - pkgCache::Dep::Less, pkgCache::Dep::DpkgBreaks, - OldDepLast); - NewDepends(D, V, V.VerStr(), - pkgCache::Dep::Greater, pkgCache::Dep::DpkgBreaks, + pkgCache::Dep::NotEquals, pkgCache::Dep::DpkgBreaks, OldDepLast); if (V->MultiArch == pkgCache::Version::All) {