diff options
author | Michael Vogt <michael.vogt@ubuntu.com> | 2009-06-30 13:52:52 +0200 |
---|---|---|
committer | Michael Vogt <michael.vogt@ubuntu.com> | 2009-06-30 13:52:52 +0200 |
commit | d116d66834b77cc77750c89969c43e0ba9d5807e (patch) | |
tree | 68dbbe92d59466adc586932b27b3cf7f04d053d8 /apt-pkg/algorithms.cc | |
parent | d6ebeb21ddb3d8f3d485562cdac0e0878d50c936 (diff) |
merge the AutoInstOk patch from debian-experimental
Diffstat (limited to 'apt-pkg/algorithms.cc')
-rw-r--r-- | apt-pkg/algorithms.cc | 2 |
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; |