I found a solution (no clue why I did not find that yesterday )
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).