Note: This bug is displayed in read-only format because
the product is no longer active in Red Hat Bugzilla.
Red Hat Satellite engineering is moving the tracking of its product development work on Satellite 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 "Satellite project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs will be migrated starting at the end of May. 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 "Satellite project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/SAT-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.
Description of problem:
If you try to `yum remove java-1.7.0-openjdk`, it will pull in katello and satellite as dependencies, even with java-1.8.0-openjdk installed
Version-Release number of selected component (if applicable):
Satellite 6.4.1
How reproducible:
100%
Steps to Reproduce:
1. # yum remove java-1.7.0-openjdk
2.
3.
Actual results:
[root@dev ~]# yum remove java-1.7.0-openjdk
Loaded plugins: product-id, search-disabled-repos, subscription-manager
Resolving Dependencies
--> Running transaction check
---> Package java-1.7.0-openjdk.x86_64 1:1.7.0.201-2.6.16.1.el7_6 will be erased
--> Processing Dependency: java-openjdk < 1:1.8.0.45 for package: katello-3.7.0-8.el7sat.noarch
--> Running transaction check
---> Package katello.noarch 0:3.7.0-8.el7sat will be erased
--> Processing Dependency: katello >= 3.7.0 for package: satellite-6.4.1-1.el7sat.noarch
--> Running transaction check
---> Package satellite.noarch 0:6.4.1-1.el7sat will be erased
--> Finished Dependency Resolution
Dependencies Resolved
=============================================================================================================================================================================================================================================
Package Arch Version Repository Size
=============================================================================================================================================================================================================================================
Removing:
java-1.7.0-openjdk x86_64 1:1.7.0.201-2.6.16.1.el7_6 @rhel-7-server-rpms 554 k
Removing for dependencies:
katello noarch 3.7.0-8.el7sat @rhel-7-server-satellite-6.4-rpms 0.0
satellite noarch 6.4.1-1.el7sat @rhel-7-server-satellite-6.4-rpms 0.0
Transaction Summary
=============================================================================================================================================================================================================================================
Remove 1 Package (+2 Dependent packages)
Installed size: 554 k
Is this ok [y/N]:
Expected results:
You should be able to yum remove the older 1.7.0 version
Additional info:
[root@dev ~]# rpm -q --requires katello
...
java-openjdk >= 1:1.7.0
java-openjdk < 1:1.8.0.45
VERIFIED.
@satellite-6.5.0-5.beta.el7sat.noarch
katello-3.10.0-0.6.rc1.el7sat.noarch
by the following manual steps:
1) Have a default SAT install and check installed javas
# rpm -qa *openjdk*
java-1.8.0-openjdk-1.8.0.191.b12-1.el7_6.x86_64
java-1.8.0-openjdk-headless-1.8.0.191.b12-1.el7_6.x86_64
>>> java-1.7.0 is no longer needlessly pulled in since candlepin uses 1.8.0 starting Satellite 6.4
2)
# rpm -q --requires katello | grep java
<empty>
>>> katello rpm no longer controls java dependencies as these are controlled by candlepin rpm itself
This bug was cloned and is still going to be included in the 6.4.3 release. It no longer has the sat-6.4.z+ flag and 6.4.3 Target Milestone Set which are now on the 6.4.z cloned bug. Please see the Clones field to track the progress of this bug in the 6.4.3 release.
This bug was cloned and is still going to be included in the 6.4.3 release. It no longer has the sat-6.4.z+ flag and 6.4.3 Target Milestone Set which are now on the 6.4.z cloned bug. Please see the Clones field to track the progress of this bug in the 6.4.3 release.
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.
For information on the advisory, and where to find the updated
files, follow the link below.
If the solution does not work for you, open a new bug report.
https://access.redhat.com/errata/RHSA-2019:1222