RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.
Bug 1484042 - grub2 obsoleting itself
Summary: grub2 obsoleting itself
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Red Hat Enterprise Linux 7
Classification: Red Hat
Component: grub2
Version: 7.4
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: rc
: ---
Assignee: Peter Jones
QA Contact: Release Test Team
URL:
Whiteboard:
: 1457870 (view as bug list)
Depends On:
Blocks: 1392968
TreeView+ depends on / blocked
 
Reported: 2017-08-22 14:04 UTC by Peter Larsen
Modified: 2021-09-09 12:32 UTC (History)
13 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2019-06-11 20:15:48 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Bugzilla 1478569 0 urgent CLOSED grub2-tools-efi obsoletes grub2-tools which stops RHEL 7.3 and lower installations that have the optional repository ava... 2023-10-16 06:38:47 UTC

Internal Links: 1478569

Description Peter Larsen 2017-08-22 14:04:47 UTC
Description of problem:
Grub2 seems to be obsoleting itself. 

# rpm -q --obsoletes -p grub2-2.02-0.64.el7.x86_64.rpm 
grub2 <= 1:2.02-0.64.el7

The = seems to be wrong here. 

Version-Release number of selected component (if applicable):

7.4

How reproducible:
Every time.

Steps to Reproduce:
Not sure how the state ended up like this, but I am unable to (re)install grub because of this:

# yum reinstall grub2
Loaded plugins: langpacks, search-disabled-repos,
              : subscription-manager
Resolving Dependencies
--> Running transaction check
---> Package grub2.x86_64 1:2.02-0.64.el7 will be reinstalled
---> Package grub2.x86_64 1:2.02-0.64.el7 will be obsoleted
--> Finished Dependency Resolution

Dependencies Resolved

================================================================================
 Package     Arch         Version                Repository                Size
================================================================================
Installing:
 grub2       x86_64       1:2.02-0.64.el7        rhel-7-server-rpms        28 k
     replacing  grub2.x86_64 1:2.02-0.64.el7

Transaction Summary
================================================================================
Install  1 Package

Total download size: 28 k
Is this ok [y/d/N]: y
Downloading packages:
grub2-2.02-0.64.el7.x86_64.rpm                             |  28 kB   00:00     
Running transaction check
ERROR with transaction check vs depsolve:
grub2 <= 1:2.02-0.64.el7 is obsoleted by grub2-1:2.02-0.64.el7.x86_64
grub2 <= 1:2.02-0.64.el7 is obsoleted by (installed) grub2-1:2.02-0.64.el7.x86_64
 You could try running: rpm -Va --nofiles --nodigest
Your transaction was saved, rerun it with:
 yum load-transaction /tmp/yum_save_tx.2017-08-22.10-01.yD8PX4.yumtx


Actual results:
Failure in install (see above).

Expected results:
Grub easily reinstalled

Additional info:

Comment 2 Bill Gianopoulos 2017-08-29 21:14:56 UTC
The package is obsolete and should just be removed, however please be aware of bug 1305889 and bug 1486454.

Comment 3 xrobau 2017-10-26 23:00:40 UTC
This appears to be resolved with an unannounced update to release 0.65. 

===============================================================================================================================================================
 Package                                    Arch                      Version                                              Repository                     Size
===============================================================================================================================================================
Installing:
 grub2                                      x86_64                    1:2.02-0.65.el7.centos.2                             updates                        29 k
     replacing  grub2.x86_64 1:2.02-0.64.el7.centos
 grub2-tools                                x86_64                    1:2.02-0.65.el7.centos.2                             updates                       1.8 M
     replacing  grub2-tools.x86_64 1:2.02-0.64.el7.centos
     replacing  grub2-tools-efi.x86_64 1:2.02-0.64.el7.centos
 grub2-tools-extra                          x86_64                    1:2.02-0.65.el7.centos.2                             updates                       993 k
     replacing  grub2-tools.x86_64 1:2.02-0.64.el7.centos
 grub2-tools-minimal                        x86_64                    1:2.02-0.65.el7.centos.2                             updates                       170 k
     replacing  grub2-tools.x86_64 1:2.02-0.64.el7.centos
 kernel                                     x86_64                    3.10.0-693.5.2.el7                                   updates                        43 M
 kernel-devel                               x86_64                    3.10.0-693.5.2.el7                                   updates                        14 M

A 'yum check' no longer errors.

Comment 4 Chris Williams 2019-06-11 21:09:52 UTC
*** Bug 1457870 has been marked as a duplicate of this bug. ***


Note You need to log in before you can comment on or make changes to this bug.