summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJulian Andres Klode <jak@debian.org>2024-02-20 08:32:27 +0000
committerJulian Andres Klode <jak@debian.org>2024-02-20 08:32:27 +0000
commit9af8be578621e61431382acbf0561067bc4f8ecd (patch)
tree82b7eed640600ed1e61974c25b9ecd5f568efd83
parent014d0ccfa0ade684e2b650fda3e8d3ffd4d7b431 (diff)
parent8c86d5fc940f19b6908f731d334a6f3be0d027d0 (diff)
Merge branch 'distclean-doc' into 'main'
Document 'dist-clean' See merge request apt-team/apt!317
-rw-r--r--doc/apt-get.8.xml9
1 files changed, 8 insertions, 1 deletions
diff --git a/doc/apt-get.8.xml b/doc/apt-get.8.xml
index 3b8df6422..3779b18b9 100644
--- a/doc/apt-get.8.xml
+++ b/doc/apt-get.8.xml
@@ -14,7 +14,7 @@
&apt-email;
&apt-product;
<!-- The last update date -->
- <date>2024-01-08T00:00:00Z</date>
+ <date>2024-01-10T00:00:00Z</date>
</refentryinfo>
<refmeta>
@@ -250,6 +250,13 @@
erased if it is set to off.</para></listitem>
</varlistentry>
+ <varlistentry><term><option>distclean</option> (and the <option>dist-clean</option> alias)</term>
+ <listitem><para><literal>distclean</literal> removes all files under
+ <filename>&statedir;/lists</filename> except Release, Release.gpg, and InRelease.
+ It can be used for example, when finalizing images distributed to users.
+ The release files are kept for security reasons, to prevent various types of attacks.</para></listitem>
+ </varlistentry>
+
<varlistentry><term><option>autoremove</option> (and the <option>auto-remove</option> alias since 1.1)</term>
<listitem><para><literal>autoremove</literal> is used to remove packages that were automatically
installed to satisfy dependencies for other packages and are now no longer needed.</para></listitem>