Fedora 38 to 39 upgrade package librpmio.so.9 vs. librpmio.so.10?

,

I’m hitting a problem with F38 to f39 upgrade on one of my systems.

:  12:08:59   worthy  ~
: [1] root $ dnf system-upgrade download --releasever=39
Before you continue ensure that your system is fully upgraded by running "dnf --refresh upgrade". Do you want to continue [y/N]: y
Copr repo for tools owned by barryascott                                                                                                                                5.2 kB/s | 1.5 kB     00:00
Copr repo for tools-testing owned by barryascott                                                                                                                         10 kB/s | 1.5 kB     00:00
Fedora 39 - x86_64                                                                                                                                                       28 kB/s |  16 kB     00:00
Fedora 39 openh264 (From Cisco) - x86_64                                                                                                                                7.8 kB/s | 989  B     00:00
Fedora Modular 39 - x86_64                                                                                                                                               35 kB/s |  16 kB     00:00
Fedora 39 - x86_64 - Updates                                                                                                                                             40 kB/s |  16 kB     00:00
Fedora Modular 39 - x86_64 - Updates                                                                                                                                     40 kB/s |  16 kB     00:00
RPM Fusion for Fedora 39 - Free                                                                                                                                          18 kB/s | 6.2 kB     00:00
RPM Fusion for Fedora 39 - Free - Updates                                                                                                                                54 kB/s | 6.3 kB     00:00
RPM Fusion for Fedora 39 - Nonfree                                                                                                                                       22 kB/s | 6.5 kB     00:00
RPM Fusion for Fedora 39 - Nonfree - Updates                                                                                                                             56 kB/s | 6.4 kB     00:00
No match for group package "grub2-efi-x64-cdboot"
...
No match for group package "thai-scalable-tlwgtypo-fonts"
Error:
 Problem: The operation would result in removing the following protected packages: shim-ia32, shim-x64
(try to add '--allowerasing' to command line to replace conflicting packages or '--skip-broken' to skip uninstallable packages)

wants to remove the shim that cannot be good…

Adding --allowerasing gets more information

