• Sneezycat@sopuli.xyz
      link
      fedilink
      arrow-up
      0
      ·
      2 months ago

      I just aliased “sudo pacman -Syu && yay -Syu --aur” to “update” cause I got tired of writing it every day.

      • Noxious@fedia.io
        link
        fedilink
        arrow-up
        1
        ·
        2 months ago

        Wouldn’t it make more sense to just yay -Syu to update everything, normal packages and AUR packages?

        • Sneezycat@sopuli.xyz
          link
          fedilink
          arrow-up
          1
          ·
          2 months ago

          The reason I did it like this is because:

          • I didn’t know yay could invoke pacman
          • I didn’t want yay “upgrading” my pacman packages with AUR packages.

          But I was just misunderstanding yay. As another comment said before you, one can just run yay without any arguments and it accomplishes the same thing.

          • Noxious@fedia.io
            link
            fedilink
            arrow-up
            2
            ·
            2 months ago

            Yay doesn’t replace normal packages with AUR packages. Btw It’s not just an AUR helper, it’s a wrapper for Pacman with AUR support built-in. Check out paru btw, it’s a more modern version of yay that basically works the same way: https://github.com/Morganamilo/paru