From a3e9ab661b2d670f7d0da53a5f56c52af0763c5b Mon Sep 17 00:00:00 2001 From: Julian Andres Klode Date: Thu, 15 Aug 2019 13:31:30 +0200 Subject: Add ?config-files and ?installed patterns These two are mutually exclusive states of installed-ness. And ?installed package is fully unpacked and configured; a ?config-files package only has config files left. --- doc/apt-patterns.7.xml | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'doc') diff --git a/doc/apt-patterns.7.xml b/doc/apt-patterns.7.xml index 6058d7a74..64dad4dd4 100644 --- a/doc/apt-patterns.7.xml +++ b/doc/apt-patterns.7.xml @@ -72,9 +72,15 @@ ?automatic Selects packages that were installed automatically. + ?config-files + Selects packages that are not fully installed, but have solely residual configuration files left. + ?garbage Selects packages that can be removed automatically. + ?installed + Selects packages that are currently installed. + ?name(REGEX) Selects packages where the name matches the given regular expression. @@ -93,6 +99,9 @@ apt remove ?garbage Remove all packages that are automatically installed and no longer needed - same as apt autoremove + apt purge ?config-files + Purge all packages that only have configuration files left + -- cgit v1.2.3