linux-firmware >= 20250613.12fe085f-5 upgrade requires manual intervention

3 min

language: ja bn en es hi pt ru zh-cn zh-tw

Hello, I'm incompetent.
When I ran pacman -Syu, I got an error.

:: Proceed with installation? [Y/n] 
(240/240) checking keys in keyring                  [--------------------------] 100%
(240/240) checking package integrity                [--------------------------] 100%
(240/240) loading package files                     [--------------------------] 100%
(240/240) checking for file conflicts               [--------------------------] 100%
error: failed to commit transaction (conflicting files)
linux-firmware-nvidia: /usr/lib/firmware/nvidia/ad103 exists in filesystem
linux-firmware-nvidia: /usr/lib/firmware/nvidia/ad104 exists in filesystem
linux-firmware-nvidia: /usr/lib/firmware/nvidia/ad106 exists in filesystem
linux-firmware-nvidia: /usr/lib/firmware/nvidia/ad107 exists in filesystem
Errors occurred, no packages were upgraded.

It seems a conflict has occurred.
When I asked ChatGPT, it suggested running sudo pacman -Syu --ignore=linux-firmware-nvidia, but this is not a permanent solution, and it also suggested deleting the target directory /usr/lib/firmware/nvidia/ad*, but manually modifying pacman managed files is dangerous...

So, I did some research and found the following:

Arch Linux - News: linux-firmware >= 20250613.12fe085f-5 upgrade requires manual intervention

In 20250613.12fe085f-5, the firmware was split into multiple vendor-focused packages. linux-firmware has become an empty package that depends on the default firmware set.

So, I executed it as described above:

sudo pacman -Rdd linux-firmware
sudo pacman -Syu linux-firmware

It worked.

Related Posts