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.

  • Yote.zip@pawb.social
    link
    fedilink
    English
    arrow-up
    15
    ·
    1 year ago

    Run ncdu (CLI) or Filelight (GUI) on your / and see what’s taking up all that space first, then we can figure out what to do about it.

    • Tw1@lemmy.roembol.nlOP
      link
      fedilink
      arrow-up
      8
      ·
      1 year 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?