I noticed you encountered similar problems in pamac with the some messages I also encountered. What I found helps to correct it was to use the option --force-refresh from a terminal window. This will update all files so be aware of this before running it:
sudo pamac update --force-refresh