Bug 1622207 - java-11-openjdk installs java-1.8.0-openjdk-headless
Summary: java-11-openjdk installs java-1.8.0-openjdk-headless
Keywords:
Status: CLOSED DUPLICATE of bug 1500288
Alias: None
Product: Fedora
Classification: Fedora
Component: java-11-openjdk
Version: 28
Hardware: x86_64
OS: Linux
unspecified
low
Target Milestone: ---
Assignee: jiri vanek
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2018-08-24 17:42 UTC by Johannes Beck
Modified: 2018-09-17 08:05 UTC (History)
2 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2018-09-17 08:05:41 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

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 ***


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