[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

  • @db2@lemmy.world
    link
    fedilink
    -161 month ago

    dd if=/dev/zero of=/var

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

    • data1701d (He/Him)
      link
      fedilink
      English
      181 month ago

      FYI Don’t use this command. I think it was intended as a joke, but I just want to clarify.

      • @db2@lemmy.world
        link
        fedilink
        -71 month ago

        That’s why I didn’t include any privilege escalation, even if someone ran it as is it would fail. But a warning is also appropriate, thanks.

    • Gravitywell.xYz
      link
      fedilink
      11 month ago

      Wouldn’t that just make a file full of zeros?

      I think the proper (joke) command here would be

      rm -rf /var/*

      • @db2@lemmy.world
        link
        fedilink
        11 month ago

        It would probably fail unless var was a block device actually. It wouldn’t turn a directory in to a file.