View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0018319 | CentOS-8 | grub2 | public | 2021-10-04 11:12 | 2022-02-03 22:06 |
Reporter | invade | Assigned To | |||
Priority | normal | Severity | minor | Reproducibility | always |
Status | closed | Resolution | won't fix | ||
Product Version | 8.4.2105 | ||||
Summary | 0018319: grub2-efi | grub2-efi-modules wrong architecture | ||||
Description | Raising bug as recommended in this forum thread: grub2-efi | grub2-efi-modules wrong architecture Installing the grub2-efi & grub2-efi-modules packages appears to use the wrong sub packages. This is similar to what has been reported in: https://bugs.centos.org/view.php?id=17198 | ||||
Steps To Reproduce | dnf install grub2-efi grub2-efi-modules should install: grub2-efi-x64-modules grub2-efi-x64 on an x86_64 system, but installs: grub2-efi-aa64-modules grub2-efi-ia32 | ||||
Tags | No tags attached. | ||||
[root@rhel7 ~]# yum list grub\* Loaded plugins: product-id, search-disabled-repos, subscription-manager Installed Packages grub2.x86_64 1:2.02-0.87.el7_9.6 @rhel-7-server-rpms grub2-common.noarch 1:2.02-0.87.el7_9.6 @rhel-7-server-rpms grub2-pc.x86_64 1:2.02-0.87.el7_9.6 @rhel-7-server-rpms grub2-pc-modules.noarch 1:2.02-0.87.el7_9.6 @rhel-7-server-rpms grub2-tools.x86_64 1:2.02-0.87.el7_9.6 @rhel-7-server-rpms grub2-tools-extra.x86_64 1:2.02-0.87.el7_9.6 @rhel-7-server-rpms grub2-tools-minimal.x86_64 1:2.02-0.87.el7_9.6 @rhel-7-server-rpms grubby.x86_64 8.28-26.el7 @rhel-7-server-rpms Available Packages grub2-efi.x86_64 1:2.02-0.44.el7 rhel-7-server-rpms grub2-efi-ia32.x86_64 1:2.02-0.87.el7_9.6 rhel-7-server-rpms grub2-efi-ia32-modules.noarch 1:2.02-0.87.el7_9.6 rhel-7-server-rpms grub2-efi-modules.x86_64 1:2.02-0.44.el7 rhel-7-server-rpms grub2-efi-x64.x86_64 1:2.02-0.87.el7_9.6 rhel-7-server-rpms grub2-efi-x64-modules.noarch 1:2.02-0.87.el7_9.6 rhel-7-server-rpms [root@centos7 ~]# yum list grub\* Loaded plugins: priorities 189 packages excluded due to repository priority protections Installed Packages grub2.x86_64 1:2.02-0.87.el7.centos.6 @updates grub2-common.noarch 1:2.02-0.87.el7.centos.6 @updates grub2-pc.x86_64 1:2.02-0.87.el7.centos.6 @updates grub2-pc-modules.noarch 1:2.02-0.87.el7.centos.6 @updates grub2-tools.x86_64 1:2.02-0.87.el7.centos.6 @updates grub2-tools-extra.x86_64 1:2.02-0.87.el7.centos.6 @updates grub2-tools-minimal.x86_64 1:2.02-0.87.el7.centos.6 @updates grubby.x86_64 8.28-26.el7 @qa Available Packages grub-customizer.x86_64 5.0.8-1.el7 epel grub2-efi-aa64-modules.noarch 1:2.02-0.87.el7.centos.6 updates *grub2-efi-ia32.x86_64 1:2.02-0.87.el7.centos.6 updates grub2-efi-ia32-cdboot.x86_64 1:2.02-0.87.el7.centos.6 updates *grub2-efi-ia32-modules.noarch 1:2.02-0.87.el7.centos.6 updates *grub2-efi-x64.x86_64 1:2.02-0.87.el7.centos.6 updates grub2-efi-x64-cdboot.x86_64 1:2.02-0.87.el7.centos.6 updates *grub2-efi-x64-modules.noarch 1:2.02-0.87.el7.centos.6 updates grub2-i386-modules.noarch 1:2.02-0.87.el7.centos.6 updates grub2-ppc-modules.noarch 1:2.02-0.87.el7.centos.6 updates grub2-ppc64-modules.noarch 1:2.02-0.87.el7.centos.6 updates grub2-ppc64le-modules.noarch 1:2.02-0.87.el7.centos.6 updates So CentOS is shipping packages that are not in RHEL 7, namely grub2-efi-aa64-modules.noarch, grub2-i386-modules.noarch, grub2-ppc64-modules.noarch, grub2-efi-ia32-cdboot.x86_64, grub2-efi-x64-cdboot.x86_64 and grub2-ppc64le-modules.noarch. RHEL 7 has grub2-efi-modules.x86_64 which doesn't exist in CentOS. Now some of those may be due to CentOS having support for arches that RHEL doesn't support but I don't think they should be in the x86_64 repos. |
|
all the noarch packages go in all arches .. and yes , we have some arches not in rhel (aarch64 and power9, for example) | |
RHEL-7.9 GA tree: find -name grub2* | grep x86_64 | sort ./Client-optional/x86_64/os/Packages/grub2-efi-aa64-modules-2.02-0.87.el7.noarch.rpm ./Client-optional/x86_64/os/Packages/grub2-efi-ia32-cdboot-2.02-0.87.el7.x86_64.rpm ./Client-optional/x86_64/os/Packages/grub2-efi-x64-cdboot-2.02-0.87.el7.x86_64.rpm ./Client-optional/x86_64/os/Packages/grub2-ppc64le-modules-2.02-0.87.el7.noarch.rpm ./Client-optional/x86_64/os/Packages/grub2-ppc64-modules-2.02-0.87.el7.noarch.rpm ./Client-optional/x86_64/os/Packages/grub2-ppc-modules-2.02-0.87.el7.noarch.rpm ./Client/x86_64/os/Packages/grub2-2.02-0.87.el7.x86_64.rpm ./Client/x86_64/os/Packages/grub2-common-2.02-0.87.el7.noarch.rpm ./Client/x86_64/os/Packages/grub2-efi-ia32-2.02-0.87.el7.x86_64.rpm ./Client/x86_64/os/Packages/grub2-efi-ia32-modules-2.02-0.87.el7.noarch.rpm ./Client/x86_64/os/Packages/grub2-efi-x64-2.02-0.87.el7.x86_64.rpm ./Client/x86_64/os/Packages/grub2-efi-x64-modules-2.02-0.87.el7.noarch.rpm ./Client/x86_64/os/Packages/grub2-pc-2.02-0.87.el7.x86_64.rpm ./Client/x86_64/os/Packages/grub2-pc-modules-2.02-0.87.el7.noarch.rpm ./Client/x86_64/os/Packages/grub2-tools-2.02-0.87.el7.x86_64.rpm ./Client/x86_64/os/Packages/grub2-tools-extra-2.02-0.87.el7.x86_64.rpm ./Client/x86_64/os/Packages/grub2-tools-minimal-2.02-0.87.el7.x86_64.rpm ./ComputeNode-optional/x86_64/os/Packages/grub2-efi-aa64-modules-2.02-0.87.el7.noarch.rpm ./ComputeNode-optional/x86_64/os/Packages/grub2-efi-ia32-cdboot-2.02-0.87.el7.x86_64.rpm ./ComputeNode-optional/x86_64/os/Packages/grub2-efi-x64-cdboot-2.02-0.87.el7.x86_64.rpm ./ComputeNode-optional/x86_64/os/Packages/grub2-ppc64le-modules-2.02-0.87.el7.noarch.rpm ./ComputeNode-optional/x86_64/os/Packages/grub2-ppc64-modules-2.02-0.87.el7.noarch.rpm ./ComputeNode-optional/x86_64/os/Packages/grub2-ppc-modules-2.02-0.87.el7.noarch.rpm ./ComputeNode/x86_64/os/Packages/grub2-2.02-0.87.el7.x86_64.rpm ./ComputeNode/x86_64/os/Packages/grub2-common-2.02-0.87.el7.noarch.rpm ./ComputeNode/x86_64/os/Packages/grub2-efi-ia32-2.02-0.87.el7.x86_64.rpm ./ComputeNode/x86_64/os/Packages/grub2-efi-ia32-modules-2.02-0.87.el7.noarch.rpm ./ComputeNode/x86_64/os/Packages/grub2-efi-x64-2.02-0.87.el7.x86_64.rpm ./ComputeNode/x86_64/os/Packages/grub2-efi-x64-modules-2.02-0.87.el7.noarch.rpm ./ComputeNode/x86_64/os/Packages/grub2-pc-2.02-0.87.el7.x86_64.rpm ./ComputeNode/x86_64/os/Packages/grub2-pc-modules-2.02-0.87.el7.noarch.rpm ./ComputeNode/x86_64/os/Packages/grub2-tools-2.02-0.87.el7.x86_64.rpm ./ComputeNode/x86_64/os/Packages/grub2-tools-extra-2.02-0.87.el7.x86_64.rpm ./ComputeNode/x86_64/os/Packages/grub2-tools-minimal-2.02-0.87.el7.x86_64.rpm ./Server-optional/x86_64/os/Packages/grub2-efi-aa64-modules-2.02-0.87.el7.noarch.rpm ./Server-optional/x86_64/os/Packages/grub2-efi-ia32-cdboot-2.02-0.87.el7.x86_64.rpm ./Server-optional/x86_64/os/Packages/grub2-efi-x64-cdboot-2.02-0.87.el7.x86_64.rpm ./Server-optional/x86_64/os/Packages/grub2-ppc64le-modules-2.02-0.87.el7.noarch.rpm ./Server-optional/x86_64/os/Packages/grub2-ppc64-modules-2.02-0.87.el7.noarch.rpm ./Server-optional/x86_64/os/Packages/grub2-ppc-modules-2.02-0.87.el7.noarch.rpm ./Server/x86_64/os/Packages/grub2-2.02-0.87.el7.x86_64.rpm ./Server/x86_64/os/Packages/grub2-common-2.02-0.87.el7.noarch.rpm ./Server/x86_64/os/Packages/grub2-efi-ia32-2.02-0.87.el7.x86_64.rpm ./Server/x86_64/os/Packages/grub2-efi-ia32-modules-2.02-0.87.el7.noarch.rpm ./Server/x86_64/os/Packages/grub2-efi-x64-2.02-0.87.el7.x86_64.rpm ./Server/x86_64/os/Packages/grub2-efi-x64-modules-2.02-0.87.el7.noarch.rpm ./Server/x86_64/os/Packages/grub2-pc-2.02-0.87.el7.x86_64.rpm ./Server/x86_64/os/Packages/grub2-pc-modules-2.02-0.87.el7.noarch.rpm ./Server/x86_64/os/Packages/grub2-tools-2.02-0.87.el7.x86_64.rpm ./Server/x86_64/os/Packages/grub2-tools-extra-2.02-0.87.el7.x86_64.rpm ./Server/x86_64/os/Packages/grub2-tools-minimal-2.02-0.87.el7.x86_64.rpm ./Workstation-optional/x86_64/os/Packages/grub2-efi-aa64-modules-2.02-0.87.el7.noarch.rpm ./Workstation-optional/x86_64/os/Packages/grub2-efi-ia32-cdboot-2.02-0.87.el7.x86_64.rpm ./Workstation-optional/x86_64/os/Packages/grub2-efi-x64-cdboot-2.02-0.87.el7.x86_64.rpm ./Workstation-optional/x86_64/os/Packages/grub2-ppc64le-modules-2.02-0.87.el7.noarch.rpm ./Workstation-optional/x86_64/os/Packages/grub2-ppc64-modules-2.02-0.87.el7.noarch.rpm ./Workstation-optional/x86_64/os/Packages/grub2-ppc-modules-2.02-0.87.el7.noarch.rpm ./Workstation/x86_64/os/Packages/grub2-2.02-0.87.el7.x86_64.rpm ./Workstation/x86_64/os/Packages/grub2-common-2.02-0.87.el7.noarch.rpm ./Workstation/x86_64/os/Packages/grub2-efi-ia32-2.02-0.87.el7.x86_64.rpm ./Workstation/x86_64/os/Packages/grub2-efi-ia32-modules-2.02-0.87.el7.noarch.rpm ./Workstation/x86_64/os/Packages/grub2-efi-x64-2.02-0.87.el7.x86_64.rpm ./Workstation/x86_64/os/Packages/grub2-efi-x64-modules-2.02-0.87.el7.noarch.rpm ./Workstation/x86_64/os/Packages/grub2-pc-2.02-0.87.el7.x86_64.rpm ./Workstation/x86_64/os/Packages/grub2-pc-modules-2.02-0.87.el7.noarch.rpm ./Workstation/x86_64/os/Packages/grub2-tools-2.02-0.87.el7.x86_64.rpm ./Workstation/x86_64/os/Packages/grub2-tools-extra-2.02-0.87.el7.x86_64.rpm ./Workstation/x86_64/os/Packages/grub2-tools-minimal-2.02-0.87.el7.x86_64.rpm |
|
This bug seems to be for 8.4 .. not el7 :D | |
In CentOS-8.4.2105: dnf list grub2-efi grub2-efi-modules dnf --showduplicates list grub2-efi grub2-efi-modules Last metadata expiration check: 0:04:18 ago on Mon 04 Oct 2021 10:15:02 AM CDT. Error: No matching Packages to list |
|
[root@rhel8 ~]# yum list grub\* Updating Subscription Management repositories. Last metadata expiration check: 1:16:46 ago on Mon 04 Oct 2021 15:02:09 BST. Installed Packages grub2-common.noarch 1:2.02-99.el8_4.1 @rhel-8-for-x86_64-baseos-rpms grub2-pc.x86_64 1:2.02-99.el8_4.1 @rhel-8-for-x86_64-baseos-rpms grub2-pc-modules.noarch 1:2.02-99.el8_4.1 @rhel-8-for-x86_64-baseos-rpms grub2-tools.x86_64 1:2.02-99.el8_4.1 @rhel-8-for-x86_64-baseos-rpms grub2-tools-efi.x86_64 1:2.02-99.el8_4.1 @rhel-8-for-x86_64-baseos-rpms grub2-tools-extra.x86_64 1:2.02-99.el8_4.1 @rhel-8-for-x86_64-baseos-rpms grub2-tools-minimal.x86_64 1:2.02-99.el8_4.1 @rhel-8-for-x86_64-baseos-rpms grubby.x86_64 8.40-41.el8 @rhel-8-for-x86_64-baseos-rpms Available Packages grub2-efi-aa64-modules.noarch 1:2.02-99.el8_4.1 rhel-8-for-x86_64-baseos-rpms grub2-efi-ia32.x86_64 1:2.02-99.el8_4.1 rhel-8-for-x86_64-baseos-rpms grub2-efi-ia32-cdboot.x86_64 1:2.02-99.el8_4.1 rhel-8-for-x86_64-baseos-rpms grub2-efi-ia32-modules.noarch 1:2.02-99.el8_4.1 rhel-8-for-x86_64-baseos-rpms grub2-efi-x64.x86_64 1:2.02-99.el8_4.1 rhel-8-for-x86_64-baseos-rpms grub2-efi-x64-cdboot.x86_64 1:2.02-99.el8_4.1 rhel-8-for-x86_64-baseos-rpms grub2-efi-x64-modules.noarch 1:2.02-99.el8_4.1 rhel-8-for-x86_64-baseos-rpms grub2-ppc64le-modules.noarch 1:2.02-99.el8_4.1 rhel-8-for-x86_64-baseos-rpms |
|
BUT .. all of them do provide those requires. dnf provides grub2-efi grub2-efi-modules Last metadata expiration check: 0:11:09 ago on Mon 04 Oct 2021 10:15:02 AM CDT. grub2-efi-aa64-modules-1:2.02-99.el8.noarch : Modules used to build custom grub.efi images Repo : baseos Matched from: Provide : grub2-efi-modules = 1:2.02-99.el8 grub2-efi-aa64-modules-1:2.02-99.el8_4.1.noarch : Modules used to build custom grub.efi images Repo : baseos Matched from: Provide : grub2-efi-modules = 1:2.02-99.el8_4.1 grub2-efi-ia32-1:2.02-99.el8.x86_64 : GRUB for EFI systems. Repo : baseos Matched from: Provide : grub2-efi = 1:2.02-99.el8 grub2-efi-ia32-1:2.02-99.el8_4.1.x86_64 : GRUB for EFI systems. Repo : baseos Matched from: Provide : grub2-efi = 1:2.02-99.el8_4.1 grub2-efi-ia32-modules-1:2.02-99.el8.noarch : Modules used to build custom grub.efi images Repo : baseos Matched from: Provide : grub2-efi-modules = 1:2.02-99.el8 grub2-efi-ia32-modules-1:2.02-99.el8_4.1.noarch : Modules used to build custom grub.efi images Repo : baseos Matched from: Provide : grub2-efi-modules = 1:2.02-99.el8_4.1 grub2-efi-x64-1:2.02-99.el8.x86_64 : GRUB for EFI systems. Repo : baseos Matched from: Provide : grub2-efi = 1:2.02-99.el8 grub2-efi-x64-1:2.02-99.el8_4.1.x86_64 : GRUB for EFI systems. Repo : @System Matched from: Provide : grub2-efi = 1:2.02-99.el8_4.1 grub2-efi-x64-1:2.02-99.el8_4.1.x86_64 : GRUB for EFI systems. Repo : baseos Matched from: Provide : grub2-efi = 1:2.02-99.el8_4.1 grub2-efi-x64-modules-1:2.02-99.el8.noarch : Modules used to build custom grub.efi images Repo : baseos Matched from: Provide : grub2-efi-modules = 1:2.02-99.el8 grub2-efi-x64-modules-1:2.02-99.el8_4.1.noarch : Modules used to build custom grub.efi images Repo : baseos Matched from: Provide : grub2-efi-modules = 1:2.02-99.el8_4.1 == Same in RHEL |
|
why are you manually installing these after the initial install this should happen as part of the anaconda install where it picks the proper packages. |
|
We are converting our legacy BIOS systems to UEFI. | |
OK .. i checked with RHEL and we have the same provides. Your usage case is a corner case .. you will need to use the arch in the install. So instead of: dnf install grub2-efi grub2-efi-modules USE: dnf install grub2-efi-x64 grub2-efi-x64-modules When these are installed by anaconda, it figures out the arch as part of the install. |
|
CentOS Linux 8 ended its life on December 31, 2021 and, therefore, is no longer supported. | |
Date Modified | Username | Field | Change |
---|---|---|---|
2021-10-04 11:12 | invade | New Issue | |
2021-10-04 11:22 | TrevorH | Note Added: 0038645 | |
2021-10-04 14:51 | JohnnyHughes | Note Added: 0038646 | |
2021-10-04 15:10 | JohnnyHughes | Note Added: 0038647 | |
2021-10-04 15:12 | JohnnyHughes | Note Added: 0038648 | |
2021-10-04 15:18 | JohnnyHughes | Note Added: 0038649 | |
2021-10-04 15:18 | JohnnyHughes | Note Edited: 0038649 | |
2021-10-04 15:19 | TrevorH | Note Added: 0038650 | |
2021-10-04 15:19 | JohnnyHughes | Note Edited: 0038649 | |
2021-10-04 15:27 | JohnnyHughes | Note Added: 0038652 | |
2021-10-04 15:29 | JohnnyHughes | Note Added: 0038653 | |
2021-10-04 16:01 | invade | Note Added: 0038654 | |
2021-10-08 15:13 | JohnnyHughes | Note Added: 0038659 | |
2022-01-09 01:58 | toracat | Note Added: 0038801 | |
2022-02-03 22:06 | toracat | Status | new => closed |
2022-02-03 22:06 | toracat | Resolution | open => won't fix |