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

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

      • TwilightKiddy@programming.dev
        link
        fedilink
        English
        arrow-up
        1
        ·
        edit-2
        19 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.