I don't usually trust the distribution upgrades having had less than a 50% success rate in the past but this was a recent clean installation of 22.04 following a disk crash. The upgrade failed but the system was still functional and booted without errors, so I just accepted than I had to stay with 22.04. However, I recently tried installing sendemail and that triggered a host of errors.screen photo
It now boots to the command line but I can no longer access it with SSH.
I've tried updating with --fix-broken and --fix-package but just get a lot of errors.
I'm puzzled because this is basically a clean install. It runs git, web-server, HA (in a snap) and a few other apps but nothing special.
Is there a simple way to fix this? When it's happend in the past (with other machines), I've just abandonned it and done a fresh install on a new disk. I don't have any spare disks right now and I'd like to get it semi-functional at least as it's my main file server.