]> git.saurik.com Git - apt.git/blobdiff - apt-pkg/depcache.cc
* apt-inst/deb/debfile.h:
[apt.git] / apt-pkg / depcache.cc
index daf7c8c4d5f315de3ae509878662e3e434e70c52..2656e9b42e745f3ca5a8b3fa982aee5ccce4f93f 100644 (file)
@@ -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);
         }