X-Git-Url: https://git.saurik.com/apt.git/blobdiff_plain/132a7f8811f4558a7cbab620b0de4401f5d27d66..0d303f1764645284b33924c9be8bf29f0a32ca5c:/doc/apt.8.xml diff --git a/doc/apt.8.xml b/doc/apt.8.xml index a0ae9086d..29bf96751 100644 --- a/doc/apt.8.xml +++ b/doc/apt.8.xml @@ -1,13 +1,9 @@ -%aptent; - - -%aptverbatiment; - + %aptent; + %aptverbatiment; + %aptvendor; ]> @@ -29,13 +25,15 @@ apt - APT package -- command-line interface + command-line interface &synopsis-command-apt; Description - apt is the command-line tool for handling packages. It provides a commandline interface for the package management of the system. + apt (Advanced Package Tool) is the + command-line tool for handling packages. It provides a commandline + interface for the package management of the system. See also &apt-get; and &apt-cache; for more low-level command options. @@ -43,10 +41,10 @@ list is used to - display a list of packages. It supports shell pattern for matching + display a list of packages. It supports shell pattern for matching package names and the following options: - - + , + , are supported. @@ -58,18 +56,9 @@ - - update is used to - resynchronize the package index files from their sources. - - - - - upgrade is used to install the - newest versions of all packages currently installed on the system - from the sources enumerated in - /etc/apt/sources.list. New package will be - installed, but existing package will never removed. + + show shows the package information + for the given package(s). @@ -96,6 +85,35 @@ installed instead of removed. + + edit-sources lets you edit + your sources.list file and provides basic sanity checks. + + + + + update is used to + resynchronize the package index files from their sources. + + + + + upgrade is used to install the + newest versions of all packages currently installed on the system + from the sources enumerated in + /etc/apt/sources.list. New packages will be + installed, but existing packages will never be removed. + + + + + full-upgrade performs the + function of upgrade but may also remove installed packages + if that is required in order to resolve a package conflict. + + + + @@ -109,30 +127,48 @@ + Script usage + + The &apt; commandline is designed as a end-user tool and it may + change the output between versions. While it tries to not break + backward compatibility there is no guarantee for it either. + All features of &apt; are available in &apt-cache; and &apt-get; + via APT options. Please prefer using these commands in your scripts. + + + Differences to &apt-get; The apt command is meant to be pleasant for - end users and does not need to be backward compatilbe like + end users and does not need to be backward compatible like &apt-get;. Therefore some options are different: - The option DPkgPM::Progress-Fancy is enabled. + + The option DPkg::Progress-Fancy is enabled. + - The option APT::Color is enabled. + + The option APT::Color is enabled. + - A new list command is available - similar to dpkg --list. + + A new list command is available + similar to dpkg --list. + - The option upgrade has - --with-new-pkgs enabled by default. + + The option upgrade has + --with-new-pkgs enabled by default. + - + See Also - &apt-get; &apt-cache;, &sources-list;, + &apt-get;, &apt-cache;, &sources-list;, &apt-conf;, &apt-config;, The APT User's guide in &guidesdir;, &apt-preferences;, the APT Howto.