This is a collection of hacks and commands for solving basic but painful issues in Ubuntu.
Sometimes you run into stuck installs in ubuntu. This could be a result of DNS, Network etc. issues.
I have found these to work always. Updating one or both these files with the entries below should work.
sudo apt-mark hold PACKAGE
# Example
sudo apt install -y kubelet=1.20.15-00 kubeadm=1.20.15-00 kubectl=1.20.15-00 containerd
sudo apt-mark hold kubelet kubeadm kubectl
sudo apt-mark unhold PACKAGE