115
111
// Keep the list of FDs open (normally apt closes all fds when it
116
112
// does a ExecFork)
115
// control parameters for cron jobs by /etc/cron.daily/apt
118
BackupArchiveInterval "0";
119
// - Backup after n-days if archive contents changed.(0=disable)
122
// - Backup level.(0=disable), 1 is invalid.
124
// APT::Archives::MaxAge "0"; (old, deprecated)
126
// - Set maximum allowed age of a cache package file. If a cache
127
// package file is older it is deleted (0=disable)
129
// APT::Archives::MinAge "2"; (old, deprecated)
131
// - Set minimum age of a package file. If a file is younger it
132
// will not be deleted (0=disable). Usefull to prevent races
133
// and to keep backups of the packages for emergency.
135
// APT::Archives::MaxSize "0"; (old, deprecated)
136
MaxSize "0"; // (new)
137
// - Set maximum size of the cache in MB (0=disable). If the cache
138
// is bigger, cached package files are deleted until the size
139
// requirement is met (the biggest packages will be deleted
142
Update-Package-Lists "0";
143
// - Do "apt-get update" automatically every n-days (0=disable)
145
Download-Upgradeable-Packages "0";
146
// - Do "apt-get upgrade --download-only" every n-days (0=disable)
148
Unattended-Upgrade "0";
149
// - Run the "unattended-upgrade" security upgrade script
150
// every n-days (0=disabled)
151
// Requires the package "unattended-upgrades" and will write
152
// a log in /var/log/unattended-upgrades
154
AutocleanInterval "0";
155
// - Do "apt-get autoclean" every n-days (0=disable)
158
// - Send report mail to root
159
// 0: no report (or null string)
160
// 1: progress report (actually any string)
161
// 2: + command outputs (remove -qq, remove 2>/dev/null, add -d)
120
166
// Options for the downloading routines
123
169
Queue-Mode "host"; // host|access
125
171
Source-Symlinks "true";
127
Check-Valid-Until "true";
128
Max-Default-Age::Debian-Security "7"; // Label specific configuration
130
173
PDiffs "true"; // try to get the IndexFile diffs
174
PDiffs::FileLimit "4"; // don't use diffs if we would need more than 4 diffs
175
PDiffs::SizeLimit "50"; // don't use diffs if size of all patches excess
176
// 50% of the size of the original file
132
178
// HTTP method configuration
143
189
Max-Age "86400"; // 1 Day age on index files
144
190
No-Store "false"; // Prevent the cache from storing archives
145
191
Dl-Limit "7"; // 7Kb/sec maximum download rate
192
User-Agent "Debian APT-HTTP/1.3";
148
// HTTPS method configuration:
149
// - uses the http proxy config
150
// - uses the http cache-control values
151
// - uses the http Dl-Limit values
197
// HTTPS method configuration: uses the http
199
// - cache-control values
200
// - Dl-Limit, Timout, ... values
201
// if not set explicit for https
203
// see /usr/share/doc/apt/examples/apt-https-method-example.conf.gz
154
207
Verify-Peer "false";
155
208
SslCert "/etc/apt/some.pem";
156
CaPath "/etc/ssl/certs";
158
AllowRedirect "true";
209
CaPath "/etc/ssl/certs";
211
AllowRedirect "true";
214
AllowRedirect "true";
216
// Cache Control. Note these do not work with Squid 2.0.2
218
Max-Age "86400"; // 1 Day age on index files
219
No-Store "false"; // Prevent the cache from storing archives
220
Dl-Limit "7"; // 7Kb/sec maximum download rate
222
User-Agent "Debian APT-CURL/1.0";
216
302
// Location of the cache dir
217
303
Cache "var/cache/apt/" {
218
304
Archives "archives/";
305
// backup directory created by /etc/cron.daily/apt
219
307
srcpkgcache "srcpkgcache.bin";
220
308
pkgcache "pkgcache.bin";
225
SourceList "sources.list";
227
Preferences "preferences";
228
315
Parts "apt.conf.d/";
316
Preferences "preferences";
317
PreferencesParts "preferences.d";
318
SourceList "sources.list";
319
SourceParts "sources.list.d";
320
VendorList "vendors.list";
321
VendorParts "vendors.list.d";
322
Trusted "trusted.gpg";
323
TrustedParts "trusted.gpg.d";
231
326
// Locations of binaries
371
// let apt aggressivly use dpkg triggers
374
ConfigurePending "true";
261
376
// Probably don't want to use force-downgrade..
262
377
Options {"--force-overwrite";"--force-downgrade";}
264
379
// Auto re-mounting of a readonly /usr
265
380
Pre-Invoke {"mount -o remount,rw /usr";};
266
381
Post-Invoke {"mount -o remount,ro /usr";};
383
Chroot-Directory "/";
268
385
// Prevents daemons from getting cwd as something mountable (default)
269
386
Run-Directory "/";
271
388
// Build options for apt-get source --compile
272
389
Build-Options "-b -uc";
293
410
pkgProblemResolver "false";
411
pkgProblemResolver::ShowScores "false";
294
412
pkgDepCache::AutoInstall "false"; // what packages apt install to satify dependencies
413
pkgDepCache::Marker "false";
295
415
pkgAcquire "false";
296
416
pkgAcquire::Worker "false";
297
417
pkgAcquire::Auth "false";