-
Bug
-
Resolution: Done
-
Undefined
-
None
-
rhel-8.9.0
-
None
-
None
-
rhel-sst-desktop-firmware-bootloaders
-
ssg_display
-
2
-
False
-
-
None
-
None
-
None
-
None
-
None
What were you trying to do that didn't work?
A leapp upgrade from RHEL8(.9) to RHEL9(.3) while shim-ia32 and shim-x64 are both installed on the system
Please provide the package NVR for which bug is seen:
shim-ia32-15.6-1.el8.x86_64
How reproducible:
100%
Steps to reproduce
- dnf install shim-ia32 shim-x64
- dnf install leapp leapp-upgrade-el8toel9
- leapp preupgrade
- leapp upgrade
Expected results
Leapp is able to upgrade to RHEL9
Actual results
============================================================ ERRORS ============================================================ 2024-04-15 07:41:13.114674 [ERROR] Actor: dnf_package_download Message: DNF execution failed with non zero exit code. … Error: Transaction test error: file /boot/efi/EFI/redhat/shim.efi from install of shim-x64-15.6-1.el9.x86_64 conflicts with file from package shim-ia32-15.6-1.el8.x86_64
Additional information
[root@rhel8 ~]# rpm -q shim-ia32 shim-ia32-15.6-1.el8.x86_64 [root@rhel8 ~]# rpm -ql shim-ia32 /boot/efi/EFI/BOOT/BOOTIA32.EFI /boot/efi/EFI/BOOT/fbia32.efi /boot/efi/EFI/redhat/BOOTIA32.CSV /boot/efi/EFI/redhat/mmia32.efi /boot/efi/EFI/redhat/shim.efi /boot/efi/EFI/redhat/shimia32-redhat.efi /boot/efi/EFI/redhat/shimia32.efi [root@rhel8 ~]# rpm -q shim-x64 shim-x64-15.6-1.el8.x86_64 [root@rhel8 ~]# rpm -ql shim-x64 /boot/efi/EFI/BOOT/BOOTX64.EFI /boot/efi/EFI/BOOT/fbx64.efi /boot/efi/EFI/redhat/BOOTX64.CSV /boot/efi/EFI/redhat/mmx64.efi /boot/efi/EFI/redhat/shimx64-redhat.efi /boot/efi/EFI/redhat/shimx64.efi
I am not sure if the correct solution is to remove shim-ia32 or replace it with shim-x64 (I think remove is more correct, given that x64 only works on systems with 64-bit UEFI and 32-bit one is not supported in RHEL9 anymore)