]> git.saurik.com Git - apt.git/blobdiff - apt-pkg/depcache.cc
fix priority sorting by prefering higher in MarkInstall
[apt.git] / apt-pkg / depcache.cc
index 6a3e9bfc42a3d3c7ee23034785609b20633c85d8..5ca0c2ea5cb957f2ef98bb263198604767f0a572 100644 (file)
@@ -1004,7 +1004,7 @@ struct CompareProviders {
       }
       // higher priority seems like a good idea
       if (AV->Priority != BV->Priority)
-        return AV->Priority < BV->Priority;
+        return AV->Priority > BV->Priority;
       // prefer native architecture
       if (strcmp(A.Arch(), B.Arch()) != 0)
       {