what the forget is up with these loving flags are they on drugs or something stuff
maybe it's because i'm trying to figure them out at midnight but jesus christ
-Syy and -Syu have humongous differences! wtf! wtf does -y even do?!? the manpage has some arguments listed multiple times with different meanings based on context! why can't i just pacman --upgrade like debian??? why is debian sane!??
any command with -S will sync or install packages (or search for packages), the extra parameters determine exactly what to do
add -y and it will synchronize the package lists, add a second -y to force it to happen even if they're already up to date (eg pacman -Sy or pacman -Syy)
add -u and it will add all packages that need updates (eg pacman -Su)
add -s and this command will search for packages (eg pacman -Ss gaj)
so for example pacman -Syyu gajim will force update the package lists, add all packages that need updates and add gajim, then install those
the reason -y and -u are used together often is that you'd first want to check what you want to update before you update
it might be a bit clusterforgety at first, but it's certainly not hard ^^ ♥