• bleistift2@sopuli.xyz
      link
      fedilink
      English
      arrow-up
      9
      ·
      1 day ago

      update pulls the metadata about your packages (to see if there are new versions, and which), while upgrade applies the patches.

      • Zwiebel@feddit.org
        link
        fedilink
        English
        arrow-up
        11
        ·
        1 day ago

        I’ve never understood why the update part isn’t included in the upgrade command, since upgrade is useless without it

        • Upgrade will upgrade the system to whatever is newest in your package cache. If, for example, you’ve just performed a partial upgrade and put yourself into an unsupported state, running upgrade without first running update will put your system back in line with itself.

          There probably almost never a reason for this, but its the equivalent of running pacman -u which under normal circumstances you will never do