• ITGuyLevi@programming.dev
        link
        fedilink
        arrow-up
        1
        ·
        3 hours ago

        I may be totally confused but I’ve also always done it in that order, otherwise I feel like it would run upgrades from your cache of the apt repos (possibly hitting errors as stuff likes to change), then after it would run apt update (updating the repos).

        My thought has always been update repos, then check those repos for software upgrades. I could definitely be wrong though.

    • MsFlammkuchen@lemmy.blahaj.zone
      link
      fedilink
      arrow-up
      20
      ·
      14 hours ago

      && executes the second command, if the command before was successful, || executes the second command if the first one was unsuccessful and ; executes the second command regardless of success.