It’s a known problem, possibly linked to the way pamac
accesses the AUR. 
The general (and best) advice is to use the command line for updating, and to update your system packages before your AUR packages… 
sudo pacman-mirrors -f && sudo pacman -Syu && yay -Syu
1 Like