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?

  • ThanksForAllTheFish@sh.itjust.works
    link
    fedilink
    arrow-up
    2
    ·
    2 hours ago

    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
      link
      fedilink
      arrow-up
      1
      ·
      2 hours 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.