X-Git-Url: https://git.saurik.com/apt.git/blobdiff_plain/5e80de292398d315815d05f509ef5eb70d66a80d..99fc3e085d83f14f983172fa6936b11a535df57e:/doc/apt-get.8.xml diff --git a/doc/apt-get.8.xml b/doc/apt-get.8.xml index 37151738a..2ea6ea1d4 100644 --- a/doc/apt-get.8.xml +++ b/doc/apt-get.8.xml @@ -42,11 +42,13 @@ dselect-upgrade install pkg remove pkg + purge pkg source pkg build-dep pkg check clean autoclean + autoremove @@ -151,6 +153,11 @@ installed instead of removed. + purge + purge is identical to remove except that packages are + removed and purged. + + source source causes apt-get to fetch source packages. APT will examine the available packages to decide which source package to @@ -203,6 +210,11 @@ APT::Clean-Installed will prevent installed packages from being erased if it is set to off. + + autoremove + autoremove is used to remove packages that were automatically + installed to satisfy dependencies for some package and that are no more needed. + @@ -279,8 +291,8 @@ Automatic yes to prompts; assume "yes" as answer to all prompts and run non-interactively. If an undesirable situation, such as changing a held - package or removing an essential package occurs then apt-get - will abort. + package, trying to install a unauthenticated package or removing an essential package + occurs then apt-get will abort. Configuration Item: APT::Get::Assume-Yes. @@ -359,8 +371,10 @@ This option controls the default input to the policy engine, it creates - a default pin at priority 990 using the specified release string. The - preferences file may further override this setting. In short, this option + a default pin at priority 990 using the specified release string. + This overrides the general settings in /etc/apt/preferences. + Specifically pinned packages are not affected by the value + of this option. In short, this option lets you have simple control over which distribution packages will be retrieved from. Some common examples might be or . @@ -382,19 +396,27 @@ Configuration Item: APT::Get::Remove. + + If the command is either install or remove, + then this option acts like running autoremove command, removing the unused + dependency packages. Configuration Item: APT::Get::AutomaticRemove. + + + - Only has meaning for the source command. Indicates that the - given source names are not to be mapped through the binary - table. This means that if this option is specified, the - source command will only accept source package names as - arguments, rather than accepting binary package names and looking - up the corresponding source package. - Configuration Item: APT::Get::Only-Source. - - - - Download only the diff or tar file of a source archive. - Configuration Item: APT::Get::Diff-Only and + Only has meaning for the + source and build-dep + commands. Indicates that the given source names are not to be + mapped through the binary table. This means that if this option + is specified, these commands will only accept source package + names as arguments, rather than accepting binary package names + and looking up the corresponding source package. Configuration + Item: APT::Get::Only-Source. + + + + Download only the diff, dsc, or tar file of a source archive. + Configuration Item: APT::Get::Diff-Only, APT::Get::Dsc-Only, and APT::Get::Tar-Only. @@ -402,7 +424,14 @@ Only process architecture-dependent build-dependencies. Configuration Item: APT::Get::Arch-Only. + + + Ignore if packages can't be authenticated and don't prompt about it. + This is useful for tools like pbuilder. + Configuration Item: APT::Get::AllowUnauthenticated. + + &apt-commonoptions; @@ -459,8 +488,8 @@ See Also &apt-cache;, &apt-cdrom;, &dpkg;, &dselect;, &sources-list;, - &apt-conf;, &apt-config;, - The APT User's guide in &docdir;, &apt-preferences;, the APT Howto. + &apt-conf;, &apt-config;, &apt-secure;, + The APT User's guide in &guidesdir;, &apt-preferences;, the APT Howto. Diagnostics