There are four ways of holding back packages: with dpkg, apt, aptitude or dselect.
Put a package on hold:
echo "<package-name> hold" | sudo dpkg --set-selectionsRemove the hold:
echo "<package-name> install" | sudo dpkg --set-selectionsDisplay the status of your packages:
dpkg --get-selectionsDisplay the status of a single package:
dpkg --get-selections | grep "<package-name>"Hold a package:
sudo apt-mark hold <package-name>Remove the hold:
sudo apt-mark unhold <package-name>Show all packages on hold:
sudo apt-mark showhold