Skip to content

Instantly share code, notes, and snippets.

@bluecmd
Created October 5, 2021 17:46
Show Gist options
  • Save bluecmd/dddbcce11ab51c9c591fe45bccb1129b to your computer and use it in GitHub Desktop.
Save bluecmd/dddbcce11ab51c9c591fe45bccb1129b to your computer and use it in GitHub Desktop.
Only allow explicit installs of packages from testing
# /etc/apt/preferences.d/testing
# Only allow explicit installs of packages from testing
Package: *
Pin: release a=testing
Pin-Priority: -10
# Allow all other packages
Package: *
Pin: release o=Debian
Pin-Priority: 800
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment