View Issue Details

IDProjectCategoryView StatusLast Update
0018246CentOS-7javapublic2021-07-15 13:55
Reporteratarallo Assigned To 
PriorityhighSeveritymajorReproducibilityalways
Status closedResolutionwon't fix 
Platformx86_64OS7OS Version7.9.2009
Product Version7.9.2009 
Summary0018246: OpenJDK 11 not listed on yum provides
DescriptionWhen I run 'yum provides java' it only returns me OpenJDK packages for java 7 or 8. If I run "yum provides '*bin/java' " or " yum install java-11-openjdk " it's aware that the openjdk-packages exists
Steps To Reproduceyum clean all
yum provides java
Additional InformationThis same test done on RHEL 7.7 works as expected, retiriving all versions of java.
TagsNo tags attached.
abrt_hash
URL

Activities

ManuelWolfshant

ManuelWolfshant

2021-07-15 02:55

manager   ~0038534

CentOS is a rebuild of the sources used to create RHEL. We do not modify anything except to remove branding and logos. You will need to submit your request to Redhat via bugzilla.redhat.com and if/when RH accepts it and incorporates it into RHEL and releases a patched version, then CentOS will pick it up and rebuild it. However keep in mind that RHEL 7 is in maintenance mode and the only changes that RH accepts to introduce are those related to significant bugs or security related.
atarallo

atarallo

2021-07-15 12:47

reporter   ~0038536

This bug is relevant to Centos. On RHEL 7.7 it's working as intended. We'll be glad to help to figure out what's wrong
ManuelWolfshant

ManuelWolfshant

2021-07-15 13:11

manager   ~0038539

CentOS only supports the latest version of each RHEL minor release. If the packages java-11-openjdk*-11.0.11.0.9-1.el7_9.x86_64.rpm from RHEL 7.9 have different provides than those distributed by CentOS, we will certainly try to fix.
TrevorH

TrevorH

2021-07-15 13:32

manager   ~0038540

They do not. On RHEL 7.9 running yum provides 'java' shows 2 java-11-openjdk* packages, one i686, one x86_64 and neither are current. They appear to be special RH 'early access' packages, at least based on the package names where I assume that .ea. means that.

1:java-11-openjdk-11.0.ea.28-7.el7.i686 : OpenJDK Runtime Environment 11
Repo : rhel-7-server-rpms
Matched from:
Provides : java = 1:11

1:java-11-openjdk-11.0.ea.28-7.el7.x86_64 : OpenJDK Runtime Environment 11
Repo : rhel-7-server-rpms
Matched from:
Provides : java = 1:11

The current packages (the ones that CentOS has rebuilt) do not provide 'java':

[root@rhel7 ~]# repoquery --provides java-11-openjdk.x86_64
java-11 = 1:11.0.11.0.9-1.el7_9
java-11-openjdk = 1:11.0.11.0.9-1.el7_9
java-11-openjdk(x86-64) = 1:11.0.11.0.9-1.el7_9
jre-11 = 1:11.0.11.0.9-1.el7_9
jre-11-openjdk = 1:11.0.11.0.9-1.el7_9
libjawt.so()(64bit)
tru

tru

2021-07-15 13:54

administrator   ~0038541

[tru@elitebook840g3 ~]$ repoquery --provides java-11-openjdk.x86_64
java-11 = 1:11.0.11.0.9-1.el7_9
java-11-openjdk = 1:11.0.11.0.9-1.el7_9
java-11-openjdk(x86-64) = 1:11.0.11.0.9-1.el7_9
jre-11 = 1:11.0.11.0.9-1.el7_9
jre-11-openjdk = 1:11.0.11.0.9-1.el7_9
libjawt.so()(64bit)
[tru@elitebook840g3 ~]$ rpm -q java-11-openjdk.x86_64
java-11-openjdk-11.0.11.0.9-1.el7_9.x86_64

from my c7 laptop

`yum provides java` is different than `yum provides java-11` as expected
TrevorH

TrevorH

2021-07-15 13:55

manager   ~0038542

So, since only the .ea. (presumably Early Access) java-11-openjdk package from 2018 provides 'java' in RHEL 7.9 and none of the other 15 or 16 versions since that one do so, this is working as designed. I believe RH deliberately removed the 'java' provide since java 11 has some incompatibilities from previous versions that mean it is not always a drop-in replacement. On RHEL 7.9, yum provides 'java' returns about a billion java-1.[78].0-openjdk packages, all of which provide 'java' and only one java-11-openjdk package does (and it's effectively a pre-release).

Issue History

Date Modified Username Field Change
2021-07-14 16:00 atarallo New Issue
2021-07-15 02:55 ManuelWolfshant Note Added: 0038534
2021-07-15 12:47 atarallo Note Added: 0038536
2021-07-15 13:11 ManuelWolfshant Note Added: 0038539
2021-07-15 13:32 TrevorH Note Added: 0038540
2021-07-15 13:54 tru Note Added: 0038541
2021-07-15 13:55 TrevorH Status new => closed
2021-07-15 13:55 TrevorH Resolution open => won't fix
2021-07-15 13:55 TrevorH Note Added: 0038542