this post was submitted on 30 Sep 2024
25 points (93.1% liked)

Linux

48193 readers
1115 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 5 years ago
MODERATORS
 

when I installed debian 12.7 I created a separated /var directory, along other 2 separated directories (names forgotten).

I also use flatpak and this program is installed in this directory. Executing 'flatpack update' I discovered this directory is 95% full, meaning I cannot update anything, because /var is 95% full (only 400 MiB free)

Ideas to solve this?

you are viewing a single comment's thread
view the rest of the comments
[–] gomp@lemmy.ml 14 points 1 month ago* (last edited 1 month ago)

(I assume you meant "I created a separated /var partition")

You can move/resize partitions from basically any live usb (via cli or gparted for gnome and kde partition manager for kde).

Shall you want to, you can also merge the var partition with (say) your root partition:

  1. mount both partitions in two directories (just create empty ones and mount on them, say ~/root and ~/var)
  2. inside ~/root create the new var/ directory
  3. copy the data over
  4. edit ~/root/etc/fstab (remove the line for the old var partition)
  5. use whatever partitioning tool to get rid of the actual partition and expand the previous/next one

Be aware that you can very easily lose your data ;)

PS: just in case, try running flatpak uninstall --unused