<!-- Arguments -->
<refsynopsisdiv>
<cmdsynopsis>
- <command>apt-config</>
+ <command>apt-get</>
<arg><option>-hvs</></arg>
<arg><option>-o=<replaceable/config string/</></arg>
<arg><option>-c=<replaceable/file/</></arg>
<command/apt-get/ is the command-line tool for handling packages, and may be
considered the user's "back-end" to other tools using the APT library.
<para>
- Unless the <option/-h/, or <option/--help/ option is given one of the
- above commands must be present.
+ Unless the <option/-h/, or <option/--help/ option is given one of the
+ commands below must be present.
<VariableList>
<VarListEntry><Term>update</Term>
the desired packages. If a hyphen is appended to the package name (with
no intervening space), the identified package will be removed if it is
installed. Similarly a plus sign can be used to designate a package to
- isntall. These latter feature may be used to override decisions made by
+ install. These latter features may be used to override decisions made by
apt-get's conflict resolution system.
<para>
A specific version of a package can be selected for installation by
following the package name with a slash and the version of the
distribution or the Archive name (stable, frozen, unstable).
<para>
- Both of the version selection mechansims can downgrade packages and must
+ Both of the version selection mechanisms can downgrade packages and must
be used with care.
<para>
If no package matches the given expression and the expression contains one
<VarListEntry><Term>remove</Term>
<ListItem><Para>
- <literal/remove/ is identical to bf(install) except that packages are
+ <literal/remove/ is identical to <literal/install/ except that packages are
removed instead of installed. If a plus sign is appended to the package
name (with no intervening space), the identified package will be
installed.
<VarListEntry><Term>build-dep</Term>
<ListItem><Para>
<literal/build-dep/ causes apt-get to install/remove packages in an
- attempt to satisfy the build dependencies for a source packages. Right
- now virtual package build depends choose a package at random.
+ attempt to satisfy the build dependencies for a source packages.
</VarListEntry>
<VarListEntry><Term>check</Term>
Instead of fetching the files to install their URIs are printed. Each
URI will have the path, the destination file name, the size and the expected
md5 hash. Note that the file name to write to will not always match
- the file name on the remote site! This also works with the /source/
- command. Configuration Item: <literal/APT::Get::Print-URIs/.
+ the file name on the remote site! This also works with the
+ <literal/source/ and <literal/update/ commands. When used with the
+ <literal/update/ command the MD5 and size are not included, and it is
+ up to the user to decompress any compressed files.
+ Configuration Item: <literal/APT::Get::Print-URIs/.
</VarListEntry>
<VarListEntry><term><option/--purge/</>
a default pin at priority 990 using the specified release string. The
preferences file may further override this setting. In short, this option
lets you have simple control over which distribution packages will be
- retrieved from. Some common examples might me
+ retrieved from. Some common examples might be
<option>-t '2.1*'</> or <option>-t unstable</>.
Configuration Item: <literal/APT::Default-Release/
</VarListEntry>
<VarListEntry><term><option/--trivial-only/</>
<ListItem><Para>
- Only perform operations are 'trivial'. Logically this can be considered
+ Only perform operations that are 'trivial'. Logically this can be considered
related to <option/--assume-yes/, where <option/--assume-yes/ will answer
yes to any prompt, <option/--trivial-only/ will answer no.
Configuration Item: <literal/APT::Get::Trivial-Only/.
Configuration Item: <literal/APT::Get::Diff-Only/ and
<literal/APT::Get::Tar-Only/
</VarListEntry>
+
+ <VarListEntry><term><option/--arch-only/</>
+ <ListItem><Para>
+ Only process architecture-dependent build-dependencies.
+ Configuration Item: <literal/APT::Get::Arch-Only/
+ </VarListEntry>
+
+ &apt-commonoptions;
+
</VariableList>
</RefSect1>
Configuration Item: <literal/Dir::Etc::SourceList/.
</VarListEntry>
+ <VarListEntry><term><filename>/etc/apt/apt.conf</></term>
+ <ListItem><Para>
+ APT configuration file.
+ Configuration Item: <literal/Dir::Etc::Main/.
+ </VarListEntry>
+
+ <VarListEntry><term><filename>/etc/apt/apt.conf.d/</></term>
+ <ListItem><Para>
+ APT configuration file fragments
+ Configuration Item: <literal/Dir::Etc::Parts/.
+ </VarListEntry>
+
+ <VarListEntry><term><filename>/etc/apt/preferences</></term>
+ <ListItem><Para>
+ version preferences file
+ Configuration Item: <literal/Dir::Etc::Preferences/.
+ </VarListEntry>
+
<VarListEntry><term><filename>&cachedir;/archives/</></term>
<ListItem><Para>
- storage area for retrieved package files
+ storage area for retrieved package files.
Configuration Item: <literal/Dir::Cache::Archives/.
</VarListEntry>
<VarListEntry><term><filename>&cachedir;/archives/partial/</></term>
<ListItem><Para>
- storage area for package files in transit
+ storage area for package files in transit.
Configuration Item: <literal/Dir::Cache::Archives/ (implicit partial).
</VarListEntry>
<RefSect1><Title>See Also</>
<para>
- &apt-cache;, &dpkg;, &dselect;, &sources-list;, &apt-conf;, The
- APT users guide in &docdir;.
+ &apt-cache;, &apt-cdrom;, &dpkg;, &dselect;, &sources-list;, &apt-conf;,
+ The APT User's guide in &docdir;, &apt-preferences;.
</RefSect1>
<RefSect1><Title>Diagnostics</>