]> git.saurik.com Git - apt.git/blobdiff - apt-pkg/depcache.cc
proof-of-concept for fixing debian #731102
[apt.git] / apt-pkg / depcache.cc
index a06789cdfc0707554e23dbf5e158206b468be941..f9c891c86d2bd4290bf3875eb2563ca5437a408e 100644 (file)
@@ -1522,7 +1522,7 @@ bool pkgDepCache::SetCandidateRelease(pkgCache::VerIterator TargetVer,
         if (itsFine == false)
         {
            // change the candidate
         if (itsFine == false)
         {
            // change the candidate
-           Changed.push_back(make_pair(oldCand, TargetVer));
+           Changed.push_back(make_pair(V, TargetVer));
            if (SetCandidateRelease(V, TargetRel, Changed) == false)
            {
               if (stillOr == false)
            if (SetCandidateRelease(V, TargetRel, Changed) == false)
            {
               if (stillOr == false)