That’s an specific error and easier to try to find out what’s going on. There’s a post about it:
I’ll try to install pamac-flatpak later on a VM.