Trouble Downgrading linux-firmware on Silverblue / Kinoite

What’s the proper way to downgrade a package using download RPM on ostree variants?

I’m currently on F37 Kinoite, a firmware bug in linux-firmware-20230404-149 is forcing me to downgrade to linux-firmware-20230210-147.fc37 But I’m having trouble doing that. When I try the usual
rpm-ostree override replace "https://koji.fedoraproject.org/koji/buildinfo?buildID=2149541" I get errors downloading a subpackage for iwl firmware so the command fails (I don’t even need that firmware package). I tried a few times to make sure it’s not transient, but no dice, that url is gone for good.

Downloading https://kojipkgs.fedoraproject.org/packages/linux-firmware/20230210/147.fc37/noarch/iwlax2xx-firmware-20230210-147.fc37.noarch.rpm...done
Downloading https://kojipkgs.fedoraproject.org/packages/linux-firmware/20230210/147.fc37/noarch/intel-gpu-firmware-20230210-147.fc37.noarch.rpm...done
Downloading https://kojipkgs.fedoraproject.org/packages/linux-firmware/20230210/147.fc37/noarch/amd-gpu-firmware-20230210-147.fc37.noarch.rpm...done
Downloading https://kojipkgs.fedoraproject.org/packages/linux-firmware/20230210/147.fc37/noarch/linux-firmware-20230210-147.fc37.noarch.rpm...done
Downloading https://kojipkgs.fedoraproject.org/packages/linux-firmware/25.30.13.0/147.fc37/noarch/iwl7260-firmware-25.30.13.0-147.fc37.noarch.rpm...failed
error: Preparing D-Bus arguments: Handling argument https://koji.fedoraproject.org/koji/buildinfo?buildID=2149541: Failed to download RPMs: HTTP status client error (404 Not Found) for url (https://kojipkgs.fedoraproject.org/packages/linux-firmware/25.30.13.0/147.fc37/noarch/iwl7260-firmware-25.30.13.0-147.fc37.noarch.rpm) 

I then tried to download the rpm and install manually with
rpm-ostree install ./linux-firmware-20230210-147.fc37.noarch.rpm but it errored again:

error: Could not depsolve transaction; 1 problem detected:
 Problem: cannot install both linux-firmware-20230210-147.fc37.noarch and linux-firmware-20230404-149.fc37.noarch
  - conflicting requests

So let’s try removing the installed package:

rpm-ostree override remove linux-firmware
Removed:
  linux-firmware-20230404-149.fc37.noarch
Use "rpm-ostree override reset" to undo overrides

Rebooted, try installing again:

rpm-ostree install ./linux-firmware-20230210-147.fc37.noarch.rpm
error: Base packages not marked to be removed: linux-firmware

I don’t understand this error message, and at this point I don’t know what to try anymore. What’s the proper way to downgrade a package using download RPM on ostree variants?

Have you tried:

rpm-ostree override replace ./linux-firmware-20230210-147.fc37.noarch.rpm

?

no dice

rpm-ostree override replace ./linux-firmware-20230210-147.fc37.noarch.rpm                                                                                       took 14s408ms ✖1 at 18:57:16
Checking out tree d2644b9... done
Enabled rpm-md repositories: fedora-cisco-openh264 fedora-modular updates-modular updates fedora rpmfusion-free-updates rpmfusion-free updates-archive
Importing rpm-md... done
rpm-md repo 'fedora-cisco-openh264' (cached); generated: 2022-10-06T11:01:40Z solvables: 4
rpm-md repo 'fedora-modular' (cached); generated: 2022-11-05T07:58:03Z solvables: 1454
rpm-md repo 'updates-modular' (cached); generated: 2023-04-10T00:16:15Z solvables: 1464
rpm-md repo 'updates' (cached); generated: 2023-05-22T00:30:54Z solvables: 31113
rpm-md repo 'fedora' (cached); generated: 2022-11-05T08:04:38Z solvables: 66822
rpm-md repo 'rpmfusion-free-updates' (cached); generated: 2023-05-19T18:43:43Z solvables: 192
rpm-md repo 'rpmfusion-free' (cached); generated: 2022-11-11T16:54:42Z solvables: 496
rpm-md repo 'updates-archive' (cached); generated: 2023-05-22T01:02:18Z solvables: 43846
Resolving dependencies... done
error: Base packages not marked to be removed: linux-firmware