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.
As people have mentioned there are alternate package managers that can provide this if you are concerned about resizing ur root partition and expect it to fill up again soon. Check out Guix, nix, or flatpaks (definitely the easiest to quickly setup )