Cant update system because of dependency (package-query)

Hello,
first sorry for my english because im from germany.
I have the problem that i cant update my system.
It says:

:: Synchronisiere Paketdatenbanken...
 maboxlinux             10,1 KiB   595 KiB/s 00:00 [######################] 100%
 core                  168,6 KiB  2,89 MiB/s 00:00 [######################] 100%
 extra                1923,4 KiB  7,03 MiB/s 00:00 [######################] 100%
 community               6,6 MiB  6,76 MiB/s 00:01 [######################] 100%
 multilib              177,4 KiB  7,53 MiB/s 00:00 [######################] 100%
:: Starte vollstƤndige Systemaktualisierung...
:: pamac-common durch extra/libpamac ersetzen? [J/n] j
Lƶse AbhƤngigkeiten auf...
Suche nach in Konflikt stehenden Paketen...
Fehler: Konnte den Vorgang nicht vorbereiten (Kann AbhƤngigkeiten nicht erfĆ¼llen)
:: Installation von pacman (6.0.0-1) verletzt AbhƤngigkeit 'pacman<5.3', benƶtigt von package-query

i try to translate it in english:

:: Synchronize package databases ...
 maboxlinux 10.1 KiB 595 KiB / s 00:00 [######################] 100%
 core 168.6 KiB 2.89 MiB / s 00:00 [######################] 100%
 extra 1923.4 KiB 7.03 MiB / s 00:00 [######################] 100%
 community 6.6 MiB 6.76 MiB / s 00:01 [######################] 100%
 multilib 177.4 KiB 7.53 MiB / s 00:00 [######################] 100%
:: Start full system update ...
:: Replace pamac-common with extra / libpamac? [Y / n] y
Resolve dependencies ...
Finding Conflicting Packages ...
Error: could not prepare the process (cannot meet dependencies)
:: Installation of pacman (6.0.0-1) violates dependency 'pacman <5.3', required by package-query

i cant find a solution since days.

no matter if i chose yes or no it dont work

please, can somebody help me?

best wishes

Hi @Chekenda,
Please remove package-query first:

yay -R package-query

Then try to update system:

yay
2 Likes

@napcok thank you so much, now it works !! :grinning: