var capacity 11.1 GiB, var usage 10.6 GiB
why would var have such a restraint? reminds me of overly complex tutorials tricking people into elaborate partitioning schemes
du -hsc /var
Check the sheets to see which directories are taking up your space.
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.
You can use baobab or ncdu to try to figure out what’s filling it up.
Usually var gets full of old log files. So maybe delete some of those. Apt-cache is also a suspect
Well, what’s using your /var?
dd if=/dev/zero of=/var
But really, remove what you don’t use and/or stop using flatpak.
FYI Don’t use this command. I think it was intended as a joke, but I just want to clarify.
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.
That doesn’t make it better.
The first thing a novice user learns is to slap
sudo
in the front if they don’t have access to do something.Nobody puts var on its own partition anymore, it would sill fail.
Wouldn’t that just make a file full of zeros?
I think the proper (joke) command here would be
rm -rf /var/*
It would probably fail unless var was a block device actually. It wouldn’t turn a directory in to a file.