Whenever I try to run pacman -S and yay I get an error saying Database already registered. I did not have this issues before I followed this guide https://wiki.artixlinux.org/Main/Repositories (https://wiki.artixlinux.org/Main/Repositories).
Hello,
Can you show us the contents of /etc/pacman.conf :
cat /etc/pacman.conf
Removed yay and started using trizen instead. Now it works