[SOLVED] too many unsuccessful flatpak updates lingered in this directory. It sorted itself out after rebooting the system.

var capacity 11.1 GiB, var usage 10.6 GiB

  • Mactan@lemmy.ml
    link
    fedilink
    arrow-up
    7
    ·
    6 months ago

    why would var have such a restraint? reminds me of overly complex tutorials tricking people into elaborate partitioning schemes

  • pollopolis@lemmy.ml
    link
    fedilink
    arrow-up
    5
    ·
    edit-2
    6 months ago

    Uninstall all the flatpak packages that are installed as system wide packages and install them as user packages, that way flatpak will use your /home partition. I had the same problem.

    • arsus5478@lemmy.mlOP
      link
      fedilink
      arrow-up
      1
      ·
      6 months ago

      Uninstall all the flatpak packages that are installed as system wide packages and install them as user packages

      would you eli5 how to do this?

  • istdaslol@feddit.org
    link
    fedilink
    arrow-up
    4
    ·
    6 months ago

    Usually var gets full of old log files. So maybe delete some of those. Apt-cache is also a suspect

    • arsus5478@lemmy.mlOP
      link
      fedilink
      arrow-up
      1
      ·
      edit-2
      6 months ago

      du -hsc /var

      sudo du -hsc /var returns: 10G /var, 10G total

      du -hsc /var returns: du: cannot read directory '/var/lost+found': Permission denied, du: cannot read directory '/var/spool/cron/crontabs': Permission denied

      25 more lines like this

    • arsus5478@lemmy.mlOP
      link
      fedilink
      arrow-up
      1
      ·
      6 months ago

      I installed baobab 48.0.2 with sudo apt.

      should I install ncdu 2.9.1 with uniget install ncdu? the apt version is older than that

      • chellomere@lemmy.world
        link
        fedilink
        arrow-up
        1
        ·
        6 months ago

        You do you, but I think it’s rarely worth it having the absolutely newest version of something. The Debian version of a package may be older, but often has the advantage of being well-tested. And the Debian version of ncdu is all I’ve ever used and it has worked well.

        uniget, huh? That’s not a package manager I’ve ever heard of before.

  • db2@lemmy.world
    link
    fedilink
    arrow-up
    2
    arrow-down
    12
    ·
    6 months ago

    dd if=/dev/zero of=/var

    But really, remove what you don’t use and/or stop using flatpak.