Parcourir la source

* 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 il y a 20 ans
Parent
commit
be0a16728d
1 fichiers modifiés avec 1 ajouts et 1 suppressions
  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;
    }