• ragas@lemmy.ml
    link
    fedilink
    arrow-up
    7
    ·
    4 days ago

    “&&” will only run shutdown if the update runs correctly.

    I do “;” to definitely run the shutdown after the update process exits. (Don’t want to keep the system running if nothing is happening any more.)

    • Successful_Try543@feddit.org
      link
      fedilink
      arrow-up
      5
      ·
      4 days ago

      I do “;” to definitely run the shutdown after the update process exits.

      If you’re able to successfully boot the machine afterwards is not your concern?

      • ragas@lemmy.ml
        link
        fedilink
        arrow-up
        3
        ·
        3 days ago

        I don’t know about arch but my system usually boots fine after an upgrade. (Gentoo here)

            • Successful_Try543@feddit.org
              link
              fedilink
              arrow-up
              1
              ·
              3 days ago

              No. It will boot the previous kernel, but the user experience will be at least suboptimal if some packages have already been removed during the upgrade, but the upgrade stopped at some point because a downloaded package was corrupt, leaving lots of dependent packages unconfigured. In case networking doesn’t work, it’s also inconvenient to manually download the affected package on another machine and transfer it with a usb stick onto the computer to restart the upgrade.