X-Git-Url: https://git.saurik.com/apt.git/blobdiff_plain/bb4fc0a9e4e105a13b3a032b28802a84523fc506..1ac90757e7d31b21fca7ddf7eb48cfc548b3ffb3:/doc/apt.conf.5.xml
diff --git a/doc/apt.conf.5.xml b/doc/apt.conf.5.xml
index 43f33681f..ce7012460 100644
--- a/doc/apt.conf.5.xml
+++ b/doc/apt.conf.5.xml
@@ -46,7 +46,7 @@
the APT tool group, for the Get tool. options do not inherit from their
parent groups.
- Syntacticly the configuration language is modeled after what the ISC tools
+ Syntactically the configuration language is modeled after what the ISC tools
such as bind and dhcp use. Lines starting with
// are treated as comments (ignored).
Each line is of the form
@@ -75,6 +75,9 @@ DPkg::Pre-Install-Pkgs {"/usr/sbin/dpkg-preconfigure --apt";};
&docdir;examples/apt.conf &configureindex;
is a good guide for how it should look.
+ The names of the configuration items are not case-sensitive. So in the previous example
+ you could use dpkg::pre-install-pkgs.
+
Two specials are allowed, #include and #clear
#include will include the given file, unless the filename
ends in a slash, then the whole directory is included.
@@ -98,6 +101,11 @@ DPkg::Pre-Install-Pkgs {"/usr/sbin/dpkg-preconfigure --apt";};
compiled for.
+ Default-Release
+ Default release to install packages from if more than one
+ version available. Contains release name or release version. Examples: 'stable', 'testing', 'unstable', '4.0', '5.0*'. Release codenames ('etch', 'lenny' etc.) are not allowed now. See also &apt-preferences;.
+
+
Ignore-Hold
Ignore Held packages; This global option causes the problem resolver to
ignore held packages in its decision making.
@@ -158,6 +166,12 @@ DPkg::Pre-Install-Pkgs {"/usr/sbin/dpkg-preconfigure --apt";};
and the URI handlers.
+ PDiffs
+ Try do download deltas called PDiffs for
+ Packages or Sources files instead of downloading whole ones. True
+ by default.
+
+
Queue-Mode
Queuing mode; Queue-Mode can be one of host or
access which determines how APT parallelizes outgoing
@@ -214,7 +228,7 @@ DPkg::Pre-Install-Pkgs {"/usr/sbin/dpkg-preconfigure --apt";};
configuration file. This entry specifies the commands to send to tell
the proxy server what to connect to. Please see
&configureindex; for an example of
- how to do this. The subsitution variables available are
+ how to do this. The substitution variables available are
$(PROXY_USER) $(PROXY_PASS) $(SITE_USER)
$(SITE_PASS) $(SITE) and $(SITE_PORT)
Each is taken from it's respective URI component.
@@ -235,7 +249,7 @@ DPkg::Pre-Install-Pkgs {"/usr/sbin/dpkg-preconfigure --apt";};
not recommended to use FTP over HTTP due to its low efficiency.
The setting ForceExtended controls the use of RFC2428
- EPSV and EPRT commands. The defaut is false, which means
+ EPSV and EPRT commands. The default is false, which means
these commands are only used if the control connection is IPv6. Setting this
to true forces their use even on IPv4 connections. Note that most FTP servers
do not support RFC2428.
@@ -276,7 +290,7 @@ DPkg::Pre-Install-Pkgs {"/usr/sbin/dpkg-preconfigure --apt";};
pkgcache as well as the location to place downloaded archives,
Dir::Cache::archives. Generation of caches can be turned off
by setting their names to be blank. This will slow down startup but
- save disk space. It is probably prefered to turn off the pkgcache rather
+ save disk space. It is probably preferred to turn off the pkgcache rather
than the srcpkgcache. Like Dir::State the default
directory is contained in Dir::Cache
@@ -295,6 +309,19 @@ DPkg::Pre-Install-Pkgs {"/usr/sbin/dpkg-preconfigure --apt";};
dpkg, apt-get dpkg-source
dpkg-buildpackage and apt-cache specify the location
of the respective programs.
+
+
+ The configuration item RootDir has a special
+ meaning. If set, all paths in Dir:: will be
+ relative to RootDir, even paths that
+ are specified absolutely. So, for instance, if
+ RootDir is set to
+ /tmp/staging and
+ Dir::State::status is set to
+ /var/lib/dpkg/status, then the status file
+ will be looked up in
+ /tmp/staging/var/lib/dpkg/status.
+
APT in DSelect