I have another linux partition installed so I booted into the other partition, manually installed the contents of the new libcrypt1 .deb (it is only a lib and a link). The deb was already in the cache from the failed update.
Rebooted back into focal. I could now login. sudo worked again too.
To tidy up, ran:
sudo apt --fix-broken install
sudo apt-get update
thanks.
this worked for me.
I have another linux partition installed so I booted into the other partition, manually installed the contents of the new libcrypt1 .deb (it is only a lib and a link). The deb was already in the cache from the failed update.
Rebooted back into focal. I could now login. sudo worked again too.
To tidy up, ran:
sudo apt --fix-broken install
sudo apt-get update
All seems good for now.