summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorArch Librarian <arch@canonical.com>2004-09-20 16:52:37 +0000
committerArch Librarian <arch@canonical.com>2004-09-20 16:52:37 +0000
commit6dd55be709d9dffdd380467193e0256ded60beb8 (patch)
treea81909620a998351fbd3bd2d9bb3ddca6e66ef0c /doc
parent90d642804ca96ba640d2c2fbd0620b69670ee827 (diff)
Added some control over how dpkg is invoked
Author: jgg Date: 1999-01-31 08:49:39 GMT Added some control over how dpkg is invoked
Diffstat (limited to 'doc')
-rw-r--r--doc/apt.conf.5.yo15
-rw-r--r--doc/examples/apt.conf10
2 files changed, 23 insertions, 2 deletions
diff --git a/doc/apt.conf.5.yo b/doc/apt.conf.5.yo
index c2807199b..feb7bbe53 100644
--- a/doc/apt.conf.5.yo
+++ b/doc/apt.conf.5.yo
@@ -155,6 +155,21 @@ If true the [U]pdate operation in dselect will always prompt to continue.
The default is to prompt only on error.
enddit()
+manpagesection(How APT calls DPkg)
+Several configuration directives control how APT invokes dpkg. These are in
+the bf(DPkg) section.
+
+startdit()
+dit(bf(Options))
+This is a list of options to pass to dpkg. The options must be specified
+using the list notation and each list item is passed as a single arugment
+to dpkg.
+
+dit(bf(Pre-Invoke))
+This is a list of shell commands to run before invoking dpkg.
+
+enddit()
+
manpagesection(Debug Options)
Most of the options in the bf(debug) section are not interesting to the
normal user, however bf(Debug::pkgProblemResolver) shows interesting
diff --git a/doc/examples/apt.conf b/doc/examples/apt.conf
index f4c147b3e..9e92fd454 100644
--- a/doc/examples/apt.conf
+++ b/doc/examples/apt.conf
@@ -1,9 +1,9 @@
-// $Id: apt.conf,v 1.22 1999/01/31 06:24:46 jgg Exp $
+// $Id: apt.conf,v 1.23 1999/01/31 08:49:39 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.
- In some instances involing filenames it is possible to set the default
+ In some instances involving filenames it is possible to set the default
directory when the path is evaluated. This means you can use relative
paths within the sub scope.
@@ -116,6 +116,12 @@ DSelect {
PromptAfterUpdate "no";
}
+DPkg {
+ Options {"--force-downgrade";}
+ Pre-Invoke {"mount -o remount,rw /usr";};
+ Post-Invoke {"mount -o remount,ro /usr";};
+}
+
/* Options you can set to see some debugging text They corrispond to names
of classes in the source code */
Debug {