]> git.saurik.com Git - apt.git/blame_incremental - doc/examples/apt.conf
Sync
[apt.git] / doc / examples / apt.conf
... / ...
CommitLineData
1// $Id: apt.conf,v 1.7 1998/10/30 07:53:50 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.
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.
16*/
17
18// Options for APT in general
19APT {
20 Architecture "i386";
21
22 // Options for apt-get
23 Get {
24 Download-Only "false";
25 Simulate "false";
26 Assume-Yes "false";
27 Fix-Broken "false";
28 Show-Upgraded "false";
29 };
30
31 // Some general options
32 Ingore-Hold "false";
33};
34
35// Options for the downloading routines
36Acquire
37{
38 Queue-Mode "access"; // host|access
39};
40
41// Directory layout
42Dir
43{
44 // Location of the state dir
45 State "/var/state/apt/"
46 {
47 lists "lists/";
48 xstatus "xstatus";
49 userstatus "status.user";
50 status "/var/lib/dpkg/status";
51 };
52
53 // Location of the cache dir
54 Cache "/var/cache/apt/" {
55 archives "archives/";
56 srcpkgcache "srcpkgcache.bin";
57 pkgcache "pkgcache.bin";
58 };
59
60 // Config files
61 Etc "/etc/apt/" {
62 sourcelist "sources.list";
63 main "apt.conf";
64 };
65
66 // Locations of binaries
67 Bin {
68 methods "/home/jgg/work/apt/build/bin/methods/";
69 gzip "/bin/gzip";
70 };
71};
72
73DSelect {
74
75}
76
77/* Options you can set to see some debugging text They corrispond to names
78 of classes in the source code */
79Debug {
80 pkgProblemResolver "false";
81 pkgAcquire "false";
82 pkgAcquire::Worker "false";
83
84 pkgInitialize "false"; // This one will dump the configuration space
85}