X-Git-Url: https://git.saurik.com/apt.git/blobdiff_plain/259d88d94843fbce7c8100f8b337b7b8fb58b840..9227645d6d355f9f4332f400b8d58c8fa8f1e899:/doc/apt.8.xml diff --git a/doc/apt.8.xml b/doc/apt.8.xml index bb1f6bb91..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. @@ -103,8 +101,15 @@ 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. + /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. @@ -122,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.