X-Git-Url: https://git.saurik.com/apt.git/blobdiff_plain/132a7f8811f4558a7cbab620b0de4401f5d27d66..417e83d0d79637266e04c98189c62ce85bcdf737:/doc/apt.8.xml diff --git a/doc/apt.8.xml b/doc/apt.8.xml index a0ae9086d..716b685f6 100644 --- a/doc/apt.8.xml +++ b/doc/apt.8.xml @@ -29,13 +29,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. @@ -58,18 +60,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 +89,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 package will be + installed, but existing package will never 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,26 +131,44 @@ + 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 &apt-get;. Therefore some options are different: - The option DPkgPM::Progress-Fancy is enabled. + + The option DPkgPM::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