I'm using a cheap VM that's getting pretty old. So old that recently, apt-get update && apt-get upgrade returned errors, because wheezy packages were removed from the mirrors.
So I decided to update my Debian install. I was overconfident and tried to update wheezy straight to buster.
The main problem is that I'm trying to update through ssh, and every time an error occurs, the ssh connexion closes, and I can't see the error details. I have no idea what the errors were on server-side, I just see that my local ssh client crashes.
What I did:
- I changed the lines in
/etc/apt/sources.listto reference buster rather than wheezy - I did a
update && upgradethat updated nothing (I'm guessing none of the packages were compatible) then adist-upgradethat crashed ssh and, as a bonus, did something so that I can't run nano or vim anymore without my ssh crashing. - I edited the
sources.list(usingecho >because no editor works anymore) to point to jessie - I did a
update && upgradethat upgraded a few things thendist-upgradethat went a bit further than before, then crashed at "Preconfiguring packages ...".
No editor works anymore, every time I try to run nano or vim my local ssh client crashes.
cat /etc/debian_version gets me 8.11 but every time I try to dist-upgrade it stills tries to upgrade everything like nothing was ever upgraded.
I'm guessing I'm in some pretty messed up state and I'll have trouble restoring a stable state, but what can I try to see the actual errors thrown, so I can at least try to make it work again?