grrrrr my raspberry pi appears to have become corrupted at some point without me noticing >:/
What's on it still runs OK, but I'm suddenly locked out of installing packages with weird errors. Previously apt told me to run a command to fix a bunch of packages, and /etc/defaults/locale was full of garbage instead of a locale setting. I reeeeally don't want to wipe it but I have no way of knowing what's borked and what's fine.