Bug#868276: apt_preferences(5): explain how one would combine e.g. origin, version and release Pins
Package: apt
Version: 1.5~beta1
Severity: wishlist
Hi.
Looking at apt_preferences(5), it does, AFAICS, not explain the following:
a) What happen if multiple e.g. Pin: directives are found? It seems only
the last one is taken and the former ones ignored (per block).
btw: Perhaps it would be even good, if apt gives warnings in such cases.
b) How can one combine origin, version and release Pins?
e.g. for a package named foo, when it's from Origin ACME, the version 10 shall get Priority 600:
Is this:
Package: foo
Pin: version 10 release o=ACME
Pin-Priority: 600
or would it be
Pin: version 10, release o=ACME
or would swapping work?
Pin: release o=ACME version 10
What if my Origin contains spaces?
Cheers,
Chris.
Reply to: