If you are using the testing repos, pacman v6 has just been released. If you are also using yay, you’ll likely get a messages telling you that pacman and yay are in conflict. I think the easiest way to handle this is to accept the pacman update (meaning that yay will be removed) then follow the steps below:
…
$ pacman -S --needed git base-devel
$ git clone https://aur.archlinux.org/yay.git
$ cd yay
$ makepkg -si
if you already have base-devel installed, you can skip the first command.
Basically this will pull the current version of yay from the git repository and recompile it. The steps above are copied from a post by the current maintainer of yay (you can check it vs the pinned comment here [https://aur.archlinux.org/packages/yay/](https://aur.archlinux.org/packages/yay/) )
did the update to pamac (too hasty), had yay uninstalled and now I can’t get yay reinstalled because it asks me if I want to uninstall pamac (conflict). How do I get this sorted out (other than reinstalling).
You may also want to give paru a shot for now. Otherwise a timeshift backup would be the next best option. . .
And reinstalling WON’T fix your issue either. You’re going to end up installing pacman 6.0 anyway, and you’ll be in the same position, they will still be in conflict.
I will be waiting and watching the yay package in the AUR, I would expect an update in the next couple of days; realistically even sooner. yay-git has already been flagged out of date. This will be too momentarily. After it’s updated I’ll try to update my system again at that point and see what’s happening.
AFAIK, one developer left to work on paru - leaving the other(s) to continue on with maintenance and updates. This should count as one of those! Give it a day or two - or just do as I am (which is skipping anything that needs yay ie: AUR updates) and work with the new pacman version.
I guess I’ll have to try and find out what’s improved with the new version! Must be something - and with luck I may be able to understand what I find out!