Something along these lines:
dpkg -l | grep grub | awk '{print $2 " hold"}' | dpkg --set-selections dpkg --get-selections | grep hold | sed 's#hold#install#g' | dpkg --set-selections
But even with grub on hold (and not being upgraded), grub-probe is still not being renamed back (though I haven't rechecked with the latest version of uck).
Something along these lines:
dpkg -l | grep grub | awk '{print $2 " hold"}' | dpkg --set-selections
dpkg --get-selections | grep hold | sed 's#hold#install#g' | dpkg --set-selections
But even with grub on hold (and not being upgraded), grub-probe is still not being renamed back (though I haven't rechecked with the latest version of uck).