Browse Source

disable automatical installation of dependencies in MarkInstall if we
will not use the default internal resolver later on

David Kalnischkies 15 years ago
parent
commit
3f248168dc
1 changed files with 1 additions and 1 deletions
  1. 1 1
      apt-pkg/depcache.cc

+ 1 - 1
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)