From 083e72a5939d33dc1fd7596aa441a9982332f776 Mon Sep 17 00:00:00 2001 From: Julian Andres Klode Date: Thu, 15 Aug 2019 13:12:43 +0200 Subject: Add ?automatic and ?garbage patterns These patterns allow you to identify automatically installed packages, as well as automatically installed packages that are no longer reachable from the manually installed ones. --- doc/apt-patterns.7.xml | 11 +++++++++++ 1 file changed, 11 insertions(+) (limited to 'doc/apt-patterns.7.xml') diff --git a/doc/apt-patterns.7.xml b/doc/apt-patterns.7.xml index 5aa352f03..327ea17d5 100644 --- a/doc/apt-patterns.7.xml +++ b/doc/apt-patterns.7.xml @@ -69,6 +69,12 @@ ?architecture(WILDCARD) Selects packages matching the specified architecture, which may contain wildcards using any. + ?automatic + Selects packages that were installed automatically. + + ?garbage + Selects packages that can be removed automatically. + ?name(REGEX) Selects packages where the name matches the given regular expression. @@ -77,6 +83,11 @@ Examples + + apt remove ?garbage + Remove all packages that are automatically installed and no longer needed - same as apt autoremove + + Migrating from aptitude -- cgit v1.2.3