Ubuntu - holding back packages

SuperCollider Ubuntu packages are available from https://launchpad.net/~supercollider/+archive/ppa

The Ubuntu system will offer to upgrade supercollider to the latest version as soon as it comes out. This is fine in many cases, but for a highly dependable setup it is a good idea to turn this off by "holding" the packages once a setup is working as intended.

In Synaptic:


 * Open Synaptic: System -> Administration -> Synaptic Package Manager
 * Click Search and type supercollider in the Search box
 * Shift-click on all supercollider packages you have installed to highlight them
 * Once the packages are highlighted, Click Package -> Lock Version
 * Close Synaptic

To remove the hold:


 * Open Synaptic
 * Search for the package supercollider
 * Shift-click on all the held packages to highlight them
 * Once all installed package are selected, Click Package -> Lock Version to remove the checkmark
 * Close Synaptic

On the command line:

To set the hold for all installed SuperCollider packages, copy and paste the following command:

sudo dpkg --get-selections | grep supercollider.*\\sinstall | sed 's/install/hold/g' | sudo dpkg --set-selections

To remove the hold of all held SuperCollider packages:

sudo dpkg --get-selections | grep supercollider.*\\shold | sed 's/hold/install/g' | sudo dpkg --set-selections

Adapted with thanks from: https://help.ubuntu.com/community/PinningHowto