Commit | Line | Data |
---|---|---|
b98f2859 | 1 | // $Id: apt.conf,v 1.11 1998/11/11 06:54:18 jgg Exp $ |
0a8e3465 AL |
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. | |
93bf083d AL |
5 | |
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. | |
9 | ||
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. | |
0a8e3465 AL |
16 | */ |
17 | ||
93bf083d | 18 | // Options for APT in general |
0a8e3465 AL |
19 | APT { |
20 | Architecture "i386"; | |
21 | ||
93bf083d | 22 | // Options for apt-get |
0a8e3465 AL |
23 | Get { |
24 | Download-Only "false"; | |
25 | Simulate "false"; | |
26 | Assume-Yes "false"; | |
27 | Fix-Broken "false"; | |
28 | Show-Upgraded "false"; | |
29 | }; | |
c88edf1d | 30 | |
93bf083d | 31 | // Some general options |
c88edf1d | 32 | Ingore-Hold "false"; |
0a8e3465 AL |
33 | }; |
34 | ||
93bf083d | 35 | // Options for the downloading routines |
0a8a80e5 AL |
36 | Acquire |
37 | { | |
769f7e1a | 38 | Queue-Mode "host"; // host|access |
22380cf2 | 39 | |
bfd22fc0 | 40 | /* http |
22380cf2 AL |
41 | { |
42 | Proxy "http://127.0.0.1:3128"; | |
b98f2859 | 43 | Proxy::http.us.debian.org "DIRECT"; // Specific per-host setting |
bfd22fc0 | 44 | };*/ |
0a8a80e5 AL |
45 | }; |
46 | ||
93bf083d | 47 | // Directory layout |
0a8e3465 AL |
48 | Dir |
49 | { | |
93bf083d | 50 | // Location of the state dir |
0a8e3465 AL |
51 | State "/var/state/apt/" |
52 | { | |
53 | lists "lists/"; | |
54 | xstatus "xstatus"; | |
55 | userstatus "status.user"; | |
56 | status "/var/lib/dpkg/status"; | |
57 | }; | |
58 | ||
93bf083d | 59 | // Location of the cache dir |
0a8e3465 AL |
60 | Cache "/var/cache/apt/" { |
61 | archives "archives/"; | |
62 | srcpkgcache "srcpkgcache.bin"; | |
63 | pkgcache "pkgcache.bin"; | |
64 | }; | |
65 | ||
93bf083d | 66 | // Config files |
0a8e3465 | 67 | Etc "/etc/apt/" { |
93bf083d | 68 | sourcelist "sources.list"; |
0a8e3465 AL |
69 | main "apt.conf"; |
70 | }; | |
024835dc | 71 | |
93bf083d | 72 | // Locations of binaries |
024835dc AL |
73 | Bin { |
74 | methods "/home/jgg/work/apt/build/bin/methods/"; | |
93bf083d | 75 | gzip "/bin/gzip"; |
024835dc | 76 | }; |
0a8e3465 AL |
77 | }; |
78 | ||
79 | DSelect { | |
80 | ||
81 | } | |
82 | ||
93bf083d AL |
83 | /* Options you can set to see some debugging text They corrispond to names |
84 | of classes in the source code */ | |
0a8e3465 | 85 | Debug { |
93bf083d | 86 | pkgProblemResolver "false"; |
0a8a80e5 | 87 | pkgAcquire "false"; |
93bf083d AL |
88 | pkgAcquire::Worker "false"; |
89 | ||
90 | pkgInitialize "false"; // This one will dump the configuration space | |
0a8e3465 | 91 | } |