In Debian/Ubuntu this is called "holding".
To hold/exclude a package from being installed or upgraded:
sudo apt-mark hold
packagename
To allow the upgrade/installation unhold:
sudo apt-mark unhold
packagename
ubuntu, linux, mint, exclude, upgraded, installedin, debian, quot, installed, sudo, apt, packagename, upgrade, installation, unhold,