summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorJulian Andres Klode <jak@debian.org>2020-08-04 10:16:36 +0000
committerJulian Andres Klode <jak@debian.org>2020-08-04 10:16:36 +0000
commit63c0657ea54c9268bc1855d5eac92bc636532bd6 (patch)
tree6c92700a54ef51e58c7d6f54a1b4dcbac78e1fab /doc
parent11530bab64efd4b4fc46de7833533cea9c69f521 (diff)
parentc19a3276fe7ecfc132e95b0277e9e68ff364dd92 (diff)
Merge branch 'master' into 'master'
Support marking all newly installed packages as automatically installed See merge request apt-team/apt!110
Diffstat (limited to 'doc')
-rw-r--r--doc/apt-get.8.xml10
-rw-r--r--doc/examples/configure-index1
2 files changed, 11 insertions, 0 deletions
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: <literal>APT::Get::Trivial-Only</literal>.</para></listitem>
</varlistentry>
+ <varlistentry><term><option>--mark-auto</option></term>
+ <listitem><para>
+ 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 <command>apt-mark auto</command> for all
+ installed packages.
+ Configuration Item: <literal>APT::Get::Mark-Auto</literal>.</para></listitem>
+ </varlistentry>
+
<varlistentry><term><option>--no-remove</option></term>
<listitem><para>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 f04e32502..d9f269344 100644
--- a/doc/examples/configure-index
+++ b/doc/examples/configure-index
@@ -73,6 +73,7 @@ APT
Assume-Yes "<BOOL>"; // not as dangerous, but use with care still
Assume-No "<BOOL>";
Trivial-Only "<BOOL>";
+ Mark-Auto "<BOOL>";
Remove "<BOOL>";
AllowUnauthenticated "<BOOL>"; // skip security