]> git.saurik.com Git - apt.git/blobdiff - apt-pkg/algorithms.cc
support arch:all data e.g. in separate Packages file
[apt.git] / apt-pkg / algorithms.cc
index 7ddbb9d44bf6f775da456d804e218ffa21478fdb..d25cbd63aab3ba305a5c9f4af8844c10d3431563 100644 (file)
@@ -933,7 +933,7 @@ bool pkgProblemResolver::ResolveInternal(bool const BrokenFix)
                                 Start.TargetPkg()->CurrentVer == 0 &&
                                 Cache[Start.TargetPkg()].Delete() == false &&
                                 (Flags[Start.TargetPkg()->ID] & ToRemove) != ToRemove &&
-                                Cache.GetCandidateVer(Start.TargetPkg()).end() == false)
+                                Cache.GetCandidateVersion(Start.TargetPkg()).end() == false)
                        {
                           /* Before removing or keeping the package with the broken dependency
                              try instead to install the first not previously installed package