error: failed to commit transaction (conflicting files)
amd-ucode: /usr/lib/firmware/amd-ucode/README exists in filesystem (owned by linux-firmware)
amd-ucode: /usr/lib/firmware/amd-ucode/microcode_amd.bin exists in filesystem (owned by linux-firmware)
amd-ucode: /usr/lib/firmware/amd-ucode/microcode_amd_fam15h.bin exists in filesystem (owned by linux-firmware)
amd-ucode: /usr/lib/firmware/amd-ucode/microcode_amd_fam16h.bin exists in filesystem (owned by linux-firmware)
amd-ucode: /usr/lib/firmware/amd-ucode/microcode_amd_fam17h.bin exists in filesystem (owned by linux-firmware)
amd-ucode: /usr/lib/firmware/amd-ucode/microcode_amd_fam19h.bin exists in filesystem (owned by linux-firmware)
Search before posting in upper right corner
Then you have installed something outside the package manager …
Undo whatever you did … then rerun the sync.