<filename/apt.conf/ is the main configuration file for the APT suite of
tools, all tools make use of the configuration file and a common command line
parser to provide a uniform environment. When an APT tool starts up it will
<filename/apt.conf/ is the main configuration file for the APT suite of
tools, all tools make use of the configuration file and a common command line
parser to provide a uniform environment. When an APT tool starts up it will
</programlisting></informalexample>
with newlines placed to make it more readable. Lists can be created by
opening a scope and including a single word enclosed in quotes followed by a
</programlisting></informalexample>
with newlines placed to make it more readable. Lists can be created by
opening a scope and including a single word enclosed in quotes followed by a
<informalexample><programlisting>
DPkg::Pre-Install-Pkgs {"/usr/sbin/dpkg-preconfigure --apt";};
</programlisting></informalexample>
<para>
In general the sample configuration file in
<informalexample><programlisting>
DPkg::Pre-Install-Pkgs {"/usr/sbin/dpkg-preconfigure --apt";};
</programlisting></informalexample>
<para>
In general the sample configuration file in
is a good guide for how it should look.
<para>
Two specials are allowed, <literal/#include/ and <literal/#clear/.
is a good guide for how it should look.
<para>
Two specials are allowed, <literal/#include/ and <literal/#clear/.
ends in a slash, then the whole directory is included.
<literal/#clear/ is used to erase a list of names.
<para>
ends in a slash, then the whole directory is included.
<literal/#clear/ is used to erase a list of names.
<para>
directive to be specified on the command line. The syntax is a full option
name (<literal/APT::Get::Assume-Yes/ for instance) followed by an equals
sign then the new value of the option. Lists can be appended too by adding
directive to be specified on the command line. The syntax is a full option
name (<literal/APT::Get::Assume-Yes/ for instance) followed by an equals
sign then the new value of the option. Lists can be appended too by adding
which can no longer be downloaded from the cache. If turned off then
packages that are locally installed are also excluded from cleaning - but
note that APT provides no direct means to reinstall them.
which can no longer be downloaded from the cache. If turned off then
packages that are locally installed are also excluded from cleaning - but
note that APT provides no direct means to reinstall them.
of APT's ordering code to cause it to make fewer dpkg calls. Doing
so may be necessary on some extremely slow single user systems but
is very dangerous and may cause package install scripts to fail or worse.
of APT's ordering code to cause it to make fewer dpkg calls. Doing
so may be necessary on some extremely slow single user systems but
is very dangerous and may cause package install scripts to fail or worse.
<VarListEntry><Term>Get</Term>
<ListItem><Para>
The Get subsection controls the &apt-get; tool, please see its
<VarListEntry><Term>Get</Term>
<ListItem><Para>
The Get subsection controls the &apt-get; tool, please see its
- Three settings are provided for cache control with HTTP/1.1 complient
- proxy caches. <literal/No-Cache/ tells the proxy to not used its cached
+ Three settings are provided for cache control with HTTP/1.1 compliant
+ proxy caches. <literal/No-Cache/ tells the proxy to not use its cached
response under any circumstances, <literal/Max-Age/ is sent only for
index files and tells the cache to refresh its object if it is older than
the given number of seconds. Debian updates its index files daily so the
response under any circumstances, <literal/Max-Age/ is sent only for
index files and tells the cache to refresh its object if it is older than
the given number of seconds. Debian updates its index files daily so the
<ListItem><Para>
FTP URIs; ftp::Proxy is the default proxy server to use. It is in the
standard form of <literal>ftp://[[user][:pass]@]host[:port]/</> and is
<ListItem><Para>
FTP URIs; ftp::Proxy is the default proxy server to use. It is in the
standard form of <literal>ftp://[[user][:pass]@]host[:port]/</> and is
proxy you will have to set the <literal/ftp::ProxyLogin/ script in the
configuration file. This entry specifies the commands to send to tell
the proxy server what to connect to. Please see
proxy you will have to set the <literal/ftp::ProxyLogin/ script in the
configuration file. This entry specifies the commands to send to tell
the proxy server what to connect to. Please see