Procházet zdrojové kódy

* cmdline/apt-get.cc:
- run TryToInstall() in a way that it won't automatically tries to
fix the cache after each package but queue them all first

Michael Vogt před 20 roky
rodič
revize
be0a16728d
1 změnil soubory, kde provedl 1 přidání a 1 odebrání
  1. 1 1
      cmdline/apt-get.cc

+ 1 - 1
cmdline/apt-get.cc

@@ -1440,7 +1440,7 @@ bool TryInstallTask(pkgDepCache &Cache, pkgProblemResolver &Fix,
       buf[end-start] = 0x0;
       if (regexec(&Pattern,buf,0,0,0) != 0)
 	 continue;
-      res &= TryToInstall(Pkg,Cache,Fix,false,BrokenFix,ExpectedInst);
+      res &= TryToInstall(Pkg,Cache,Fix,false,true,ExpectedInst);
       found = true;
    }