No one can help you if you give no info, we cannot see your output or what you are doing. There was zero need to reinstall in this situation, nor has it any to do with a virtual machine, just check what owns a conflicting file as was asked.
But to get these conflicts you are not using pacman properly, so you will get the same situation if you do not alter.
Again though, DO NOT post acting like we can see your output, always post full logs and cli output.