From 53d18fe48618c9864de021cc5862685faac7c752 Mon Sep 17 00:00:00 2001 From: Julian Andres Klode Date: Mon, 14 Dec 2020 14:28:35 +0100 Subject: patterns: Add dependency patterns ?depends, ?conflicts, etc. These match the target package, not target versions which is slightly unfortunate but might make sense. Maybe we should add a version that matches Versions instead. --- doc/apt-patterns.7.xml | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) (limited to 'doc') diff --git a/doc/apt-patterns.7.xml b/doc/apt-patterns.7.xml index 168ba3c59..161d8ded3 100644 --- a/doc/apt-patterns.7.xml +++ b/doc/apt-patterns.7.xml @@ -153,7 +153,23 @@ + Package relationship patterns + These patterns match specific package versions that depend/conflict with some other packages. + + + ?depends(PATTERN)~DPATTERN + ?pre-depends(PATTERN)~DPre-Depends:PATTERN + ?suggests(PATTERN)~DSuggests:PATTERN + ?conflicts(PATTERN)~DConflicts:PATTERN + ?replaces(PATTERN)~DReplaces:PATTERN + ?obsoletes(PATTERN)~DObsoletes:PATTERN + ?breaks(PATTERN)~DBreaks:PATTERN + ?enhances(PATTERN)~DEnhances:PATTERN + Selects packages depending/pre-depending/suggesting/conflicting/etc on/with/ packages matching PATTERN. + + + Examples apt remove ?garbage @@ -206,6 +222,9 @@ Grouping patterns with (...) or writing ?or(A,B) as A|B are not supported. We do not believe that the use of | is that common, and the grouping is not necessary without it. + + Dependency types for ~D and related operators need to be specified in the canonical case. + -- cgit v1.2.3