Every atp command returns an avalanche of errors, I freed up some space but the package management stuff seems gone and I can’t seem to fix it. Should I fresh install?
Every atp command returns an avalanche of errors, I freed up some space but the package management stuff seems gone and I can’t seem to fix it. Should I fresh install?
Oof… it actually happened to me and it’s not 1 problem but 2 namely :
so that leaves you in a terrible stable. You can still clean up this mess BUT that’s tricky. Basically you have to
dpkgon.debfiles but NOTapt getbecause that requires connectivity and thus packages you do not have anymore) the bare minimum you need then finish the update.For me it was on a small temporary system (e.g. RPi for HomeAssistant) so it was basically easier to recover from a recent backup after formatting.
It’s annoying but it’s actually not that bad.
Edit: clarified on the broken state and dpkg vs apt get