TL; DR Use este comando:
sudo apt-mark hold nvidia-346
Exemplo:
% sudo apt-mark hold nvidia-346
nvidia-346 set on hold.
E o unhold
:
sudo apt-mark unhold nvidia-346
Exemplo:
% sudo apt-mark unhold nvidia-346
Canceled hold on nvidia-346.
De man apt-mark
hold
hold is used to mark a package as held back, which will prevent the package from being automatically installed, upgraded or removed. The command is only a wrapper around dpkg --set-selections and the state is
therefore maintained by dpkg(1) and not affected by the --file option.
unhold
unhold is used to cancel a previously set hold on a package to allow all actions again.