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 1861222 - java-1.8.0-openjdk conflicts with itself when installing multiple versions (using installonlypkgs) [rhel-7.9.z]
Summary: java-1.8.0-openjdk conflicts with itself when installing multiple versions (u...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Linux 7
Classification: Red Hat
Component: java-1.8.0-openjdk
Version: 7.9
Hardware: All
OS: All
unspecified
high
Target Milestone: rc
: ---
Assignee: OpenJDK QA
QA Contact: jiri vanek
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2020-07-28 05:58 UTC by Andrew John Hughes
Modified: 2020-09-29 21:18 UTC (History)
4 users (show)

Fixed In Version: java-1.8.0-openjdk-1.8.0.265.b01-1.el7_9
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2020-09-29 21:18:11 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHBA-2020:4071 0 None None None 2020-09-29 21:18:13 UTC

Description Andrew John Hughes 2020-07-28 05:58:35 UTC
This bug was initially created as a copy of Bug #1831665

I am copying this bug because: 

Being fixed with the 8u265 update in all RHEL 8 z-streams, so should include with RHEL 7.9 0day for consistency.

Description of problem:
Setting installonlypkgs for java-1.8.0 packages results in file conflicts. The steps are provided by our documentation linked in the additional info.

Version-Release number of selected component (if applicable):
- java-1.8.0-openjdk-headless-1:1.8.0.252.b09-2.el8_1.x86_64
- java-1.8.0-openjdk-headless-1:1.8.0.232.b09-2.el8_1.x86_64

How reproducible:
Everytime

Steps to Reproduce:
1. vim /etc/yum.conf
installonlypkgs=java-1.8.0-openjdk,java-1.8.0-openjdk-headless,java-1.8.0-openjdk-devel
2. # yum install java-1.8.0-openjdk*1.8.0.252.b09-2.el8_1.x86_64 java-1.8.0-openjdk*1.8.0.232.b09-2.el8_1.x86_64
3.

Actual results:
  file /usr/share/licenses/java-1.8.0-openjdk-headless/THIRD_PARTY_README from install of java-1.8.0-openjdk-headless-1:1.8.0.252.b09-2.el8_1.x86_64 conflicts with file from package java-1.8.0-openjdk-headless-1:1.8.0.232.b09-2.el8_1.x86_64
  file /usr/share/licenses/java-1.8.0-openjdk-devel/THIRD_PARTY_README from install of java-1.8.0-openjdk-devel-1:1.8.0.252.b09-2.el8_1.x86_64 conflicts with file from package java-1.8.0-openjdk-devel-1:1.8.0.232.b09-2.el8_1.x86_64


Expected results:
The packages should not provide conflicting files, or the files should be in the version specific directories.

Additional info:
https://access.redhat.com/documentation/en-us/red_hat_enterprise_linux/8/html-single/installing_updating_and_configuring_java_on_rhel_8/index#installing-multiple-minor-versions-of-openjdk-on-rhel_installing-java-on-rhel-8

Comment 6 jiri vanek 2020-07-30 13:18:12 UTC
eturnign back to java-qa

Comment 10 errata-xmlrpc 2020-09-29 21:18:11 UTC
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 (java-1.8.0-openjdk bug fix and enhancement update), 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/RHBA-2020:4071


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