summaryrefslogtreecommitdiff
path: root/apt-pkg/deb
diff options
context:
space:
mode:
authorMatt Zimmerman <matt.zimmerman@canonical.com>2004-11-13 18:29:08 +0000
committerMatt Zimmerman <matt.zimmerman@canonical.com>2004-11-13 18:29:08 +0000
commit6b8147b88eb5ee755ff4477568503b205c79a030 (patch)
tree576c0e40b4c33e22a08085c0abaaa1181b07bdc4 /apt-pkg/deb
parent640c5d948afa27a8e71eb6c03f1e0d55f81773c5 (diff)
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
Diffstat (limited to 'apt-pkg/deb')
-rw-r--r--apt-pkg/deb/dpkgpm.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/apt-pkg/deb/dpkgpm.cc b/apt-pkg/deb/dpkgpm.cc
index d80b23132..85d46edba 100644
--- a/apt-pkg/deb/dpkgpm.cc
+++ b/apt-pkg/deb/dpkgpm.cc
@@ -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;