Biggest mistake I made with Linux has been making a 120GB root partition and then making the rest of the drive the home partition 💀

I keep running out of space in root that could've been supplemented by free space in home that now it just can't use unless idk I do some weird partition management and use external drives as temporary storage for my stuff 💀

@hazelnot can you clear any cached downloaded packages? Idk what distro you are on, but that sounds like a very large root that may have some old or redundant info.

@thufie I cleared the Pacman cache, cleared up 1GB, cleared orphaned packages and gained another 1GB, but I still only have 8GB free

Filelight says most of it is /var/cache/pacman/pkg and /var/lib/flatpak so yeah nothing I can really do (except for wiping the Entire pacman cache, which is a very bad idea according to the wiki)

Follow

@hazelnot huh. I've wiped my whole cache before without much consequences. If you don't run pacman -Sc then you will still have (sometimes multiple) cached copies of packages that were once downloaded, but then were uninstalled. I am not sure why the wiki would be so scary about it, unless it is worried about not having local copies for offline package reinstalls, or old-fashioned downgrades.

@thufie I did do pacman -Sc, but that leaves the last 3 versions of every package in case you need to do an emergency downgrade if something breaks

@thufie "Warning: One should avoid deleting from the cache all past versions of installed packages and all uninstalled packages unless one desperately needs to free some disk space. This will prevent downgrading or reinstalling packages without downloading them again." (from the wiki)

@hazelnot ah yeah. I wouldn't be so worried about that if your root is being starved though. Flatpaks are definitely some chonkers in terms of disk space by comparison, so maybe you'll have better luck there. However I don't really know how to help with Flatpak storage savings.

@thufie eh I cleaned up a bunch of space, for now I'm *alright*

I should make plans to fix this mess at some point soon, such as by backing up the home to an external drive, deleting it, extending root over the whole thing and restoring it cause that seems to be the only non-reinstall way of doing this

@thufie ...though at this point I'm not convinced a reinstall *isn't* the way to go anyway lol

Sign in to participate in the conversation
Pixietown

Small server part of the pixie.town infrastructure. Registration is closed.