1 // $Id: configure-index,v 1.1 1999/12/06 02:19:39 jgg Exp $
2 /* This file is an index of all APT configuration directives. It should
3 NOT actually be used as a real config file, though it is a completely
4 valid file. Most of the options have sane default values, unless
5 you have specific needs you should NOT include arbitary items in a custom
8 In some instances involving filenames it is possible to set the default
9 directory when the path is evaluated. This means you can use relative
10 paths within the sub scope.
12 The configuration directives are specified in a tree with {} designating
13 a subscope relative to the tag before the {}. You can further specify
14 a subscope using scope notation eg,
15 APT::Architecture "i386";
16 This is prefixed with the current scope. Scope notation must be used
17 if an option is specified on the command line with -o.
20 // Options for APT in general
25 // Options for apt-get
28 Download-Only "false";
31 Force-Yes "false"; // I would never set this.
34 Show-Upgraded "false";
60 // Some general options
62 Clean-Installed "true";
63 Immediate-Configure "true"; // DO NOT turn this off, see the man page
64 Force-LoopBreak "false"; // DO NOT turn this on, see the man page
65 Cache-Limit "4194304";
68 // Options for the downloading routines
71 Queue-Mode "host"; // host|access
73 Source-Symlinks "true";
75 // HTTP method configuration
78 Proxy "http://127.0.0.1:3128";
79 Proxy::http.us.debian.org "DIRECT"; // Specific per-host setting
83 // Cache Control. Note these do not work with Squid 2.0.2
85 Max-Age "86400"; // 1 Day age on index files
86 No-Store "false"; // Prevent the cache from storing archives
91 Proxy "ftp://127.0.0.1/";
92 Proxy::http.us.debian.org "DIRECT"; // Specific per-host setting
94 /* Required script to perform proxy login. This example should work
100 "USER $(SITE_USER)@$(SITE):$(SITE_PORT)";
106 /* Passive mode control, proxy, non-proxy and per-host. Pasv mode
107 is prefered if possible */
109 Proxy::Passive "true";
110 Passive::http.us.debian.org "true"; // Specific per-host setting
117 // You need the trailing slash!
129 // Location of the state dir
130 State "/var/state/apt/"
134 userstatus "status.user";
135 status "/var/lib/dpkg/status";
136 cdroms "cdroms.list";
139 // Location of the cache dir
140 Cache "/var/cache/apt/" {
141 archives "archives/";
142 srcpkgcache "srcpkgcache.bin";
143 pkgcache "pkgcache.bin";
148 sourcelist "sources.list";
152 // Locations of binaries
154 methods "/usr/lib/apt/methods/";
156 dpkg "/usr/bin/dpkg";
157 dpkg-source "/usr/bin/dpkg-source";
158 dpkg-buildpackage "/usr/bin/dpkg-buildpackage"
159 apt-get "/usr/bin/apt-get";
160 apt-cache "/usr/bin/apt-cache";
164 // Things that effect the APT dselect method
167 Clean "auto"; // always|auto|prompt|never
170 PromptAfterUpdate "no";
175 // Probably don't want to use force-downgrade..
176 Options {"--force-overwrite";"--force-downgrade";}
178 // Auto re-mounting of a readonly /usr
179 Pre-Invoke {"mount -o remount,rw /usr";};
180 Post-Invoke {"mount -o remount,ro /usr";};
182 // Prevents daemons from getting cwd as something mountable (default)
185 // Build options for apt-get source --compile
186 Build-Options "-b -uc";
188 // Pre-configure all packages before they are installed using debconf.
189 Pre-Install-Pkgs {"dpkg-preconfig --apt --priority=low --frontend=dialog";};
192 /* Options you can set to see some debugging text They corrispond to names
193 of classes in the source code */
196 pkgProblemResolver "false";
198 pkgAcquire::Worker "false";
201 pkgInitialize "false"; // This one will dump the configuration space
203 Acquire::Ftp "false"; // Show ftp command traffic
204 Acquire::Http "false"; // Show http command traffic
205 aptcdrom "false"; // Show found package files
208 /* Whatever you do, do not use this configuration file!! Take out ONLY
209 the portions you need! */
210 This Is Not A Valid Config File