Now I get why people are reluctant to use SDs in their #RaspberryPi. I have what's quite clearly a worn or corrupted SD (which is used for the whole filesystem). I'm getting #dpkg fatal errors, terminal quirks and all sorts of funny business. Fingers crossed a #fsck can do the trick. If not, I'll need to reinstall everything :( I think I should invest in an m.2 adapter or just plug in a spare SSD via USB and mount the filesystem on that. Any better suggestions? I use this Pi 24/7 for #DNS.
@vol
I read that one of the best things to do is disable swap. Did you do that? I seem to remember my SD is a decent SanDisk one with ~64GB storage, but I never disabled swap etc. I won't know the state of it till o run a proper fsck on my primary machine later. Either way I'm going to ditch Raspberry Pi OS and try minimal Debian on external HDD.