diff options
author | Julian Andres Klode <julian.klode@canonical.com> | 2019-08-15 13:23:55 +0200 |
---|---|---|
committer | Julian Andres Klode <julian.klode@canonical.com> | 2019-08-15 20:21:34 +0200 |
commit | 89790c11799c4144e37a6a1f0dbe0f6fff89ea89 (patch) | |
tree | b03bf5040a0a88b586609a38d96d8916b904387d /doc | |
parent | 083e72a5939d33dc1fd7596aa441a9982332f776 (diff) | |
download | apt-89790c11799c4144e37a6a1f0dbe0f6fff89ea89.tar.gz |
Add ?obsolete and ?upgradable patterns
These match packages that have no version in a repository, or
where an upgrade is available. Notably,
?and(?obsolete,?upgradable) == ?false
because an upgradable package is by definition not obsolete.
Diffstat (limited to 'doc')
-rw-r--r-- | doc/apt-patterns.7.xml | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/doc/apt-patterns.7.xml b/doc/apt-patterns.7.xml index 327ea17d5..6058d7a74 100644 --- a/doc/apt-patterns.7.xml +++ b/doc/apt-patterns.7.xml @@ -78,6 +78,12 @@ <varlistentry><term><code>?name(REGEX)</code></term> <listitem><para>Selects packages where the name matches the given regular expression.</para></listitem> </varlistentry> + <varlistentry><term><code>?obsolete</code></term> + <listitem><para>Selects packages that no longer exist in repositories.</para></listitem> + </varlistentry> + <varlistentry><term><code>?upgradable</code></term> + <listitem><para>Selects packages that can be upgraded (have a newer candidate).</para></listitem> + </varlistentry> </variablelist> </refsect1> |