Created
September 21, 2011 10:54
-
-
Save rgo/1231790 to your computer and use it in GitHub Desktop.
Block/unblock package upgrades
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Block package version (don't upgrade it anymore) | |
echo "package-name hold" | sudo dpkg --set-selections | |
# Unblock package version (upgrade it again) | |
echo "package-name install" | sudo dpkg --set-selections |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment