this post was submitted on 24 Jan 2026
66 points (98.5% liked)

Linux

61501 readers
397 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
 

Every atp command returns an avalanche of errors, I freed up some space but the package management stuff seems gone and I can't seem to fix it. Should I fresh install?

SOLUTION: Okay first of all thanks to all the people who replied to me and pointed me to the right direction, the issue was I was having full disk space and missing a few apt libraries which prevented the commands to run succesfully. I solved by freeing up some space, chrooting inside my corrupted environment from a live USB (there's plenty of guides online on how to do this correctly), I downloaded (from debian package search) and installed manually with dpkg a few packages: apt-transport-https, curl, and libnettle8t64 which apt-transport-https required and which was the one actually solving the problem. After that apt --fix-broken install could run succesfully and every further apt command worked without issues, upgraded the system and now it is booting fine! Again, thank you so much @mumblerfish@lemmy.world, @utopiah@lemmy.ml @hendrik@palaver.p3x.de, @ThanksForAllTheFish@sh.itjust.works, @BassTurd@lemmy.world, @IsoKiero@sopuli.xyz !

you are viewing a single comment's thread
view the rest of the comments
[–] brooke592@sh.itjust.works 14 points 4 days ago (2 children)

Sorry that happened to you.

The distro developers should implement a solution so that updating without enough space doesn't break your system. They could prevent the update or at least warn you that there's not enough space and bad things can happen.

[–] dondelelcaro@lemmy.world 13 points 3 days ago

There is a set of warnings for apt which run those calculations and warn the user if there isn't enough space.

[–] utopiah@lemmy.ml 5 points 3 days ago

There are warnings so my bet is that there is an edge case where

  • one runs apt and receives NO warning
  • the system keeps on doing other tasks, e.g. user copies a large file on the same filesystem or log files just increasing
  • user runs apt upgrade BUT now apt would warn except it's not run again

so basically concurrency that makes it unpredictable, except if apt was the only process writing on the filesystem (which it never is).