]> git.saurik.com Git - apt.git/blobdiff - cmdline/apt-internal-solver.cc
merged from lp:~donkult/apt/experimental
[apt.git] / cmdline / apt-internal-solver.cc
index ad00a0e2327cc14aee74e9dfd83e6c1479805d0b..1b636e4d5fe6c6851a7cc5f718cdb07e455bc30f 100644 (file)
 #include <apt-pkg/cmndline.h>
 #include <apt-pkg/init.h>
 #include <apt-pkg/cachefile.h>
+#include <apt-pkg/cacheset.h>
 #include <apt-pkg/strutl.h>
 #include <apt-pkg/edsp.h>
 #include <apt-pkg/algorithms.h>
 #include <apt-pkg/fileutl.h>
+#include <apt-pkg/pkgsystem.h>
 
 #include <config.h>
 #include <apti18n.h>
@@ -97,7 +99,7 @@ int main(int argc,const char *argv[])                                 /*{{{*/
        if (_config->FindI("quiet", 0) < 1)
                _config->Set("Debug::EDSP::WriteSolution", true);
 
-       _config->Set("APT::Solver::Name", "internal");
+       _config->Set("APT::Solver", "internal");
        _config->Set("edsp::scenario", "stdin");
        int input = STDIN_FILENO;
        FILE* output = stdout;