1 // $Id: apt.conf,v 1.19 1998/12/14 04:00:34 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 involing 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";
45 // Some general options
49 // Options for the downloading routines
52 Queue-Mode "host"; // host|access
54 // HTTP method configuration
57 Proxy "http://127.0.0.1:3128";
58 Proxy::http.us.debian.org "DIRECT"; // Specific per-host setting
60 // Cache Control. Note these do not work with Squid 2.0.2
62 Max-Age "86400"; // 1 Day age on index files
63 No-Store "false"; // Prevent the cache from storing archives
75 // Location of the state dir
76 State "/var/state/apt/"
80 userstatus "status.user";
81 status "/var/lib/dpkg/status";
85 // Location of the cache dir
86 Cache "/var/cache/apt/" {
88 srcpkgcache "srcpkgcache.bin";
89 pkgcache "pkgcache.bin";
94 sourcelist "sources.list";
98 // Locations of binaries
100 methods "/usr/lib/apt/methods/";
102 dpkg "/usr/bin/dpkg";
103 apt-get "/usr/bin/apt-get";
104 apt-cache "/usr/bin/apt-get";
108 // Things that effect the APT dselect method
110 Clean "auto"; // always|auto|prompt|never
113 PromptAfterUpdate "no";
116 /* Options you can set to see some debugging text They corrispond to names
117 of classes in the source code */
119 pkgProblemResolver "false";
121 pkgAcquire::Worker "false";
124 pkgInitialize "false"; // This one will dump the configuration space