Hi @alan5420,
After some looking around, it seems like a possible cause is an orphaned package. No, I don’t know how or why. Remove all orphans with:
pamac remove --orphans
Don’t know if it will, but I hope it helps!
Edit:
If it’s still faulty, I don’t know what else. But someone might, so please provide the required information afterwards.