-
Bug
-
Resolution: Won't Do
-
Undefined
-
None
-
rhel-8.8.0
-
None
-
None
-
rhel-sst-pt-python-ruby-nodejs
-
ssg_core_services
-
None
-
False
-
-
None
-
None
-
None
-
None
-
If docs needed, set a value
-
-
Unspecified
-
None
Description of problem:
package ant pulls older java via dependencies, even though newer
java is already installed
Version-Release number of selected component (if applicable):
ant-1.10.5-1.module+el8+2438+c99a8a1e
How reproducible:
always
Steps to Reproduce:
1. install a rhel8.8GA
2. dnf -y install java-17-openjdk.x86_64
3. dny install ant
Actual results:
Tries to pull in older java:
[..]
Installing:
ant noarch 1.10.5-1.module+el8+2438+c99a8a1e rhel-8.8-AppStream 193 k
Installing dependencies:
ant-lib noarch 1.10.5-1.module+el8+2438+c99a8a1e rhel-8.8-AppStream 2.0 M
java-1.8.0-openjdk x86_64 1:1.8.0.362.b09-2.el8_7 rhel-8.8-AppStream 544 k
java-1.8.0-openjdk-devel x86_64 1:1.8.0.362.b09-2.el8_7 rhel-8.8-AppStream 9.8 M
java-1.8.0-openjdk-headless x86_64 1:1.8.0.362.b09-2.el8_7 rhel-8.8-AppStream 34 M
javapackages-tools noarch 5.3.0-1.module+el8+2447+6f56d9a6 rhel-8.8-AppStream 44 k
Expected results:
Should use installed java-17
Additional info:
- bz2173874 reports a similar issue for tomcat
- the rhel8.9 nightly still shows the issue for 'ant'