24
submitted 2 weeks ago* (last edited 2 weeks ago) by arsus5478@lemmy.ml to c/linux@lemmy.ml

[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

you are viewing a single comment's thread
view the rest of the comments
[-] db2@lemmy.world 2 points 2 weeks ago

dd if=/dev/zero of=/var

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

[-] data1701d@startrek.website 17 points 2 weeks ago

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

[-] db2@lemmy.world 3 points 2 weeks 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.

[-] bus_factor@lemmy.world 7 points 2 weeks ago

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.

[-] db2@lemmy.world 1 points 2 weeks ago

Nobody puts var on its own partition anymore, it would sill fail.

[-] Wispy2891@lemmy.world 3 points 2 weeks ago

He either has var on a dedicated partition or has a 12 gb drive in 2025

[-] gravitywell@sh.itjust.works 1 points 2 weeks 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 2 points 2 weeks ago

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

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

Linux

58832 readers
557 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