From c19a3276fe7ecfc132e95b0277e9e68ff364dd92 Mon Sep 17 00:00:00 2001 From: Nicolas Schier Date: Thu, 27 Feb 2020 05:04:54 +0100 Subject: Support marking all newly installed packages as automatically installed Add option '--mark-auto' to 'apt install' that marks all newly installed packages as automatically installed. Signed-off-by: Nicolas Schier --- doc/apt-get.8.xml | 10 ++++++++++ doc/examples/configure-index | 1 + 2 files changed, 11 insertions(+) (limited to 'doc') diff --git a/doc/apt-get.8.xml b/doc/apt-get.8.xml index e603ec5bb..a7b786dfe 100644 --- a/doc/apt-get.8.xml +++ b/doc/apt-get.8.xml @@ -545,6 +545,16 @@ Configuration Item: APT::Get::Trivial-Only. + + + After successful installation, mark all freshly installed packages as + automatically installed, which will cause each of the packages to be + removed when no more manually installed packages depend on this package. + This is equally to running apt-mark auto for all + installed packages. + Configuration Item: APT::Get::Mark-Auto. + + If any packages are to be removed apt-get immediately aborts without prompting. diff --git a/doc/examples/configure-index b/doc/examples/configure-index index 47715a9e1..9e02f0b13 100644 --- a/doc/examples/configure-index +++ b/doc/examples/configure-index @@ -73,6 +73,7 @@ APT Assume-Yes ""; // not as dangerous, but use with care still Assume-No ""; Trivial-Only ""; + Mark-Auto ""; Remove ""; AllowUnauthenticated ""; // skip security -- cgit v1.2.3