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/22.214.171.124/147.fc37/noarch/iwl7260-firmware-126.96.36.199-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/188.8.131.52/147.fc37/noarch/iwl7260-firmware-184.108.40.206-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?