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?
Try cleaning up space through a live usb of any distro.
The Debian installer rescue mode can make it a lot easier by dropping you on a terminal chrooted to your root filesystem with all other mounts already in place.
It will be CLI only but anyone who’s comfortable with a shell should have a much better time there than on a live distro.
This is such an important thing to learn when using linux. If you want to be able to rescue your setup and not just reinstall: live usb!
To do a rescue on a system that does not boot, then you may also have to enter your environment and fix things, you do that by chroot. I always forget what steps are necessary, so I always look it up in the gentoo handbook: https://wiki.gentoo.org/wiki/Handbook:AMD64/Full/Installation#Chrooting It is the same principle with any live media.
Removed by mod
In case anyone is tempted, don’t run this
Yeah, you need a sudo in front of it otherwise it won’t work.
Also
--no-preserve-rootAnd to clarify to those that don’t know what it does, it will recursively and forcibly remove everything in the / directory, which is the root directory. Run the command and it all dies.
And all of your data on that machine is gone as well.
Well Linux will stop you I think if you run it without
--no-preserve-root