Skip to content

Commit

Permalink
Give an example of how to update only AUR packages
Browse files Browse the repository at this point in the history
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`.
  • Loading branch information
Morganamilo committed Aug 5, 2018
1 parent f62bd92 commit 8f3f4b7
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions doc/yay.8
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down

0 comments on commit 8f3f4b7

Please sign in to comment.