When I run apt show foo
I see in the output a line that says "Priority:" and one of the values:
- required
- important
- standard
- optional
- extra
Can I use the apt_preferences
file to filter packages based on this value? For example, I would like to install "required", "important", and "standard" packages from debian stable, but "optional" and "extra" packages from testing.