]> git.saurik.com Git - apt.git/commitdiff
Increase Dpkg::MaxArgs and Dpkg::MaxArgBytes
authorMatt Zimmerman <matt.zimmerman@canonical.com>
Sat, 13 Nov 2004 18:29:08 +0000 (18:29 +0000)
committerMatt Zimmerman <matt.zimmerman@canonical.com>
Sat, 13 Nov 2004 18:29:08 +0000 (18:29 +0000)
  * Set default Dpkg::MaxArgs to 1024, and Dpkg::MaxArgBytes to 32k.  Needed
    to work around ordering bugs when installing a large number of packages

apt-pkg/deb/dpkgpm.cc
debian/changelog

index d80b231327bee6dea9b31f7f5a31a0b08afc1be2..85d46edbad1ded32bb30e8e71688720326f9fce7 100644 (file)
@@ -328,8 +328,8 @@ bool pkgDPkgPM::RunScriptsWithPkgs(const char *Cnf)
 /* This globs the operations and calls dpkg */
 bool pkgDPkgPM::Go()
 {
-   unsigned int MaxArgs = _config->FindI("Dpkg::MaxArgs",350);   
-   unsigned int MaxArgBytes = _config->FindI("Dpkg::MaxArgBytes",8192);
+   unsigned int MaxArgs = _config->FindI("Dpkg::MaxArgs",8*1024);   
+   unsigned int MaxArgBytes = _config->FindI("Dpkg::MaxArgBytes",32*1024);
 
    if (RunScripts("DPkg::Pre-Invoke") == false)
       return false;
index 49b3b685d96f86d692a7c73531f1b053f1e3c0e9..c5122fc54ae3506d6ac939dcdf4339e64a9e79bf 100644 (file)
@@ -20,6 +20,8 @@ apt (0.5.28) unstable; urgency=low
     - Updated Slovak from Peter Mann (Closes: #279481)
   * APT::Get::APT::Get::No-List-Cleanup -> APT::Get::List-Cleanup in apt-get.cc
     (Closes: #267266)
+  * Set default Dpkg::MaxArgs to 1024, and Dpkg::MaxArgBytes to 32k.  Needed
+    to work around ordering bugs when installing a large number of packages
 
  --