: [1] root $ dnf system-upgrade download --releasever=39 --allowerasing
Before you continue ensure that your system is fully upgraded by running "dnf --refresh upgrade". Do you want to continue [y/N]: y
Copr repo for tools owned by barryascott                                                                                                                                9.0 kB/s | 1.5 kB     00:00
Copr repo for tools-testing owned by barryascott                                                                                                                        9.9 kB/s | 1.5 kB     00:00
Fedora 39 - x86_64                                                                                                                                                       70 kB/s |  16 kB     00:00
Fedora 39 openh264 (From Cisco) - x86_64                                                                                                                                6.7 kB/s | 989  B     00:00
Fedora Modular 39 - x86_64                                                                                                                                               96 kB/s |  16 kB     00:00
Fedora 39 - x86_64 - Updates                                                                                                                                            100 kB/s |  16 kB     00:00
Fedora Modular 39 - x86_64 - Updates                                                                                                                                    124 kB/s |  16 kB     00:00
RPM Fusion for Fedora 39 - Free                                                                                                                                          20 kB/s | 6.2 kB     00:00
RPM Fusion for Fedora 39 - Free - Updates                                                                                                                                21 kB/s | 6.3 kB     00:00
RPM Fusion for Fedora 39 - Nonfree                                                                                                                                       21 kB/s | 6.5 kB     00:00
RPM Fusion for Fedora 39 - Nonfree - Updates                                                                                                                             57 kB/s | 6.4 kB     00:00
No match for group package "grub2-efi-ia32"
No match for group package "grub2-efi-ia32-cdboot"
No match for group package "grub2-tools"
...
No match for group package "iwl5000-firmware"
Error:
 Problem 1: package grub2-tools-1:2.06-42.fc36.x86_64 from @System requires librpmio.so.9()(64bit), but none of the providers can be installed
  - rpm-libs-4.18.1-3.fc38.x86_64 from @System  does not belong to a distupgrade repository
  - problem with installed package grub2-tools-1:2.06-42.fc36.x86_64
 Problem 2: package grub2-tools-1:2.06-42.fc36.x86_64 from @System requires librpmio.so.9()(64bit), but none of the providers can be installed
  - package rpm-libs-4.18.1-3.fc38.x86_64 from @System requires rpm = 4.18.1-3.fc38, but none of the providers can be installed
  - package grub2-efi-ia32-1:2.06-42.fc36.x86_64 from @System requires grub2-tools = 1:2.06-42.fc36, but none of the providers can be installed
  - rpm-4.18.1-3.fc38.x86_64 from @System  does not belong to a distupgrade repository
  - problem with installed package grub2-efi-ia32-1:2.06-42.fc36.x86_64
 Problem 3: problem with installed package dnf-4.18.0-2.fc38.noarch
  - package dnf-4.18.0-2.fc39.noarch from fedora requires python3-dnf = 4.18.0-2.fc39, but none of the providers can be installed
  - package dnf-4.18.0-2.fc39.noarch from fedora-modular requires python3-dnf = 4.18.0-2.fc39, but none of the providers can be installed
  - package dnf-4.18.0-2.fc39.noarch from updates-modular requires python3-dnf = 4.18.0-2.fc39, but none of the providers can be installed
  - package python3-dnf-4.18.0-2.fc39.noarch from updates-modular requires python3-rpm >= 4.14.0, but none of the providers can be installed
  - package python3-dnf-4.18.0-2.fc39.noarch from fedora-modular requires python3-rpm >= 4.14.0, but none of the providers can be installed
  - package python3-dnf-4.18.0-2.fc39.noarch from fedora requires python3-rpm >= 4.14.0, but none of the providers can be installed
  - package python3-rpm-4.19.0-1.fc39.x86_64 from fedora requires librpmio.so.10()(64bit), but none of the providers can be installed
  - package python3-rpm-4.19.0-1.fc39.x86_64 from fedora requires librpm.so.10()(64bit), but none of the providers can be installed
  - package python3-rpm-4.19.0-1.fc39.x86_64 from fedora requires rpm-libs(x86-64) = 4.19.0-1.fc39, but none of the providers can be installed
  - package python3-rpm-4.19.0-1.fc39.x86_64 from fedora-modular requires librpmio.so.10()(64bit), but none of the providers can be installed
  - package python3-rpm-4.19.0-1.fc39.x86_64 from fedora-modular requires librpm.so.10()(64bit), but none of the providers can be installed
  - package python3-rpm-4.19.0-1.fc39.x86_64 from fedora-modular requires rpm-libs(x86-64) = 4.19.0-1.fc39, but none of the providers can be installed
  - package python3-rpm-4.19.0-1.fc39.x86_64 from updates-modular requires librpmio.so.10()(64bit), but none of the providers can be installed
  - package python3-rpm-4.19.0-1.fc39.x86_64 from updates-modular requires librpm.so.10()(64bit), but none of the providers can be installed
  - package python3-rpm-4.19.0-1.fc39.x86_64 from updates-modular requires rpm-libs(x86-64) = 4.19.0-1.fc39, but none of the providers can be installed
  - cannot install both rpm-libs-4.19.0-1.fc39.x86_64 from fedora and rpm-libs-4.18.1-3.fc38.x86_64 from @System
  - cannot install both rpm-libs-4.19.0-1.fc39.x86_64 from fedora-modular and rpm-libs-4.18.1-3.fc38.x86_64 from @System
  - cannot install both rpm-libs-4.19.0-1.fc39.x86_64 from updates-modular and rpm-libs-4.18.1-3.fc38.x86_64 from @System
  - package grub2-tools-1:2.06-42.fc36.x86_64 from @System requires librpmio.so.9()(64bit), but none of the providers can be installed
  - package grub2-efi-x64-1:2.06-42.fc36.x86_64 from @System requires grub2-tools = 1:2.06-42.fc36, but none of the providers can be installed
  - python3-rpm-4.18.1-3.fc38.x86_64 from @System  does not belong to a distupgrade repository
  - dnf-4.18.0-2.fc38.noarch from @System  does not belong to a distupgrade repository
  - problem with installed package grub2-efi-x64-1:2.06-42.fc36.x86_64
(try to add '--skip-broken' to skip uninstallable packages)

Modular is mention so let’s get rid of modular…

: [1] root $

