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 5649cd6..05c0149 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)
                     {