summaryrefslogtreecommitdiff
path: root/apt-pkg/algorithms.cc
diff options
context:
space:
mode:
authorMichael Vogt <michael.vogt@ubuntu.com>2009-06-30 13:52:52 +0200
committerMichael Vogt <michael.vogt@ubuntu.com>2009-06-30 13:52:52 +0200
commitd116d66834b77cc77750c89969c43e0ba9d5807e (patch)
tree68dbbe92d59466adc586932b27b3cf7f04d053d8 /apt-pkg/algorithms.cc
parentd6ebeb21ddb3d8f3d485562cdac0e0878d50c936 (diff)
merge the AutoInstOk patch from debian-experimental
Diffstat (limited to 'apt-pkg/algorithms.cc')
-rw-r--r--apt-pkg/algorithms.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/apt-pkg/algorithms.cc b/apt-pkg/algorithms.cc
index db370a044..2ad064319 100644
--- a/apt-pkg/algorithms.cc
+++ b/apt-pkg/algorithms.cc
@@ -985,7 +985,7 @@ bool pkgProblemResolver::Resolve(bool BrokenFix)
// Consider other options
if (InOr == false)
{
- if (Cache.IsAutoInstallOk(I) == true)
+ if (Cache.AutoInstOk(I, Cache[I].CandidateVerIter(Cache),Start) == true)
{
if (Debug == true)
clog << " Removing " << I.Name() << " rather than change " << Start.TargetPkg().Name() << endl;