From 8f3f4b7b980d8b959a5cafbb4a7192b67dd9645b Mon Sep 17 00:00:00 2001 From: morganamilo Date: Sun, 5 Aug 2018 15:28:06 +0100 Subject: [PATCH] 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`. --- doc/yay.8 | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/doc/yay.8 b/doc/yay.8 index a67bec60..2684a08c 100644 --- a/doc/yay.8 +++ b/doc/yay.8 @@ -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.