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