This issue is not letting me to do commands such as
sudo pacman -Syu
and
yay -Syu
miguelartix:[miguel]:~$ sudo pacman -Syu
[sudo] senha para miguel:
:: Sincronizando a base de dados de pacotes...
system está atualizado
world está atualizado
galaxy está atualizado
lib32 está atualizado
extra está atualizado
multilib está atualizado
:: Iniciando atualização completa do sistema...
resolvendo dependências...
procurando pacotes conflitantes...
erro: falha ao preparar a transação (não foi possível satisfazer as dependências)
:: a instalação de pacman (7.0.0.r3.g7736133-1) quebra a dependência "libalpm.so=14" necessária por libpamac-aur
:: a instalação de pacman (7.0.0.r3.g7736133-1) quebra a dependência "pacman<6.2" necessária por libpamac-aur
If you are handy with AUR utilities from terminal, seeing you used yay (there is also paru, yaourt/ix, and a new tool called aura which is easier to use), then i don't see any use for pamac-aur gui manager anymore...
Had the same error. I removed libpamac and all was good to go again.
As mentioned, I'll either grab something from the AUR (the arch way) or will use paru (not often enough to know if removing libpamac has any adverse affect).
It's just safer (overall and generically speaking) not to use the AUR.
Anything in AUR that depends on a library will need to be manually rebuilt if said library gets a major version update like pacman just did. It's just how dynamic linking works on linux.
So, I managed to solve the problem by removing pamac-aur and rebuilding yay from source.
Yeah, this is the typical Linux experience where updating one package breaks another!
Anyway, you can properly fix this issue by git cloning and then recompiling yay. You can use the following set of commands:
sudo pacman -S --needed git base-devel && git clone https://aur.archlinux.org/yay.git && cd yay && makepkg -si
Rant: You know, problems like this always remind me of this video of Linus Torvalds talking at DebConf 14:
https://youtu.be/Pzl1B7nB9Kc?si=koXAEisdaNBPPehc