Explorar el Código

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

David Kalnischkies hace 15 años
padre
commit
3f248168dc
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  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)