summaryrefslogtreecommitdiff
path: root/doc/examples/apt.conf
diff options
context:
space:
mode:
Diffstat (limited to 'doc/examples/apt.conf')
-rw-r--r--doc/examples/apt.conf45
1 files changed, 31 insertions, 14 deletions
diff --git a/doc/examples/apt.conf b/doc/examples/apt.conf
index d0078cddd..3895a57b5 100644
--- a/doc/examples/apt.conf
+++ b/doc/examples/apt.conf
@@ -1,4 +1,4 @@
-// $Id: apt.conf,v 1.27 1999/03/15 08:10:39 jgg Exp $
+// $Id: apt.conf,v 1.28 1999/03/15 23:05:49 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.
@@ -16,15 +16,17 @@
*/
// Options for APT in general
-APT {
+APT
+{
Architecture "i386";
// Options for apt-get
- Get {
+ Get
+ {
Download-Only "false";
Simulate "false";
Assume-Yes "false";
- Force-Yes "false"; // I would never set this.
+ Force-Yes "false"; // I would never set this.
Fix-Broken "false";
Fix-Missing "false";
Show-Upgraded "false";
@@ -32,11 +34,13 @@ APT {
Print-URIs "false";
};
- Cache {
+ Cache
+ {
Important "false";
};
-
- CDROM {
+
+ CDROM
+ {
Rename "false";
NoMount "false";
Fast "false";
@@ -45,7 +49,7 @@ APT {
// Some general options
Ingore-Hold "false";
- Immediate-Configure "true"; // DO NOT turn this off, see the man page
+ Immediate-Configure "true"; // DO NOT turn this off, see the man page
};
// Options for the downloading routines
@@ -72,7 +76,8 @@ Acquire
Proxy "ftp://127.0.0.1/";
Proxy::http.us.debian.org "DIRECT"; // Specific per-host setting
- // Required script to perform proxy login
+ /* Required script to perform proxy login. This example should work
+ for tisfwtk */
ProxyLogin
{
"USER $(PROXY_USER)";
@@ -82,9 +87,12 @@ Acquire
};
Timeout "120";
+
+ /* Passive mode control, proxy, non-proxy and per-host. Pasv mode
+ is prefered if possible */
Passive "true";
Proxy::Passive "true";
- Passive::http.us.debian.org "true"; // Specific per-host setting
+ Passive::http.us.debian.org "true"; // Specific per-host setting
};
cdrom
@@ -130,28 +138,37 @@ Dir
};
// Things that effect the APT dselect method
-DSelect {
+DSelect
+{
Clean "auto"; // always|auto|prompt|never
Options "-f";
UpdateOptions "";
PromptAfterUpdate "no";
}
-DPkg {
+DPkg
+{
+ // Probably don't want to set this one..
Options {"--force-downgrade";}
+
+ // Auto re-mounting of a readonly /usr
Pre-Invoke {"mount -o remount,rw /usr";};
Post-Invoke {"mount -o remount,ro /usr";};
+
+ // Prevents daemons from getting cwd as something mountable (default)
Run-Directory "/";
}
/* Options you can set to see some debugging text They corrispond to names
of classes in the source code */
-Debug {
+Debug
+{
pkgProblemResolver "false";
pkgAcquire "false";
pkgAcquire::Worker "false";
pkgDPkgPM "false";
pkgInitialize "false"; // This one will dump the configuration space
- NoLocking "false";
+ NoLocking "false";
+ Acquire::Ftp "false"; // Show ftp command traffic
}