This issue has been a plague ever since i installed arch last year. My root partition is 50gb which i thought would be enough but this folder making up literally 12,3gb was NOT planned. no matter what I do it doesnt work. I already deleted the entire folders contents, ran sudo flatpak repair and it came BACK in full size. heres all the things i ran
flatpak repair --user
sudo ostree prune --repo=/var/lib/flatpak/repo
sudo flatpak repair
None of this helped and this folder is still one of the biggest in my entire root partition. I kept reading that people running those three commands above magically fixed it and reduced the size to less than a gigabyte, but none of them helped me at all. Not even basically deleting it all.
Please help fix this.