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 9 points 2 days ago

The first command worked, the second one is still showing up http have died unexpectedly error 127

Method http died unexpectedly 127 means APT’s HTTP helper (usually curl/wget) was in a bad state when the disk filled. Chroot alone won’t fix it, run dpkg --configure -a first, and if http still fails, reinstall curl/apt-transport-https (manually via dpkg if needed), then apt --fix-broken install.

You'll have to download them manually as other people have mentioned, and resolve any missing dependencies during install the same way. Also check your network still works.

ping -c 3 1.1.1.1
[-] utopiah@lemmy.ml 1 points 1 day ago

reinstall curl/apt-transport-https (manually via dpkg if needed)

That's the trick, local installation via dpkg of the missing package itself (that you got another way) required to let apt get work.

[-] hendrik@palaver.p3x.de 11 points 2 days ago* (last edited 2 days ago)

Hmm, sorry. I'd guess your internet connection doesn't work any more. So apt can't fetch the packages. That's kind of hard to debug, though. You'd somehow need to fix networking before you can proceed. But we don't really know what broke. And if that's really the only issue at play.

Maybe a Live-USB stick and a rescue mode can help here?! Other than that I'm out of options.

[-] sun_is_ra@sh.itjust.works 5 points 2 days ago

are you able to ping a website? try this command "ping google.com" without quotes

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