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?

  • hendrik@palaver.p3x.de
    link
    fedilink
    English
    arrow-up
    20
    ·
    edit-2
    11 hours ago

    Clear up some space first and then try something like this:

    dpkg --force-all --configure -a  
    apt --fix-broken install  
    apt-get -f install  
    

    I’ve had issues like that before and oftentimes it’s recoverable. A bit unfortunately if the wrong packages got damaged. Can be quite an effort to get it going again and it depends on the exact situation.

    • dontblink@feddit.itOP
      link
      fedilink
      English
      arrow-up
      9
      ·
      10 hours ago

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

      • hendrik@palaver.p3x.de
        link
        fedilink
        English
        arrow-up
        10
        ·
        edit-2
        9 hours 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.