Adds/removes/edits rules to pin some packages to a specific distribution. Useful if using multiple debian repositories at the same time. (Useful, if one wants to use a few specific packages from backports or perhaps Debain testing... or even sid.)
REQUIRED PARAMETERS
@ -20,7 +20,7 @@ distribution
OPTIONAL PARAMETERS
-------------------
package
Package name or glob/RE expression to match multiple packages. If not specified `__object_id` is used.
Package name, glob or regular expression to match (multiple) packages. If not specified `__object_id` is used.
priority
The priority value to assign to matching packages. Deafults to 500. (To match the default target distro's priority)
@ -28,7 +28,6 @@ priority
state
Will be passed to underlying `__file` type; see there for valid values and defaults.
None.
BOOLEAN PARAMETERS
@ -41,8 +40,8 @@ EXAMPLES
..code-block:: sh
# Add the bullseye repo to buster, but do not install any pacakges by default
# only if explicitely asked for
# Add the bullseye repo to buster, but do not install any packages by default,
# only if explicitely asked for (-1 means "never" for apt)