Open Preston4tw opened 5 years ago
So, the JEP 223 version numbering scheme does not work well with RPM/YUM. See http://blog.jasonantman.com/2014/07/how-yum-and-rpm-compare-versions/ for a description on how the versions are compared.
I suspect the problem can be addressed by adding a .0.0
, so 13.0.0+33
instead of 13+33
, to the version string when a minor and security version is omitted for the initial releases.
This should not happen again with 14 because I manually expanded the version to 14.0.0 before creating the packages. There is no proper fix in place, yet. I won‘t fix 13 except https://github.com/AdoptOpenJDK/TSC/issues/147 gets approved and we continue building it.
http://openjdk.java.net/jeps/322 is now the relevant JEP.
I'm installing AdoptOpenJDK 13 on to CentOS 7 from the provided RPM repo at adoptopenjdk.jfrog.io. It looks like the way the version numbers are set up on the package is causing an older version of the rpm to take precedence. Testing in a centos:7 container
Without specifying a version yum tries to install adoptopenjdk-13-hotspot 13+33-1 (13+33), but it looks like adoptopenjdk-13-hotspot 13.0.1+9-1 (13.0.1+9) is the later version.