From: David Kalnischkies Date: Sat, 2 Apr 2011 13:54:39 +0000 (+0200) Subject: disable automatical installation of dependencies in MarkInstall if we X-Git-Tag: 0.9.0~91^2~10^2~2 X-Git-Url: https://git.saurik.com/apt.git/commitdiff_plain/3f248168dca69008fd8b7f8338dc76d767b47b43?ds=inline;hp=-c disable automatical installation of dependencies in MarkInstall if we will not use the default internal resolver later on --- 3f248168dca69008fd8b7f8338dc76d767b47b43 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)