Yum update on Stream 9 fails with alsa-sof-firmware-2024 conflict

I used the command “sudo yum update” to later check for the availability of libfdt-devel used by qemu and ended with an update failure due to alsa-sof-firmware-2024.

The reported error is this:

Error: Transaction test error:
  file /usr/lib/firmware/intel/avs/da7219-tplg.bin.xz from install of linux-firmware-20240716-145.el9.noarch conflicts with file from package alsa-sof-firmware-2024.03-5.el9.noarch
  file /usr/lib/firmware/intel/avs/dmic-tplg.bin.xz from install of linux-firmware-20240716-145.el9.noarch conflicts with file from package alsa-sof-firmware-2024.03-5.el9.noarch
  file /usr/lib/firmware/intel/avs/hda-generic-1ep-tplg.bin.xz from install of linux-firmware-20240716-145.el9.noarch conflicts with file from package alsa-sof-firmware-2024.03-5.el9.noarch
  file /usr/lib/firmware/intel/avs/hda-generic-tplg.bin.xz from install of linux-firmware-20240716-145.el9.noarch conflicts with file from package alsa-sof-firmware-2024.03-5.el9.noarch
  file /usr/lib/firmware/intel/avs/max98357a-tplg.bin.xz from install of linux-firmware-20240716-145.el9.noarch conflicts with file from package alsa-sof-firmware-2024.03-5.el9.noarch
  file /usr/lib/firmware/intel/avs/max98373-tplg.bin.xz from install of linux-firmware-20240716-145.el9.noarch conflicts with file from package alsa-sof-firmware-2024.03-5.el9.noarch
  file /usr/lib/firmware/intel/avs/max98927-tplg.bin.xz from install of linux-firmware-20240716-145.el9.noarch conflicts with file from package alsa-sof-firmware-2024.03-5.el9.noarch
  file /usr/lib/firmware/intel/avs/nau8825-tplg.bin.xz from install of linux-firmware-20240716-145.el9.noarch conflicts with file from package alsa-sof-firmware-2024.03-5.el9.noarch
  file /usr/lib/firmware/intel/avs/rt274-tplg.bin.xz from install of linux-firmware-20240716-145.el9.noarch conflicts with file from package alsa-sof-firmware-2024.03-5.el9.noarch
  file /usr/lib/firmware/intel/avs/rt286-tplg.bin.xz from install of linux-firmware-20240716-145.el9.noarch conflicts with file from package alsa-sof-firmware-2024.03-5.el9.noarch
  file /usr/lib/firmware/intel/avs/rt298-tplg.bin.xz from install of linux-firmware-20240716-145.el9.noarch conflicts with file from package alsa-sof-firmware-2024.03-5.el9.noarch
  file /usr/lib/firmware/intel/avs/rt5514-tplg.bin.xz from install of linux-firmware-20240716-145.el9.noarch conflicts with file from package alsa-sof-firmware-2024.03-5.el9.noarch
  file /usr/lib/firmware/intel/avs/rt5663-tplg.bin.xz from install of linux-firmware-20240716-145.el9.noarch conflicts with file from package alsa-sof-firmware-2024.03-5.el9.noarch
  file /usr/lib/firmware/intel/avs/ssm4567-tplg.bin.xz from install of linux-firmware-20240716-145.el9.noarch conflicts with file from package alsa-sof-firmware-2024.03-5.el9.noarch

So far I have tried to do ‘sudo yum --refresh update’ and ‘sudo yum --allowerase update’ and neither solves it.

I am running on a Beelink with an N100 processor and use CentOS because it was the first Linux I tried that recognized the Bluetooth device in this little cube.

Any idea how to get around this and get the system up to date?

Were you able to resolve this?

I ran into the same issue today when running ‘sudo dnf update’ (except the Alsa-sof and Linux-firmware packages were on on opposite sides of the “and” in the error message)

I have a Dell Inspiron laptop with AMD Ryzen 7 5700U processor and CentOS Stream 9

Unsure why I’m getting Intel errors when I have a AMD chip

@flashm I was not able to resolve the issue yet but I did manage to get my library installed using dnf and not yum.

The culprit is the package called linux-firmware. In Centos stream 9, I can exclude linux-firmware from the installation by issuing:
sudo yum clean all
sudo yum -x linux-firmware update -y
This trick let me finish the installation minus linux-firmware. I think it should work on Fedora as well.

1 Like

@atang it partially helps. The command installs all updates but the linux-firmware which is good. It also leaves the linux-firmware to be updated on the next update which may be an issue again.
I think it should be resolved so that it is a more permanent solution. I do appreciate being able to update most though :slight_smile:

1 Like

I have the same issue installing CentOS Stream 9 from scratch in a KVM virtual machine using their DVD ISO from 29th July 2024 (CentOS-Stream-9-20240729.0-x86_64-dvd1.iso). The “Server with GUI” software group installs, but the installation fails and quits with the “Workstation” group.

Presumably a temporary repository issue, but with bad timing for the ISO builds.

I’ve traced the problem due to these common files:

./usr/lib/firmware/intel/avs/da7219-tplg.bin.xz
./usr/lib/firmware/intel/avs/dmic-tplg.bin.xz
./usr/lib/firmware/intel/avs/hda-generic-1ep-tplg.bin.xz
./usr/lib/firmware/intel/avs/max98357a-tplg.bin.xz
./usr/lib/firmware/intel/avs/max98373-tplg.bin.xz
./usr/lib/firmware/intel/avs/max98927-tplg.bin.xz
./usr/lib/firmware/intel/avs/nau8825-tplg.bin.xz
./usr/lib/firmware/intel/avs/rt274-tplg.bin.xz
./usr/lib/firmware/intel/avs/rt286-tplg.bin.xz
./usr/lib/firmware/intel/avs/rt298-tplg.bin.xz
./usr/lib/firmware/intel/avs/rt5514-tplg.bin.xz
./usr/lib/firmware/intel/avs/rt5663-tplg.bin.xz
./usr/lib/firmware/intel/avs/ssm4567-tplg.bin.xz

The fix was already merged: Remove AVS files (moved to linux-firmware) (f62c4c7b) · Commits · Red Hat / centos-stream / rpms / alsa-sof-firmware · GitLab

We just have to wait for these packages to be in the production repos, as they are already in composes.

alsa-sof-firmware-2024.03-6 has the bug fixed, and I tested it myself on AlmaLinux 9 (with Stream’s linux-firmware too, and it did cause a conflict with release 5).

TL;DR: A change was halfway merged.

@charles2 Any idea when updating automatically will again be possible?

Probably 3 months if everything goes wrong. I’d suggest just installing that RPM I linked (it’s officially from CentOS, and signed by them), and then if release 7 comes out or a newer version, that’ll get installed. This I think has been done for legal reasons.

1 Like

The rpm did fix the update problem. It now ran “yum update” with no firmware issues

I just remove alsa-sof-firmware and linux-firmware was installed fine. If you don’t need the sound card API in the linux kernel, you probably don’t need alsa-sof-firmware. Do:
yum remove alsa-sof-firmware

It’s fixed! Checked the repos.