[keos@keos-pc ~]$ LANG=C su
Password:
[root@keos-pc keos]# pacman -Syu
:: Synchronizing package databases...
core is up to date
extra is up to date
community is up to date
multilib is up to date
endeavouros is up to date
:: Starting full system upgrade...
there is nothing to do
[root@keos-pc keos]# exit
exit
[keos@keos-pc ~]$ LANG=C yay -Syu
[sudo] password for keos:
:: Synchronizing package databases...
core is up to date
extra is up to date
community is up to date
multilib is up to date
endeavouros is up to date
:: Starting full system upgrade...
there is nothing to do
:: Searching databases for updates...
:: Searching AUR for updates...
-> Missing AUR Packages: stockfish-old
-> Flagged Out Of Date AUR Packages: localepurge
:: 1 Packages to upgrade.
1 aur/octopi-dev 0.10.0-2 -> 0.11.0-1
==> Packages to exclude: (eg: "1 2 3", "1-3", "^4" or repo name)
==>
:: Checking for conflicts...
:: Checking for inner conflicts...
[Repo Make:12] docbook-xml-4.5-9 docbook-xsl-1.79.2-7 glib2-docs-2.66.2-1 python-lxml-4.6.1-1 python-pygments-2.7.2-1 python-anytree-2.8.0-1 gtk-doc-1.33.1-1 netpbm-10.73.33-1 gts-0.7.6.121130-2 graphviz-2.44.1-4 vala-0.50.1-1 qt5-tools-5.15.1-2
[Aur:2] alpm_octopi_utils-dev-1.0.2-1 octopi-dev-0.11.0-1
==> Remove make dependencies after install? [y/N]
First, NEVER run yay as root. Never. Just don’t do it. Don’t run sudo yay and don’t run su first and then yay. yay does not need root access, and should not have it when building AUR packages. When yay needs root access, to install something, it will ask you for your sudo password.
Second, there is no need to type yay -Syu, just run yay, it does the same thing.
Third, it seems your repo packages are up to date, and you only have the AUR packages to update. Whenever you’re updating an AUR package, you should do the same procedure as when installing it, check the PKDBUILD and all.
When you are asked
Remove make dependencies after install?
you can safely answer either yes or no. Make dependencies are packages that are needed to build the AUR package (like compilers for various languages, libraries, etc…) but they are not needed after you install the package. So, if you answered yes, they will be uninstalled and will need to be installed again when you update the AUR package in question. But if you answered no, that’s okay too, as that will leave them installed for when you update the AUR package next time. So the choice comes down to either bloating up your system slightly or having to reinstall make dependencies every time you need them (slower update to the AUR package).
==> Diffs to show?
==> [N]one [A]ll [Ab]ort [I]nstalled [No]tInstalled or (1 2 3, 1-3, ^4)
Asks you whether you want to see the differences in the PKGBUILD file between the old and new version. If you do not know what that is, you should probably not be using the AUR, until you learn a bit more about it.
The PKGBUILD file is a script that runs when the package is built. It contains instructions (bash commands) on how to build and install a package. It is always a good idea to inspect it and to understand what it does, as it may contain malicious or untrustworthy code (as rare as that is).
I have a post giving you some advice on what to look for in a PKGBUILD file:
My advice is to read up on the AUR on the Arch Wiki, and here on the forum. It’s quite a rabbit hole, but it’s worth learning that stuff.
If you completely trust the AUR package (something I would never advise you to do), you can answer N for none to the question above, and not look at the PKGBUILD file. You do this at your own risk, of course.
Yes, you are right, it is a bit complex to me … I don’t really need any AUR package anymore, how can I safely remove what I may have already installed, including the octopi? Thank you.
I forgot there are a few things that i still needing from AUR …
i tried again and this time i was capable to at least to updated it by just using ‘yay’ without sudo … Thanks.
Just be careful what you install from the AUR. I recommend learning about it.
When used properly, the AUR is the safest way to install software in existence, because it is completely transparent, and you are able to know exactly what it does to your system. But if you do not understand how it works, then this transparency is meaningless to you, and then you can run into problems and potentially install malware or spyware.
I read that it is telling you that there is something to update and is capable, it just wants to know if you want to keep the dependencies required to build the AUR package or remove them when finished.
I generally keep them, otherwise the next time you update, you probably end up needing them again anyway.
That response to the post was a poor reading of both the question I did not read well and a poorly written hurried response given to these questions. To wit:
I never liked eliminating dependencies and even less of pacman, I may need them again.
With yay it may or may not be different, it depends on how you look at it and what you use to update or install packages.
For the rest, it was my mistake not to tell the OP not to use yay in root and what is always better to update with pacman than with yay, although here in EnOS it is used in the same way, not so much in pure Arch. I say this because I have seen several answers in the forum.