]> git.saurik.com Git - apt.git/commitdiff
* apt-pkg/algorithms.cc:
authorColin Watson <cjwatson@ubuntu.com>
Sun, 29 Jan 2012 12:53:25 +0000 (13:53 +0100)
committerDavid Kalnischkies <kalnischkies@gmail.com>
Sun, 29 Jan 2012 12:53:25 +0000 (13:53 +0100)
  - don't break out of the main-resolver loop for Breaks to deal with all
    of them in a single iteration (Closes: #657695, LP: #922485)

apt-pkg/algorithms.cc
debian/changelog

index f7a333606e572332d46ec73bb454d846b713de56..7a9586ca015a966cf927df54ca52beb0c8e0edca 100644 (file)
@@ -1098,8 +1098,7 @@ bool pkgProblemResolver::ResolveInternal(bool const BrokenFix)
                  LEnd->Dep = End;
                  LEnd++;
                  
-                 if (Start->Type != pkgCache::Dep::Conflicts &&
-                     Start->Type != pkgCache::Dep::Obsoletes)
+                 if (Start.IsNegative() == false)
                     break;
               }
            }
index c3fadf8bc2abd205a0a219413be407d429610cc2..3a1f0f9ef750d05851f90a6b00e87c2bac29de5e 100644 (file)
@@ -10,7 +10,12 @@ apt (0.8.16~exp13) UNRELEASED; urgency=low
     - for cross-build-dependencies M-A: none should be DEB_HOST_ARCH,
       not DEB_BUILD_ARCH (Closes: #646288)
 
- -- David Kalnischkies <kalnischkies@gmail.com>  Sun, 29 Jan 2012 13:14:01 +0100
+  [ Colin Watson ]
+  * apt-pkg/algorithms.cc:
+    - don't break out of the main-resolver loop for Breaks to deal with all
+      of them in a single iteration (Closes: #657695, LP: #922485)
+
+ -- David Kalnischkies <kalnischkies@gmail.com>  Sun, 29 Jan 2012 13:50:10 +0100
 
 apt (0.8.16~exp12) experimental; urgency=low