Просмотр исходного кода

Increase Dpkg::MaxArgs and Dpkg::MaxArgBytes
* Set default Dpkg::MaxArgs to 1024, and Dpkg::MaxArgBytes to 32k. Needed
to work around ordering bugs when installing a large number of packages

Matt Zimmerman лет назад: 21
Родитель
Сommit
6b8147b88e
2 измененных файлов с 4 добавлено и 2 удалено
  1. 2 2
      apt-pkg/deb/dpkgpm.cc
  2. 2 0
      debian/changelog

+ 2 - 2
apt-pkg/deb/dpkgpm.cc

@@ -328,8 +328,8 @@ bool pkgDPkgPM::RunScriptsWithPkgs(const char *Cnf)
 /* This globs the operations and calls dpkg */
 /* This globs the operations and calls dpkg */
 bool pkgDPkgPM::Go()
 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)
    if (RunScripts("DPkg::Pre-Invoke") == false)
       return false;
       return false;

+ 2 - 0
debian/changelog

@@ -20,6 +20,8 @@ apt (0.5.28) unstable; urgency=low
     - Updated Slovak from Peter Mann (Closes: #279481)
     - Updated Slovak from Peter Mann (Closes: #279481)
   * APT::Get::APT::Get::No-List-Cleanup -> APT::Get::List-Cleanup in apt-get.cc
   * APT::Get::APT::Get::No-List-Cleanup -> APT::Get::List-Cleanup in apt-get.cc
     (Closes: #267266)
     (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
 
 
  -- 
  --