Skip to content

Instantly share code, notes, and snippets.

@defunctzombie
Last active December 11, 2015 10:48
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save defunctzombie/4589146 to your computer and use it in GitHub Desktop.
Save defunctzombie/4589146 to your computer and use it in GitHub Desktop.
Pinning stable release package on debian stable installs. Allows for selectively installing from backports or unstable for newer packages.
# backports
# deb http://backports.debian.org/debian-backports squeeze-backports main
# install from specific release
apt-get -t squeeze-backports install "package"
Explanation: Uninstall or do not install any Debian-originated
Explanation: package versions other than those in the stable distro
Package: *
Pin: release a=stable
Pin-Priority: 900
deb http://http.us.debian.org/debian/ unstable main contrib non-free
#deb-src http://http.us.debian.org/debian/ unstable main contrib non-free
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment