Pamac update fails, while pacman succeeds

I found a solution (no clue why I did not find that yesterday :face_with_raised_eyebrow::sweat_smile:)

I used pamac update --force-refresh which installed some AUR packages instead of the official ones, so I think using pamac update --force-refresh --no-aur would be better (untested).