alsa-sof-firmware-2024.03-1.fc41 tried to replace a regular directory - /usr/lib/firmware/intel/sof-ace-tplg - with a symlink: https://src.fedoraproject.org/rpms/alsa-sof-firmware/c/42c8bff6d2d34af050a562b0daae2f4718c6835c?branch=rawhide this is no bueno, per https://docs.fedoraproject.org/en-US/packaging-guidelines/Directory_Replacement/ . rpm just can't do that very well. There is a hack, but it's especially ugly for a populated directory. It seems what happened here is upstream renamed the directory from "sof-ace-tplg" to "sof-ipc4-tplg" - right? But we want to preserve access under the old name too. The most pragmatic option may just be to keep the "old" name as the canonical one and have the symlink be the *new* name. But it may also be possible to use a lua pretrans script to rename the existing directory to the new name; I'm not entirely sure that would do the trick, but I think it might. I am going to request the update be untagged for now, though, so it doesn't make the next compose and we have a bit of time to decide the correct fix without having to try and rush it through. This breaks `dnf update` entirely if alsa-sof-firmware is installed, so it's pretty bad: 2024-04-02T18:55:50-0400 CRITICAL Transaction couldn't start: 2024-04-02T18:55:50-0400 CRITICAL file /usr/lib/firmware/intel/sof-ace-tplg from install of alsa-sof-firmware-2024.03-1.fc41.noarch conflicts with file from package alsa-sof-firmware-2023.1 2.1-1.fc41.noarch
Thank you for this analysis. PR trying to fix this issue: https://src.fedoraproject.org/rpms/alsa-sof-firmware/pull-request/1
Fixed in alsa-sof-firmware-2024.03-2.fc41. The upgrade works correctly now.
This comment was flagged a spam, view the edit history to see the original text if required.