:  12:13:54   worthy  ~
: [1] root $ dnf system-upgrade download --releasever=39 --allowerasing --disablerepo=*modular*
Before you continue ensure that your system is fully upgraded by running "dnf --refresh upgrade". Do you want to continue [y/N]: y
Copr repo for tools owned by barryascott                                                                                                                                8.3 kB/s | 1.5 kB     00:00
Copr repo for tools-testing owned by barryascott                                                                                                                         11 kB/s | 1.5 kB     00:00
Fedora 39 - x86_64                                                                                                                                                       98 kB/s |  16 kB     00:00
Fedora 39 openh264 (From Cisco) - x86_64                                                                                                                                4.9 kB/s | 989  B     00:00
Fedora 39 - x86_64 - Updates                                                                                                                                            110 kB/s |  16 kB     00:00
RPM Fusion for Fedora 39 - Free                                                                                                                                          47 kB/s | 6.2 kB     00:00
RPM Fusion for Fedora 39 - Free - Updates                                                                                                                                21 kB/s | 6.3 kB     00:00
RPM Fusion for Fedora 39 - Nonfree                                                                                                                                       20 kB/s | 6.5 kB     00:00
RPM Fusion for Fedora 39 - Nonfree - Updates                                                                                                                             21 kB/s | 6.4 kB     00:00
No match for group package "grub2-efi-ia32"
...
No match for group package "iwl6000-firmware"
Error:
 Problem 1: package grub2-tools-1:2.06-42.fc36.x86_64 from @System requires librpmio.so.9()(64bit), but none of the providers can be installed
  - rpm-libs-4.18.1-3.fc38.x86_64 from @System  does not belong to a distupgrade repository
  - problem with installed package grub2-tools-1:2.06-42.fc36.x86_64
 Problem 2: package grub2-tools-1:2.06-42.fc36.x86_64 from @System requires librpmio.so.9()(64bit), but none of the providers can be installed
  - package rpm-libs-4.18.1-3.fc38.x86_64 from @System requires rpm = 4.18.1-3.fc38, but none of the providers can be installed
  - package grub2-efi-ia32-1:2.06-42.fc36.x86_64 from @System requires grub2-tools = 1:2.06-42.fc36, but none of the providers can be installed
  - rpm-4.18.1-3.fc38.x86_64 from @System  does not belong to a distupgrade repository
  - problem with installed package grub2-efi-ia32-1:2.06-42.fc36.x86_64
 Problem 3: package python3-rpm-4.19.0-1.fc39.x86_64 from fedora requires librpmio.so.10()(64bit), but none of the providers can be installed
  - package python3-rpm-4.19.0-1.fc39.x86_64 from fedora requires librpm.so.10()(64bit), but none of the providers can be installed
  - package python3-rpm-4.19.0-1.fc39.x86_64 from fedora requires rpm-libs(x86-64) = 4.19.0-1.fc39, but none of the providers can be installed
  - package python3-dnf-4.18.0-2.fc39.noarch from fedora requires python3-rpm >= 4.14.0, but none of the providers can be installed
  - cannot install both rpm-libs-4.19.0-1.fc39.x86_64 from fedora and rpm-libs-4.18.1-3.fc38.x86_64 from @System
  - package dnf-4.18.0-2.fc39.noarch from fedora requires python3-dnf = 4.18.0-2.fc39, but none of the providers can be installed
  - package grub2-tools-1:2.06-42.fc36.x86_64 from @System requires librpmio.so.9()(64bit), but none of the providers can be installed
  - problem with installed package dnf-4.18.0-2.fc38.noarch
  - package grub2-efi-x64-1:2.06-42.fc36.x86_64 from @System requires grub2-tools = 1:2.06-42.fc36, but none of the providers can be installed
  - python3-rpm-4.18.1-3.fc38.x86_64 from @System  does not belong to a distupgrade repository
  - dnf-4.18.0-2.fc38.noarch from @System  does not belong to a distupgrade repository
  - problem with installed package grub2-efi-x64-1:2.06-42.fc36.x86_64
(try to add '--skip-broken' to skip uninstallable packages)

Adding --skip-broken does not improve matters.

Its trying to use librpmio.so.9 and librpmio.so.10 that is not going to work.

What can I try to make the upgrade happy?

You still have unsolved updates. Before doing system-upgrade try to fix this.
As an example, iwl6000-firmware not exist as it was in F36.

Also take care of that grub2-efi-ia32-1:2.06-42.fc36.x86_64 before upgrading. There we also had a change.

Aha! Thanks for the clues!

I had added an exclude=gbub2-efi* in /etc/dnf/dnf.conf
I vaguely recall that a grub2 issue a long time ago that this was a fix for.
Having removed that exclude the grub2-wfi code updated and system-upgrade is happy to download.

Where is the iwl6000-firmware suggestion coming from?
Is that for WiFi? If so I do not use Wifi on this system.

Just keep in mind that if you use Bluetooth that you might need a working driver when your wifi chip is sharing hardware.
Yes IWL are the intel drivers for wireless devices.

Search, and you shall find: run dnf -C provides iwl6000-firmware

Last metadata expiration check: 9:25:12 ago on Thu 09 Nov 2023 05:52:40 CET.
iwlwifi-dvm-firmware-20230919-1.fc39.noarch : DVM Firmware for Intel(R) Wireless WiFi adapters
Repo        : fedora
Matched from:
Provide    : iwl6000-firmware = 20230919-1.fc39

I was wonder what the debug thinking was that lead to suggesting iwl6000-firmware.
Knowing which RPM it comes from was not my question.

Anyway the solution was nothing to do firmware as its was me doing the exclude=grub2-efi-*.

As mentioned above, this groups not exist anymore. Now it just exists 3 Packages like:

iwlegacy-firmware.noarch                  20231030-1.fc39                @System
iwlwifi-dvm-firmware.noarch               20231030-1.fc39                @System
iwlwifi-mvm-firmware.noarch               20231030-1.fc39                @System

I think the kernel is selecting the correct driver if the hardware is detected correctly.

sudo dnf info iwlwifi-dvm-firmware

Description  : This package contains the firmware required by the iwlwifi driver
             : for Linux built with DVM firmware support (CONFIG_IWLDVM=y/m)

With inxi -Fzxx you could have a look if your hardware shares WiFi with Bluetooth.

Aha! Now I understand why you think it may be an issue.

FYI I elided about 30 lines of “No group…” messages in the dnf output abd took them all for noise.