• DefederateLemmyMl@feddit.nl
    link
    fedilink
    arrow-up
    1
    ·
    3 months ago

    a bash script to reinstall f—ing everything again

    Why would you ever want to do that?

    First of all, almost any Arch update induced problem can be solved by downgrading the offending package to the previous version, which handily is available in /var/cache/pacman/pkg/. This is an essential Arch troubleshooting skill.

    Even an unbootable system (which has only happened once in my 10 years of using Arch because I didn’t read important news) can be fixed this way, because you can always boot from the installation usb stick and then use arch-chroot to access your installation and fix problems.

    Secondly, if the problem was indeed caused by an Arch update, you will just reinstall the problem if you run a reinstall script.