Created
July 12, 2014 16:18
-
-
Save sshnaidm/87516b56cd2e13396bdc to your computer and use it in GitHub Desktop.
lock apt for package version
This file contains hidden or 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
1) | |
SET: echo "package hold" | sudo dpkg --set-selections | |
REMOVE: echo "package install" | sudo dpkg --set-selections | |
CHECK: dpkg --get-selections | grep "package" | |
2) | |
SET: sudo apt-mark hold package_name | |
CHECK: sudo apt-mark unhold package_name |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment