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.
One quick suggestion is running
sudo pacman -Sc
. Also switch to flatpak on some apps since these are stored in /home. If these don't work/are not suitable to your situation, give more information like mentioned on the other comments.