Any reason not to just use yay? That's an alias for yay -Syu, which in and of itself, at least if I understood it correctly, is basically just pacman -Syu and from what I've read on the arch wiki-Sy is heavily discouraged.
yay in the example was used to install an AUR; not to update the system which is what you are talking about. And the discouragement you speak of -Sy applies only to pacman upgrades, not AUR helpers. The only reason the y is discouraged in the wiki when installing a package is because it fetches updated data from the repos which might lag the rest of the system (and potentially the resulting dependencies if any). Most of the time it is not a concern as most (quality) software is made to be backwards compatible anyway.
Any reason not to just use
yay
? That's an alias foryay -Syu
, which in and of itself, at least if I understood it correctly, is basically justpacman -Syu
and from what I've read on the arch wiki-Sy
is heavily discouraged.yay
in the example was used to install an AUR; not to update the system which is what you are talking about. And the discouragement you speak of-Sy
applies only to pacman upgrades, not AUR helpers. The only reason they
is discouraged in the wiki when installing a package is because it fetches updated data from the repos which might lag the rest of the system (and potentially the resulting dependencies if any). Most of the time it is not a concern as most (quality) software is made to be backwards compatible anyway.