A SSH session dropping while a remote update was running.
To avoid such issues in the future:
sudo dpkg --configure -a # still fails with "cannot read status file" A SSH session dropping while a remote update was running
sudo apt-get install -f
Run this in your terminal: