The apt-mark
command will mark or unmark a software package as being automatically installed and it is used with option hold
or unhold
.
hold – this option used to mark a package as held back, which will block the package from being installed, upgraded or removed.
unhold – this option used to remove a previously set hold on a package and allow to install, upgrade and remove package.