67
submitted 2 days ago by dontblink@feddit.it to c/linux@lemmy.ml

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?

you are viewing a single comment's thread
view the rest of the comments
[-] dontblink@feddit.it 3 points 2 days ago* (last edited 2 days ago)

apt-get -f install

I tried it already, but I get method http has died unexpectedly https subprocess error code 127

[-] lemmyreader@lemmy.ml 4 points 2 days ago

Another way to try to fix dependency problems, including complicated ones that apt cannot solve, is to use the magnificent aptitude deb helper. If you have aptitude not installed you can possibly still install it with dpkg. Download aptitude deb file and the aptitude-common deb file and save them to disk. For example for Debian : https://packages.debian.org/trixie/aptitude With dpkg it is in dependency problems situations still possible to install new software. Maybe dpkg --force-all or something like that is needed.

Make sure to make backups of your valuable things first via a Linux live session.

After you have aptitude installed, try e.g. :

sudo aptitude update

or

sudo aptitude install ncdu (or install some other small program you didn't have installed already)

It may already show a suggestion solution.

this post was submitted on 24 Jan 2026
67 points (100.0% liked)

Linux

57274 readers
425 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