Update your system fully: sudo pacman -Syu
Then try installing glib2-devel
If you have still the issue, please refer to: [FAQ] Package installation says FILENAME exists in filesystem; “Failed to commit transaction (conflicting files)”
Update your system fully: sudo pacman -Syu
Then try installing glib2-devel
If you have still the issue, please refer to: [FAQ] Package installation says FILENAME exists in filesystem; “Failed to commit transaction (conflicting files)”