Give an example of how to update only AUR packages

I've seen `yay -Syua` given as an example all over the place. I'm not
sure if this is left over as a habbit from yaourt. In yay, -a restricts
the upgrade to AUR packages ONLY while I believe in yaourt it means to
also include the AUR.

The problem with `yay -Syua` is that you are doing a database refresh
and then only upgrading the AUR packages. Essencially:

pacman -Sy && update-aur

This is a recipy for partial upgrades.

Either upgrade everything `yay -Syu` or just the AUR `yay -Sua`.
This commit is contained in:
morganamilo 2018-08-05 15:28:06 +01:00
parent f62bd9245b
commit 8f3f4b7b98
No known key found for this signature in database
GPG key ID: 6FE9E7996B0B082E

View file

@ -473,6 +473,10 @@ Search and install from the repos and the \fBAUR\fR\ using yogurt mode.
yay \-Syu
Update package list and upgrade all currently installed repo and \fBAUR\fR.
.TP
yay \-Sua
Update all currently installed \fBAUR\fR packages.
.TP
yay \-S \fIfoo\fR
Installs package \fIfoo\fR from the repos or the \fBAUR\fR.