To disable upgrades,
apt-mark hold <package-name>
apt-mark hold gzip
To enable upgrade,
apt-mark unhold <package-name>
for example,
apt-mark unhold gzip
Last updated 2 years ago