summaryrefslogtreecommitdiff
path: root/apt-pkg
diff options
context:
space:
mode:
authorArch Librarian <arch@canonical.com>2004-09-20 16:55:07 +0000
committerArch Librarian <arch@canonical.com>2004-09-20 16:55:07 +0000
commit0296c633c4ae31f9addfb57c6530815a54d22f62 (patch)
treef36d3d1e4a8db8bddbb09b8f6b40120df488c694 /apt-pkg
parent8484ee17823bf05287b3e877e23c576ed65b8f2c (diff)
Problem resolver does not install all virtual packages.
Author: jgg Date: 1999-10-31 23:58:35 GMT Problem resolver does not install all virtual packages.
Diffstat (limited to 'apt-pkg')
-rw-r--r--apt-pkg/algorithms.cc6
1 files changed, 5 insertions, 1 deletions
diff --git a/apt-pkg/algorithms.cc b/apt-pkg/algorithms.cc
index e784ce895..0df6c0a75 100644
--- a/apt-pkg/algorithms.cc
+++ b/apt-pkg/algorithms.cc
@@ -1,6 +1,6 @@
// -*- mode: cpp; mode: fold -*-
// Description /*{{{*/
-// $Id: algorithms.cc,v 1.27 1999/10/22 05:58:54 jgg Exp $
+// $Id: algorithms.cc,v 1.28 1999/10/31 23:58:35 jgg Exp $
/* ######################################################################
Algorithms - A set of misc algorithms
@@ -799,7 +799,11 @@ bool pkgProblemResolver::Resolve(bool BrokenFix)
if ((Flags[I->ID] & Protected) == Protected)
{
if (DoUpgrade(Pkg) == true)
+ {
Scores[Pkg->ID] = Scores[I->ID];
+ break;
+ }
+
continue;
}