If you’re logged in as root via SSH, you shouldn’t need “sudo” in front of “dietpi-update”. Not sure if you are typing that or not. Shouldn’t make any difference, but you never know.
And you have internet connectivity? I think it’s looking for a time sync to the outside world.