System status went wrong when update and upgrade ubuntu on SSH terminal

It looks like you’re hit by this. Follow that topic to see how and when to resolve.