View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0018246 | CentOS-7 | java | public | 2021-07-14 16:00 | 2021-07-15 13:55 |
Reporter | atarallo | Assigned To | |||
Priority | high | Severity | major | Reproducibility | always |
Status | closed | Resolution | won't fix | ||
Platform | x86_64 | OS | 7 | OS Version | 7.9.2009 |
Product Version | 7.9.2009 | ||||
Summary | 0018246: OpenJDK 11 not listed on yum provides | ||||
Description | When 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 Reproduce | yum clean all yum provides java | ||||
Additional Information | This same test done on RHEL 7.7 works as expected, retiriving all versions of java. | ||||
Tags | No tags attached. | ||||
abrt_hash | |||||
URL | |||||
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. | |
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 | |
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. | |
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@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 |
|
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). | |
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 |