During the “pacman-pamac episode” I’ve been trying to rebuild pamac following all the advice and instructions all over the forum. I have stripped every last trace of pamac and libalpm and archlinux-appsteam-data from my system and tried to rebuild from scratch, with no results.
The problem seems to be that archlinux-appstream-data-pamac will not build. I searched for archlinux-appstream-data (regular one) on my sytem and it is not there either, and will not build. The terminal tell me that the packages (like community icons etc) already exist in filesystem. The result is "errors occurred, no packages were upgraded. I can only get back so far in a terminal so I cannot see what is happening.
Thanks! I followed the link to @jonathon 's post and went from there follwing my understanding of it. pamac-aur-git is now installed along with the other stuff, phew!
Thanks @anon63071375 , I followed the next post and found a solution. You were correct about cache cleaning but thankfully I was then able to clean only the offending part of the cache instead of the whole thing