summaryrefslogtreecommitdiff
path: root/doc/apt_preferences.5.xml
diff options
context:
space:
mode:
authorJulian Andres Klode <julian.klode@canonical.com>2024-08-22 16:10:58 +0200
committerJulian Andres Klode <julian.klode@canonical.com>2024-08-22 16:11:38 +0200
commit67070389f3752f6f23d1fb0c06bd963464aa8bca (patch)
tree02e0e09f6d5a6e1132dab89b154418c3f5be7a7b /doc/apt_preferences.5.xml
parentaccc2f202eabfe472ceae37d9e4f4431a8cc298f (diff)
Implement 'Pin: source-version <foo>'
As wondered about by Paride some minutes ago.
Diffstat (limited to 'doc/apt_preferences.5.xml')
-rw-r--r--doc/apt_preferences.5.xml8
1 files changed, 8 insertions, 0 deletions
diff --git a/doc/apt_preferences.5.xml b/doc/apt_preferences.5.xml
index 1b38ae1c6..f166acc23 100644
--- a/doc/apt_preferences.5.xml
+++ b/doc/apt_preferences.5.xml
@@ -213,6 +213,14 @@ Package: perl
Pin: version &good-perl;*
Pin-Priority: 1001
</programlisting>
+
+<simpara>Since 2.9.9, you can also pin by a source version:</simpara>
+<programlisting>
+Package: perl
+Pin: source-version &good-perl;*
+Pin-Priority: 1001
+</programlisting>
+
</listitem>
<listitem><simpara>The general form assigns a priority to all of the package versions in a