Uploaded image for project: 'RHEL'
  1. RHEL
  2. RHEL-32759

missing PES event to remove shim-ia32 when upgrading to RHEL9

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Undefined Undefined
    • None
    • rhel-8.9.0
    • shim
    • sst_desktop_firmware_bootloaders
    • ssg_desktop
    • 2
    • False
    • Hide

      None

      Show
      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

      1. dnf install shim-ia32 shim-x64
      2. dnf install leapp leapp-upgrade-el8toel9
      3. leapp preupgrade
      4. 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)

            bootloader-eng-team bootloader -eng-team
            egolov@redhat.com Evgeni Golov
            bootloader -eng-team bootloader -eng-team
            Release Test Team Release Test Team
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated: