After installing pacman packages (last one was ‘ungoogled-chromium’) my root partition of 20GB is completly full. Now I can’t update new packages.
My partition structure is: root (20GB) /home (470GB) swap (10GB)
How can I delete the garbage that is piling up in my root, and how to prevent it from happening again.
This. You might have to clear up some space before installing pacman-contrib though.
paccache -rk1
once in a while and you’re good, maybe even create a hook