lock pin hold a package using apt on ubuntu
set hold:
echo packagename hold | dpkg --set-selections
check, should be
hi
:
dpkg -l packagename
unset hold:
echo packagename install | dpkg --set-selections