• ITGuyLevi@programming.dev
    link
    fedilink
    arrow-up
    0
    ·
    3 days ago

    Yeah but shouldn’t the order matter? My understanding was that && just said 'after the previous command, run this… ’ so running upgrade before update would miss any changes changes to repos… From what I can tell update is required before upgrade (just like you have it), doing it in reverse missed a ton of updates for me.

    • reggu@lemmy.world
      link
      fedilink
      arrow-up
      0
      ·
      3 days ago

      If it were upgrade && update, yes that would miss the boat. --update is a baked in feature of apt upgrade, so it knows what to do ^_^