Update error causes upgrade to fail, due to conflicting files ? 01 July 2025, 04:13:22 Update failed to complete :"# pacman -Syu:: Synchronizing package databases... system is up to date world is up to date galaxy is up to date lib32 is up to date extra is up to date multilib is up to date universe is up to date:: Starting full system upgrade...warning: rsync-openrc: local (20210505-2) is newer than world (20210502-1)warning: wxwidgets-common: local (3.3.0-1) is newer than world (3.2.8.1-2)warning: wxwidgets-gtk3: local (3.3.0-1) is newer than world (3.2.8.1-2)resolving dependencies...looking for conflicting packages...Packages (44) adwaita-fonts-49.0-2 at-spi2-core-2.56.3-1 colord-1.4.8-1 device-mapper-2.03.33-1.1 fontconfig-2:2.17.0-2 gssdp-1.6.4-1 libadwaita-1:1.7.5-1 libblockdev-3.3.1-1 libblockdev-crypto-3.3.1-1 libblockdev-fs-3.3.1-1 libblockdev-loop-3.3.1-1 libblockdev-mdraid-3.3.1-1 libblockdev-nvme-3.3.1-1 libblockdev-part-3.3.1-1 libblockdev-swap-3.3.1-1 libcolord-1.4.8-1 libeinfo-0.62.5-1 libffi-3.5.1-1 libgoa-3.54.4-1 libplist-2.7.0-1 libunwind-1.8.2-1 linux-firmware-20250627-1 linux-firmware-amdgpu-20250627-1 linux-firmware-atheros-20250627-1 linux-firmware-broadcom-20250627-1 linux-firmware-cirrus-20250627-1 linux-firmware-intel-20250627-1 linux-firmware-mediatek-20250627-1 linux-firmware-nvidia-20250627-1 linux-firmware-other-20250627-1 linux-firmware-radeon-20250627-1 linux-firmware-realtek-20250627-1 linux-firmware-whence-20250627-1 lvm2-2.03.33-1.1 mujs-1.3.7-1 netpbm-10.86.47-1 openrc-0.62.5-1 pango-1:1.56.4-1 sqlite-3.50.2-1 taglib-2.1.1-1 terminus-font-4.49.1-8 vte-common-0.80.3-1 vte3-0.80.3-1 xfsprogs-6.15.0-1Total Installed Size: 434.73 MiBNet Upgrade Size: 69.31 MiB:: Proceed with installation? [Y/n] Y(44/44) checking keys in keyring [######################] 100%(44/44) checking package integrity [######################] 100%(44/44) loading package files [######################] 100%(44/44) checking for file conflicts [######################] 100%error: failed to commit transaction (conflicting files)linux-firmware-nvidia: /usr/lib/firmware/nvidia/ad103 exists in filesystemlinux-firmware-nvidia: /usr/lib/firmware/nvidia/ad104 exists in filesystemlinux-firmware-nvidia: /usr/lib/firmware/nvidia/ad106 exists in filesystemlinux-firmware-nvidia: /usr/lib/firmware/nvidia/ad107 exists in filesystemErrors occurred, no packages were upgraded."Download worked normally, just that the upgrade itself terminates early due to conflicts, apparently.Thanks in advance,* Quote Selected
Re: Update error causes upgrade to fail, due to conflicting files ? Reply #1 – 01 July 2025, 04:52:56 It is saying these firmware files already exist and it refused to just overwrite them, which is usually a good thinglinux-firmware-nvidia: /usr/lib/firmware/nvidia/ad103 exists in filesystemlinux-firmware-nvidia: /usr/lib/firmware/nvidia/ad104 exists in filesystemlinux-firmware-nvidia: /usr/lib/firmware/nvidia/ad106 exists in filesystemlinux-firmware-nvidia: /usr/lib/firmware/nvidia/ad107 exists in filesystemDid you install them manually?You can override this with the overwrite switch on pacman. But you need to know what you are doing.Pacman does not recognize those file as being installed by the systemFrom man pacman --overwrite <glob> Bypass file conflict checks and overwrite conflicting files. If the package that is about to be installed contains files that are already installed and match glob, this option will cause all those files to be overwritten. Using --overwrite will not allow overwriting a directory with a file or installing packages with conflicting files and directories. Multiple patterns can be specified by separating them with a comma. May be specified multiple times. Patterns can be negated, such that files matching them will not be overwritten, by prefixing them with an exclamation mark. Subsequent matches will override previous ones. A leading literal exclamation mark or backslash needs to be escaped. Quote Selected
Re: Update error causes upgrade to fail, due to conflicting files ? Reply #2 – 01 July 2025, 05:11:12 From Arch news:linux-firmware >= 20250613.12fe085f-5 upgrade requires manual interventionQuoteWith 20250613.12fe085f-5, we split our firmware into several vendor-focused packages. linux-firmware is now an empty package depending on our default set of firmware.Unfortunately, this coincided with upstream reorganizing the symlink layout of the NVIDIA firmware, resulting in a situation that Pacman cannot handle. When attempting to upgrade from 20250508.788aadc8-2 or earlier, you will see the following errors:Code: [Select]linux-firmware-nvidia: /usr/lib/firmware/nvidia/ad103 exists in filesystemlinux-firmware-nvidia: /usr/lib/firmware/nvidia/ad104 exists in filesystemlinux-firmware-nvidia: /usr/lib/firmware/nvidia/ad106 exists in filesystemlinux-firmware-nvidia: /usr/lib/firmware/nvidia/ad107 exists in filesystemTo progress with the system upgrade, first remove linux-firmware, then reinstall it as part of the upgrade:Code: [Select]# pacman -Rdd linux-firmware# pacman -Syu linux-firmware Quote Selected 3 Likes
Re: Update error causes upgrade to fail, due to conflicting files ? Reply #3 – 01 July 2025, 10:46:22 Quote from: corysanin – on 01 July 2025, 05:11:12To progress with the system upgrade, first remove linux-firmware, then reinstall it as part of the upgrade:Thanks - that worked here. Quote Selected
Re: Update error causes upgrade to fail, due to conflicting files ? Reply #4 – 01 July 2025, 14:00:16 Quote from: corysanin – on 01 July 2025, 05:11:12From Arch news:linux-firmware >= 20250613.12fe085f-5 upgrade requires manual interventionQuoteWith 20250613.12fe085f-5, we split our firmware into several vendor-focused packages. linux-firmware is now an empty package depending on our default set of firmware.Unfortunately, this coincided with upstream reorganizing the symlink layout of the NVIDIA firmware, resulting in a situation that Pacman cannot handle. When attempting to upgrade from 20250508.788aadc8-2 or earlier, you will see the following errors:Code: [Select]linux-firmware-nvidia: /usr/lib/firmware/nvidia/ad103 exists in filesystemlinux-firmware-nvidia: /usr/lib/firmware/nvidia/ad104 exists in filesystemlinux-firmware-nvidia: /usr/lib/firmware/nvidia/ad106 exists in filesystemlinux-firmware-nvidia: /usr/lib/firmware/nvidia/ad107 exists in filesystemTo progress with the system upgrade, first remove linux-firmware, then reinstall it as part of the upgrade:Code: [Select]# pacman -Rdd linux-firmware# pacman -Syu linux-firmwareThis might be worthy of being made sticky, as we are likely to see it over and over. Quote Selected
Re: Update error causes upgrade to fail, due to conflicting files ? Reply #5 – 01 July 2025, 16:14:12 If I recall correctly, Artix expects its users to check Arch and Artix news on occasion. Can't remember who I heard that policy from. Personally I think it makes more sense to copy news to our site if and when it becomes relevant. Quote Selected 3 Likes
Re: Update error causes upgrade to fail, due to conflicting files ? Reply #6 – 01 July 2025, 17:01:25 Quote from: corysanin – on 01 July 2025, 16:14:12If I recall correctly, Artix expects its users to check Arch and Artix news on occasion. Can't remember who I heard that policy from. Personally I think it makes more sense to copy news to our site if and when it becomes relevant.Users are incredible naive and stupid. I am a perfect example. Quote Selected
Re: Update error causes upgrade to fail, due to conflicting files ? Reply #7 – 01 July 2025, 17:42:23 I hear ya. I don't post the news so it's not up to me. Quote Selected 1 Likes
Re: Update error causes upgrade to fail, due to conflicting files ? Reply #8 – 01 July 2025, 21:33:25 That fix worked.Thanks. Quote Selected