diff options
author | Nicolas Schier <nicolas@fjasle.eu> | 2020-02-27 05:04:54 +0100 |
---|---|---|
committer | Nicolas Schier <nicolas@fjasle.eu> | 2020-06-08 12:18:33 +0200 |
commit | c19a3276fe7ecfc132e95b0277e9e68ff364dd92 (patch) | |
tree | eb4b99eaa2790626969cc7623fda9e7acdbf6c14 /doc | |
parent | 83b239c7285ac7450e305643b29596396abc0b3f (diff) |
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 <nicolas@fjasle.eu>
Diffstat (limited to 'doc')
-rw-r--r-- | doc/apt-get.8.xml | 10 | ||||
-rw-r--r-- | doc/examples/configure-index | 1 |
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 47715a9e1..9e02f0b13 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 |