]> git.saurik.com Git - apt.git/commitdiff
Try to use NotEquals for the MultiArch Breaks dependencies instead of
authorDavid Kalnischkies <kalnischkies@gmail.com>
Mon, 5 Jul 2010 09:42:57 +0000 (11:42 +0200)
committerDavid Kalnischkies <kalnischkies@gmail.com>
Mon, 5 Jul 2010 09:42:57 +0000 (11:42 +0200)
Less and Greater -> half the dependencies :)

apt-pkg/pkgcachegen.cc

index 5649cd6f8c41c67b6654d65d67a6dbbddcf99dbb..05c01494bb20f3670da30cad29a1ba5e44d4a3df 100644 (file)
@@ -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)
                     {