For the complete documentation index, see llms.txt. This page is also available as Markdown.

Protect a apt package from upgrade

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