Prechádzať 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 20 rokov pred
rodič
commit
be0a16728d
1 zmenil súbory, kde vykonal 1 pridanie a 1 odobranie
  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;
       buf[end-start] = 0x0;
       if (regexec(&Pattern,buf,0,0,0) != 0)
       if (regexec(&Pattern,buf,0,0,0) != 0)
 	 continue;
 	 continue;
-      res &= TryToInstall(Pkg,Cache,Fix,false,BrokenFix,ExpectedInst);
+      res &= TryToInstall(Pkg,Cache,Fix,false,true,ExpectedInst);
       found = true;
       found = true;
    }
    }