summaryrefslogtreecommitdiff
path: root/apt-pkg
diff options
context:
space:
mode:
authorDavid Kalnischkies <kalnischkies@gmail.com>2012-04-23 22:03:23 +0200
committerDavid Kalnischkies <kalnischkies@gmail.com>2012-04-23 22:03:23 +0200
commitcc04f4ce9eaaf0945775d5233806de7da5d21ff6 (patch)
tree1a3b69e8d10cbf78a7ad278dab0e5b40bf24c69f /apt-pkg
parentaf13d1437cbcb383de89f126b316c02587e4b691 (diff)
provider is only a possible solution if the provides has the right
version (or none as we have no versioned provides in debian) and not if the version of the provider matches
Diffstat (limited to 'apt-pkg')
-rw-r--r--apt-pkg/depcache.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/apt-pkg/depcache.cc b/apt-pkg/depcache.cc
index daf7c8c4d..2656e9b42 100644
--- a/apt-pkg/depcache.cc
+++ b/apt-pkg/depcache.cc
@@ -1164,7 +1164,7 @@ bool pkgDepCache::MarkInstall(PkgIterator const &Pkg,bool AutoInst,
pkgCache::VerIterator V = Prv.OwnerVer();
pkgCache::VerIterator Cand = PkgState[Prv.OwnerPkg()->ID].CandidateVerIter(*this);
if (Cand.end() == true || V != Cand ||
- VS().CheckDep(Cand.VerStr(), Start->CompareOp, Start.TargetVer()) == false)
+ VS().CheckDep(Prv.ProvideVersion(), Start->CompareOp, Start.TargetVer()) == false)
continue;
verlist.insert(Cand);
}