When I was downgrading linux-firmware, conflicting files was owned by amd-ucode and downgrade was unsuccessful.
Package (1) Old Version New Version Net Change
linux-firmware 20250508.788aadc8-2 20231110.74158e7a-1 -76.50 MiB
Total Installed Size: 204.38 MiB
Net Upgrade Size: -76.50 MiB
:: Proceed with installation? [Y/n]
(1/1) checking keys in keyring [----------------------------------------------------] 100%
(1/1) checking package integrity [----------------------------------------------------] 100%
(1/1) loading package files [----------------------------------------------------] 100%
(1/1) checking for file conflicts [----------------------------------------------------] 100%
error: failed to commit transaction (conflicting files)
linux-firmware: /usr/lib/firmware/amd-ucode/README.zst exists in filesystem (owned by amd-ucode)
linux-firmware: /usr/lib/firmware/amd-ucode/microcode_amd.bin exists in filesystem (owned by amd-ucode)
linux-firmware: /usr/lib/firmware/amd-ucode/microcode_amd_fam15h.bin exists in filesystem (owned by amd-ucode)
linux-firmware: /usr/lib/firmware/amd-ucode/microcode_amd_fam16h.bin exists in filesystem (owned by amd-ucode)
linux-firmware: /usr/lib/firmware/amd-ucode/microcode_amd_fam17h.bin exists in filesystem (owned by amd-ucode)
linux-firmware: /usr/lib/firmware/amd-ucode/microcode_amd_fam19h.bin exists in filesystem (owned by amd-ucode)
Errors occurred, no packages were upgraded.
Then I temporarily removed amd-ucode and downgraded linux-firmware. Again while installing amd-ucode it shows error due to conflicting flies owned by linux-firmware.
Package (1) New Version Net Change
core/amd-ucode 20250508.788aadc8-2 0.29 MiB
Total Installed Size: 0.29 MiB
:: Proceed with installation? [Y/n]
(1/1) checking keys in keyring [--------------] 100%
(1/1) checking package integrity [--------------] 100%
(1/1) loading package files [--------------] 100%
(1/1) checking for file conflicts [--------------] 100%
error: failed to commit transaction (conflicting files)
amd-ucode: /usr/lib/firmware/amd-ucode/README.zst 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)
Errors occurred, no packages were upgraded.
Any solution ?
An Arch linux article says :
The problem is usually trivial to solve (although to be sure, you should try to find out how these files got there in the first place). A safe way is to first check if another package owns the file (
pacman -Qo /path/to/file
). If the file is owned by another package, file a bug report. If the file is not owned by another package, rename the file which “exists in filesystem” and re-issue the update command. If all goes well, the file may then be removed.