Sudo apt-mark hold

See my comprehensive analysis on AskUbuntu:

The short answer - use apt pinning instead:

So my conclusion is the following: apt-mark is usable only if you install/remove/upgrade software only with apt-get, otherwise you should use pinning (i.e. /etc/apt/preferences.d/), it is more reliable and straightforward.