summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Kalnischkies <kalnischkies@gmail.com>2011-04-02 15:54:39 +0200
committerDavid Kalnischkies <kalnischkies@gmail.com>2011-04-02 15:54:39 +0200
commit3f248168dca69008fd8b7f8338dc76d767b47b43 (patch)
treef7753aec40f8278ad8b74f582c31500bf2a887ae
parent56d53b54e795479194eb653741c5a816698db43f (diff)
disable automatical installation of dependencies in MarkInstall if we
will not use the default internal resolver later on
-rw-r--r--apt-pkg/depcache.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/apt-pkg/depcache.cc b/apt-pkg/depcache.cc
index 2790080a1..ed9e2084c 100644
--- a/apt-pkg/depcache.cc
+++ b/apt-pkg/depcache.cc
@@ -1056,7 +1056,7 @@ void pkgDepCache::MarkInstall(PkgIterator const &Pkg,bool AutoInst,
Update(Pkg);
AddSizes(Pkg);
- if (AutoInst == false)
+ if (AutoInst == false || _config->Find("APT::Solver::Name", "internal") != "internal")
return;
if (DebugMarker == true)