-syyu and hitting enter till it updates leaves me in a broken package loop. How do i update my system? I use a combonation of “yay” and “flatpak”. But yay no longer works either. I got bluetooth to work finally a few weeks ago after months so i do not want to reinstall that and all my games again. Any suggestions for an update? Also i forgot how to view installed yay packages and remove some. I think its something like
Yay -R or Rm package-name
But unsure. I need this update cause suddenly my openXR install is too old for beatsaber even tho it worked fine pre steam vr update. So need help updating and cleaning my systsm
In addition to the good advice @chikenf00t and @joekamprad have offered, eos-update is a useful script created by the Endeavour team, for updating your system.
To list installed packages, use the query argument Q:
yay -Q
Q : Query.
You can pipe that to grep if you’d like to filter that list. Useful if checking for particular packages:
yay -Q | grep package-name
As for removing packages, to remove just the package, use the R argument:
yay -R package-name
R : Remove.
Doing that is fine, but it may leave some orphans (dependencies that no longer have any parent package installed). To clean those up after, you would run:
yay -Yc
Y : Perform yay specific operation.
c : Clean.
This one below removes a package and all its dependencies, and also packages that depend on it. It’s very thorough but be careful with this one, some packages (eg: ffmpeg) are so intertwined you might end up removing half your system:
yay -Rcns package-name
R : Remove.
c : Cascade, removes packages that depend on this package (be careful!).