Skip to content

Instantly share code, notes, and snippets.

@lordgnu
Created April 17, 2014 02:24
Show Gist options
  • Save lordgnu/10948724 to your computer and use it in GitHub Desktop.
Save lordgnu/10948724 to your computer and use it in GitHub Desktop.
Lock and Unlock Package Versions (Ubuntu)

To Hold A Package At Installed Version This prevents updates to the specified package

sudo apt-mark hold <package>

To Release Hold On Package Version This allows updates again

sudo apt-mark hold <package>
@riccardocossu
Copy link

release command is unhold, not hold

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment