• eldain@feddit.nl
    link
    fedilink
    arrow-up
    21
    ·
    edit-2
    22 hours ago

    I once accidentally deleted python from my gentoo system (needed for emerge) and rescued it.

    • vin@lemmynsfw.com
      link
      fedilink
      English
      arrow-up
      1
      ·
      6 hours ago

      Wow, I did that on CentOS and reinstalling the OS was the only sure shot way I could figure

      • TwilightKiddy@programming.dev
        link
        fedilink
        English
        arrow-up
        1
        ·
        edit-2
        3 hours ago

        I suppose to rescue it you can grab a portable Python release and use that to emerge a proper one, another option would be booting into a live environment. And to cause this, --unmerge and --rage-clean are your friends. No idea how you’d do that “accidentally”, though.