Bug 1622207

Summary: java-11-openjdk installs java-1.8.0-openjdk-headless
Product: [Fedora] Fedora Reporter: Johannes Beck <mail>
Component: java-11-openjdkAssignee: jiri vanek <jvanek>
Status: CLOSED DUPLICATE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: low Docs Contact:
Priority: unspecified    
Version: 28CC: jvanek, sgehwolf
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2018-09-17 08:05:41 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Johannes Beck 2018-08-24 17:42:26 UTC
Description of problem:


Version-Release number of selected component (if applicable):
- javapackages-tools-5.0.0_14.fc28 
- java-11-openjdk-headless-11.0.ea.22-1.fc28.x86_64
- java-11-openjdk-devel-11.0.ea.22-1.fc28.x86_64
- java-1.8.0-openjdk-headless-1.8.0.181-7.b13.fc28.x86_64
- java-11-openjdk-11.0.ea.22-1.fc28.x86_64

How reproducible: Always


Steps to Reproduce:
1. dnf -y install java-11-openjdk-headless java-11-openjdk-devel

Actual results:
1. by dependency resolution javapackages-tools is required
2. by dependency resolution of javapackages-tools an install of java-1.8.0-openjdk-headless is performed

Expected results:
1. installs of openjdk in version x should not install other versions of openjdk 

Additional info: requires of javapackages-tools requires a java-1.8.0-openjdk-headless. This may require that each JDK version x requires its own avapackages-tools-java-x

rpm -qi javapackages-tools --requires
Name        : javapackages-tools
Version     : 5.0.0
Release     : 14.fc28
Architecture: noarch
Install Date: Fri Aug 24 19:15:23 2018
Group       : Unspecified
Size        : 71992
License     : BSD
Signature   : RSA/SHA256, Wed May 16 11:48:13 2018, Key ID e08e7e629db62fb1
Source RPM  : javapackages-tools-5.0.0-14.fc28.src.rpm
Build Date  : Wed May 16 11:31:10 2018
Build Host  : buildhw-05.phx2.fedoraproject.org
Relocations : (not relocatable)
Packager    : Fedora Project
Vendor      : Fedora Project
URL         : https://github.com/fedora-java/javapackages
Bug URL     : https://bugz.fedoraproject.org/javapackages-tools
Summary     : Macros and scripts for Java packaging support
Description :
This package provides macros and scripts to support Java packaging.
config(javapackages-tools) = 5.0.0-14.fc28
coreutils
findutils
java-1.8.0-openjdk-headless
rpmlib(CompressedFileNames) <= 3.0.4-1
rpmlib(FileDigests) <= 4.6.0-1
rpmlib(PayloadFilesHavePrefix) <= 4.0-1
rpmlib(PayloadIsXz) <= 5.2-1
which

Comment 1 Severin Gehwolf 2018-09-17 08:05:41 UTC
Thanks for the report. We are aware of the issue. It's been fixed in F29+

I'm doubtful the fix will get into F28, though. You can try convince javapackages-tools maintainers on the bug this duplicates.

*** This bug has been marked as a duplicate of bug 1500288 ***