Migrate2rocky9.sh error on OL9

Hello,
Not finding a resolution to this issue, so thought I would try here.

Attempting to migrate from Oracle Linux 9.5 to Rocky. When running migrate2rocky9.sh I am getting the errors below. Is there a resolution to this? -TIA

Running transaction check
Transaction check succeeded.
Running transaction test
The downloaded packages were saved in cache until the next successful transaction.
You can remove cached packages by executing 'dnf clean packages'.
Error: Transaction test error:
  file /usr/lib64/ossl-modules/fips.so from install of openssl-libs-1:3.2.2-6.el9_5.1.x86_64 conflicts with file from package openssl-fips-provider-so-3.0.7-6.0.1.el9_5.x86_64
  file /usr/lib/firmware/iwlwifi-Qu-b0-hr-b0-77.ucode.xz from install of iwl7260-firmware-1:25.30.13.0-146.4.el9_5.noarch conflicts with file from package iwlax2xx-firmware-999:20250203-999.38.el9.noarch
  file /usr/lib/firmware/iwlwifi-Qu-b0-jf-b0-77.ucode.xz from install of iwl7260-firmware-1:25.30.13.0-146.4.el9_5.noarch conflicts with file from package iwlax2xx-firmware-999:20250203-999.38.el9.noarch
  file /usr/lib/firmware/iwlwifi-Qu-c0-hr-b0-77.ucode.xz from install of iwl7260-firmware-1:25.30.13.0-146.4.el9_5.noarch conflicts with file from package iwlax2xx-firmware-999:20250203-999.38.el9.noarch
  file /usr/lib/firmware/iwlwifi-Qu-c0-jf-b0-77.ucode.xz from install of iwl7260-firmware-1:25.30.13.0-146.4.el9_5.noarch conflicts with file from package iwlax2xx-firmware-999:20250203-999.38.el9.noarch
  file /usr/lib/firmware/iwlwifi-QuZ-a0-hr-b0-77.ucode.xz from install of iwl7260-firmware-1:25.30.13.0-146.4.el9_5.noarch conflicts with file from package iwlax2xx-firmware-999:20250203-999.38.el9.noarch
  file /usr/lib/firmware/iwlwifi-QuZ-a0-jf-b0-77.ucode.xz from install of iwl7260-firmware-1:25.30.13.0-146.4.el9_5.noarch conflicts with file from package iwlax2xx-firmware-999:20250203-999.38.el9.noarch
  file /usr/lib/firmware/iwlwifi-cc-a0-77.ucode.xz from install of iwl7260-firmware-1:25.30.13.0-146.4.el9_5.noarch conflicts with file from package iwlax2xx-firmware-999:20250203-999.38.el9.noarch
  file /usr/lib/firmware/iwlwifi-gl-c0-fm-c0.pnvm.xz from install of iwl7260-firmware-1:25.30.13.0-146.4.el9_5.noarch conflicts with file from package iwlax2xx-firmware-999:20250203-999.38.el9.noarch
  file /usr/lib/firmware/iwlwifi-ma-b0-gf-a0-89.ucode.xz from install of iwl7260-firmware-1:25.30.13.0-146.4.el9_5.noarch conflicts with file from package iwlax2xx-firmware-999:20250203-999.38.el9.noarch
  file /usr/lib/firmware/iwlwifi-ma-b0-gf-a0.pnvm.xz from install of iwl7260-firmware-1:25.30.13.0-146.4.el9_5.noarch conflicts with file from package iwlax2xx-firmware-999:20250203-999.38.el9.noarch
  file /usr/lib/firmware/iwlwifi-ma-b0-gf4-a0-89.ucode.xz from install of iwl7260-firmware-1:25.30.13.0-146.4.el9_5.noarch conflicts with file from package iwlax2xx-firmware-999:20250203-999.38.el9.noarch
  file /usr/lib/firmware/iwlwifi-ma-b0-gf4-a0.pnvm.xz from install of iwl7260-firmware-1:25.30.13.0-146.4.el9_5.noarch conflicts with file from package iwlax2xx-firmware-999:20250203-999.38.el9.noarch
  file /usr/lib/firmware/iwlwifi-ma-b0-hr-b0-89.ucode.xz from install of iwl7260-firmware-1:25.30.13.0-146.4.el9_5.noarch conflicts with file from package iwlax2xx-firmware-999:20250203-999.38.el9.noarch
  file /usr/lib/firmware/iwlwifi-so-a0-gf-a0-89.ucode.xz from install of iwl7260-firmware-1:25.30.13.0-146.4.el9_5.noarch conflicts with file from package iwlax2xx-firmware-999:20250203-999.38.el9.noarch
  file /usr/lib/firmware/iwlwifi-so-a0-gf-a0.pnvm.xz from install of iwl7260-firmware-1:25.30.13.0-146.4.el9_5.noarch conflicts with file from package iwlax2xx-firmware-999:20250203-999.38.el9.noarch
  file /usr/lib/firmware/iwlwifi-so-a0-gf4-a0-89.ucode.xz from install of iwl7260-firmware-1:25.30.13.0-146.4.el9_5.noarch conflicts with file from package iwlax2xx-firmware-999:20250203-999.38.el9.noarch
  file /usr/lib/firmware/iwlwifi-so-a0-gf4-a0.pnvm.xz from install of iwl7260-firmware-1:25.30.13.0-146.4.el9_5.noarch conflicts with file from package iwlax2xx-firmware-999:20250203-999.38.el9.noarch
  file /usr/lib/firmware/iwlwifi-so-a0-hr-b0-89.ucode.xz from install of iwl7260-firmware-1:25.30.13.0-146.4.el9_5.noarch conflicts with file from package iwlax2xx-firmware-999:20250203-999.38.el9.noarch
  file /usr/lib/firmware/iwlwifi-ty-a0-gf-a0-89.ucode.xz from install of iwl7260-firmware-1:25.30.13.0-146.4.el9_5.noarch conflicts with file from package iwlax2xx-firmware-999:20250203-999.38.el9.noarch
  file /usr/lib/firmware/iwlwifi-ty-a0-gf-a0.pnvm.xz from install of iwl7260-firmware-1:25.30.13.0-146.4.el9_5.noarch conflicts with file from package iwlax2xx-firmware-999:20250203-999.38.el9.noarch


