echo <package name> hold | dpkg --set-selections
echo <package name> install | dpkg --set-selections
dpkg --get-selections | grep <packagename>