Tell apt to keep the current version of a package
If you ever need apt
to keep the current version of a package, use hold
:
sudo apt-mark hold <package>
This will prevent apt
from upgrading the package. You can always unhold
it back when you want to upgrade it.