Error during distro-sync.

An error occurred while we were attempting to convert your system to Rocky Linux. Your system may be unstable. Script will now exit to prevent possible damage.

Bump. Anyone experienced this particular error with Migrate2rocky9.sh ?

Thank you.

This patched script should resolve the openssl-fips-provider-so issue. As for the firmware packages, I’m unsure. Perhaps removing the packages first may help. But it appears that oracle is doing something nasty with the firmware packages.

I would definitely remove the iwl*-firmware packages, if I had no Intel WiFi adapters in use.


How does Oracle describe their package?

dnf info iwlax2xx-firmware

Thank you for the patch. This did resolve the openssl-fips-provider-so issue for me.

Yes, I did remove the iwlax2xx-firmware.

For the benefit of others, removing the unneeded firmware in addition to the patch allowed the migrate script to work.
I did receive this error when the migrate script completed.

Running grub2-mkconfig -o /boot/efi/EFI/rocky/grub.cfg' will overwrite the GRUB wrapper. Please run grub2-mkconfig -o /boot/grub2/grub.cfg’ instead to update grub.cfg.
GRUB configuration file was not updated.

Error updating the grub config.

An error occurred while we were attempting to convert your system to Rocky Linux. Your system may be unstable. Script will now exit to prevent possible damage.

A log of this installation can be found at /var/log/migrate2rocky.log

Invalid boot entries for Oracle Linux were left in grub. I was able to remove them with grubby and make the Rocky kernel default.

1 Like