this post was submitted on 21 Sep 2025
24 points (100.0% liked)

Linux

58470 readers
516 users here now

From Wikipedia, the free encyclopedia

Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).

Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word "Linux" in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.

Rules

Related Communities

Community icon by Alpár-Etele Méder, licensed under CC BY 3.0

founded 6 years ago
MODERATORS
 

[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

top 21 comments
sorted by: hot top controversial new old
[–] mactan@lemmy.ml 14 points 3 days ago (1 children)

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

[–] mlfh@lemmy.sdf.org 5 points 2 days ago* (last edited 2 days ago)

/var is often where processes dump a lot of data (logs, databases, etc), and subpartitioning of /var sets a cap so that when too much data is dumped there, the application crashes instead of the whole system. /var/log is often recommended to be subpartitioned separately as well, so that logging can still go on if the application data fills up and crashes.

These kinds of overruns can be intentional DOS attacks, also, so the subpartitioning is often a security recommendation. NIST 800-171 requires separate partitions for /var, /var/log, /var/log/audit, and /var/tmp

[–] pollopolis@lemmy.ml 10 points 3 days ago* (last edited 3 days ago) (1 children)

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.ml 1 points 1 day 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?

[–] just_another_person@lemmy.world 8 points 3 days ago* (last edited 3 days ago) (1 children)

du -hsc /var

Check the sheets to see which directories are taking up your space.

[–] arsus5478@lemmy.ml 1 points 1 day ago* (last edited 1 day ago) (1 children)

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

Put a sudo in front of that then

[–] mlfh@lemmy.sdf.org 2 points 2 days ago

apt-get clean will clear the apt cache and should give you enough temporary storage headroom on /var to do things, but if you're bumping up on this limit often, you'll need to reconfigure your storage.

[–] istdaslol@feddit.org 4 points 3 days ago

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

[–] JASN_DE@feddit.org 4 points 3 days ago

Well, what's using your /var?

[–] chellomere@lemmy.world 3 points 3 days ago (1 children)

You can use baobab or ncdu to try to figure out what's filling it up.

[–] arsus5478@lemmy.ml 1 points 1 day ago (1 children)

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 1 points 15 hours 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.