Explorar o código

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

David Kalnischkies %!s(int64=15) %!d(string=hai) anos
pai
achega
3f248168dc
Modificáronse 1 ficheiros con 1 adicións e 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)