Table of Contents

Ubuntu - apt - Hold a package

Package holding means it can not be upgraded till you run unhold on it again.

sudo apt-mark hold [package name]

Example

sudo apt-mark hold sudo

To unhold a package

sudo apt-mark unhold [package name]
sudo apt-mark unhold sudo