summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--apt-pkg/packagemanager.cc7
-rw-r--r--doc/apt.conf.5.yo7
-rw-r--r--doc/examples/apt.conf3
3 files changed, 14 insertions, 3 deletions
diff --git a/apt-pkg/packagemanager.cc b/apt-pkg/packagemanager.cc
index 3fc88586b..c13ce26f2 100644
--- a/apt-pkg/packagemanager.cc
+++ b/apt-pkg/packagemanager.cc
@@ -1,6 +1,6 @@
// -*- mode: cpp; mode: fold -*-
// Description /*{{{*/
-// $Id: packagemanager.cc,v 1.10 1998/12/10 04:22:46 jgg Exp $
+// $Id: packagemanager.cc,v 1.11 1999/01/31 04:25:35 jgg Exp $
/* ######################################################################
Package Manager - Abstacts the package manager
@@ -107,11 +107,14 @@ bool pkgPackageManager::CreateOrderList()
delete List;
List = new pkgOrderList(Cache);
+ bool NoImmConfigure = _config->FindB("APT::Immedate-Configure",false);
+
// Generate the list of affected packages and sort it
for (PkgIterator I = Cache.PkgBegin(); I.end() == false; I++)
{
// Mark the package for immediate configuration
- if ((I->Flags & pkgCache::Flag::Essential) == pkgCache::Flag::Essential)
+ if ((I->Flags & pkgCache::Flag::Essential) == pkgCache::Flag::Essential &&
+ NoImmConfigure == false)
{
List->Flag(I,pkgOrderList::Immediate);
diff --git a/doc/apt.conf.5.yo b/doc/apt.conf.5.yo
index 2eb2bbf45..1ee7a1d93 100644
--- a/doc/apt.conf.5.yo
+++ b/doc/apt.conf.5.yo
@@ -47,6 +47,13 @@ dit(bf(Ignore-Hold))
Ignore Held packages; This global options causes the problem resolver to
ignore held packages in its decision making.
+dit(bf(Immedate-Configure))
+Disable Immedate Configuration; This dangerous option disables some
+of APT's ordering code to cause it to make fewer dpkg calls. Doing
+so may be necessary on some extremely slow single user systems but
+is very dangerous and may cause package install scripts to fail or worse.
+Use at your own risk.
+
dit(bf(Get))
The Get subsection controls the bf(apt-get(8)) tool, please see its
documentation for more information about the options here.
diff --git a/doc/examples/apt.conf b/doc/examples/apt.conf
index 68b896e42..f83594bb5 100644
--- a/doc/examples/apt.conf
+++ b/doc/examples/apt.conf
@@ -1,4 +1,4 @@
-// $Id: apt.conf,v 1.20 1999/01/30 08:08:54 jgg Exp $
+// $Id: apt.conf,v 1.21 1999/01/31 04:25:35 jgg Exp $
/* This file is an index of all APT configuration directives. It should
NOT actually be used as a real config file, though it is a completely
valid file.
@@ -45,6 +45,7 @@ APT {
// Some general options
Ingore-Hold "false";
+ Immedate-Configure "true"; // DO NOT turn this off, see the man page
};
// Options for the downloading routines