be able to disable resolver with APT::Get::CallResolver and disable
authorDavid Kalnischkies <kalnischkies@gmail.com>
Tue, 29 Mar 2011 11:13:25 +0000 (13:13 +0200)
committerDavid Kalnischkies <kalnischkies@gmail.com>
Tue, 29 Mar 2011 11:13:25 +0000 (13:13 +0200)
auto installation with APT::Get::AutoSolving

cmdline/apt-get.cc
debian/changelog

index d71b6fb..6ffecd7 100644 (file)
@@ -1798,7 +1798,7 @@ bool DoInstall(CommandLine &CmdL)
       BrokenFix = true;
 
    pkgProblemResolver* Fix = NULL;
-   if (_config->FindB("APT::Get::AutoSolving", true) == true)
+   if (_config->FindB("APT::Get::CallResolver", true) == true)
       Fix = new pkgProblemResolver(Cache);
 
    static const unsigned short MOD_REMOVE = 1;
@@ -1852,7 +1852,7 @@ bool DoInstall(CommandLine &CmdL)
            RemoveAction = std::for_each(verset[MOD_REMOVE].begin(), verset[MOD_REMOVE].end(), RemoveAction);
       }
 
-      if (Fix != NULL)
+      if (Fix != NULL && _config->FindB("APT::Get::AutoSolving", true) == true)
       {
          for (unsigned short i = 0; order[i] != 0; ++i)
          {
index ed60a30..e669077 100644 (file)
@@ -27,11 +27,12 @@ apt (0.8.13.1) UNRELEASED; urgency=low
       if non is specified with APT::Architectures (Closes: #612958)
   * cmdline/apt-get.cc:
     - do not show simulation notice for non-root commands (Closes: #619072)
-    - be able to disable resolver with APT::Get::AutoSolving
+    - be able to disable resolver with APT::Get::CallResolver and disable
+      auto installation with APT::Get::AutoSolving
   * apt-pkg/deb/deblistparser.cc:
     - create foo:any provides for all architectures for an allowed package
 
- -- David Kalnischkies <kalnischkies@gmail.com>  Mon, 28 Mar 2011 14:10:43 +0200
+ -- David Kalnischkies <kalnischkies@gmail.com>  Tue, 29 Mar 2011 13:12:45 +0200
 
 apt (0.8.13) unstable; urgency=low