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.

  • @Tw1@lemmy.roembol.nlOP
    link
    fedilink
    88 months ago

    This realy helped my out. /var/cache/pacman took up over 5GB of space in my root partition. To prevent this from happening again, is there a way to move pacman cache to my home partition where I have over 300GB of space for pacman to consume?

    • Yote.zip
      link
      English
      68 months ago

      I’m not currently using Arch so I can’t test, but from this forum post it looks like you can change the CacheDir variable in /etc/pacman.conf to point anywhere you want.