1 // $Id: apt.conf,v 1.24 1999/01/31 08:55:53 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
6 In some instances involving filenames it is possible to set the default
7 directory when the path is evaluated. This means you can use relative
8 paths within the sub scope.
10 The configuration directives are specified in a tree with {} designating
11 a subscope relative to the tag before the {}. You can further specify
12 a subscope using scope notation eg,
13 APT::Architecture "i386";
14 This is prefixed with the current scope. Scope notation must be used
15 if an option is specified on the command line with -o.
18 // Options for APT in general
22 // Options for apt-get
24 Download-Only "false";
27 Force-Yes "false"; // I would never set this.
30 Show-Upgraded "false";
46 // Some general options
48 Immediate-Configure "true"; // DO NOT turn this off, see the man page
51 // Options for the downloading routines
54 Queue-Mode "host"; // host|access
57 // HTTP method configuration
60 Proxy "http://127.0.0.1:3128";
61 Proxy::http.us.debian.org "DIRECT"; // Specific per-host setting
63 // Cache Control. Note these do not work with Squid 2.0.2
65 Max-Age "86400"; // 1 Day age on index files
66 No-Store "false"; // Prevent the cache from storing archives
78 // Location of the state dir
79 State "/var/state/apt/"
83 userstatus "status.user";
84 status "/var/lib/dpkg/status";
88 // Location of the cache dir
89 Cache "/var/cache/apt/" {
91 srcpkgcache "srcpkgcache.bin";
92 pkgcache "pkgcache.bin";
97 sourcelist "sources.list";
101 // Locations of binaries
103 methods "/usr/lib/apt/methods/";
105 dpkg "/usr/bin/dpkg";
106 apt-get "/usr/bin/apt-get";
107 apt-cache "/usr/bin/apt-get";
111 // Things that effect the APT dselect method
113 Clean "auto"; // always|auto|prompt|never
116 PromptAfterUpdate "no";
120 Options {"--force-downgrade";}
121 Pre-Invoke {"mount -o remount,rw /usr";};
122 Post-Invoke {"mount -o remount,ro /usr";};
126 /* Options you can set to see some debugging text They corrispond to names
127 of classes in the source code */
129 pkgProblemResolver "false";
131 pkgAcquire::Worker "false";
134 pkgInitialize "false"; // This one will dump the configuration space