I have a problem with Fedora 38 Workstation Gnome
Since a few days ago, I have the system partition (/) full and it has 45Gb.
I have been investigating and I think it is the flatpak. Let me explain.
I have 13 applications installed. I have downloaded Warehouse to manage them.
But doing a Flatpak List, I have 4 versions of Mesa, as many versions of Adwaita theme, QGnomePlataform, KDE Plataform… Many, not all, appear in the dostware manager to uninstall, but I don’t know if I should…
These 2 folders in particular occupy:
var/lib/flatpak/repo - 9Gb
var/lib/flatpak/runtime - 8Gb
So that means the real disk usage of flatpak is ~9GB total. As I mentioned elsewhere, app and runtime are hardlink farms into repo, so they don’t take up a significant amount of additional space. With hardlinks (unlike symbolic links), each link is equivalent; they’re both directory entries pointing at the same inode. Thus it’s technically not incorrect to say that runtime is using 7GB in isolation, but the total usage is still 9GB, not not 9GB+7GB+1.7GB.
When you have a small number of apps installed, it’s normal for the runtimes to take up relatively more space, especially if the apps use different runtimes or if some are IDEs that use SDKs which are larger.
My previous suggestion was to consider using the user flatpak installation if you have plenty of free space in /home.
Please, as much as possible, copy and paste text from your screen into your posts here using the </> preformatted text button on the toolbar.
–Images cannot be searched so the data contained cannot be found by someone at a later date
–Images are much larger than the text contained for storage
–Sometimes images may be blurred or contain tiny text and thus difficult to read.
–When attempting to quote something within an image the person replying is forced to manually type what could have been simply copied and pasted into the reply.
Check temporary directories & files with this command - ls /var/tmp/flatpak-cache-*. You can verify disk usage with the Disk Usage Analyzer (a GNOME app, normally included to Fedora install), you will find directories taking most of storage space using that app.
Yeah, /var is the hog. It was what I was sort of pointing out above, I have my / as a separate partition and you can see my /var is consuming 192Gb while the root partition is only using just over 10Gb. So the 45Gb is fine for / if you have another partition for /var, I personally have had poor experiences with making a root partition less than 120Gb in recent years (if that partition holds /var as well).
It’s unfortunate you’re not using lvm volumes on that system. If you were, it’d be relatively painless to bleed off a little of your home partition’s space and reallocate it to the root partition instead. (You’d still have to boot to recovery in order to shrink the home partition while it was offline, but then you could grow the root partition into the freed space despite it being non-contiguous. LVM is really kind of the bee’s knees, once you get familiar with it.)