NVIDIA-SMI has failed because it couldn't communicate with the NVIDIA driver. Make sure that the latest NVIDIA driver is installed and running.

Fixed through:
apt update
apt upgrade

Then was showing that packages were being kept back, so followed the solution from here:
https://superuser.com/questions/1107334/apt-says-packages-have-been-kept-back-what-to-do/1108268