adoptium / adoptium/adoptium-support
Problem installing Temurin JDK RPM package on SuSE SLES 12 together with Tomcat
- Dominant language
- No language data
- Stars
- 59
- Forks
- 13
- PR merge metrics
- No merged PRs in 30d
Description
### Please provide a brief summary of the bug
I'm trying to install temurin-8-jdk (temurin-8-jdk-8.0.345.0.0.1-1.x86_64) on a SLES 12 System where Tomcat (tomcat-9.0.36-3.87.1.noarch) with it's dependencies:
- java-1_8_0-openjdk
- java-1_8_0-openjdk-headless
is already installed from SLES repositories.
The latest version of tomcat server that is packaged by SuSE conflicts with java-openjdk-headless provided by temurin-8-jdk.
```
# zypper install temurin-8-jdk
Loading repository data...
Reading installed packages...
Resolving package dependencies...
Problem: tomcat-9.0.36-3.87.1.noarch conflicts with java-openjdk-headless >= 9 provided by temurin-8-jdk-8.0.345.0.0.1-1.x86_64
Solution 1: Following actions will be done:
downgrade of tomcat-9.0.36-3.87.1.noarch to tomcat-9.0.36-3.64.1.noarch
downgrade of tomcat-lib-9.0.36-3.87.1.noarch to tomcat-lib-9.0.36-3.64.1.noarch
downgrade of tomcat-el-3_0-api-9.0.36-3.87.1.noarch to tomcat-el-3_0-api-9.0.36-3.64.1.noarch
downgrade of tomcat-servlet-4_0-api-9.0.36-3.87.1.noarch to tomcat-servlet-4_0-api-9.0.36-3.64.1.noarch
downgrade of tomcat-jsp-2_3-api-9.0.36-3.87.1.noarch to tomcat-jsp-2_3-api-9.0.36-3.64.1.noarch
Solution 2: do not install temurin-8-jdk-8.0.345.0.0.1-1.x86_64
```
The same result happens when i try to install temurin-11-jdk or temurin-17-jdk.
Currently there is also installed adoptopenjdk-8-hotspot-8u292_b10-3.x86_64 that shoud be replaced by temurin-8-jdk.
### Please provide steps to reproduce where possible
_No response_
### Expected Results
Solve dependency conflicts between SLES and temurin packages.
temurin jdk should be installed together with tomcat server coming from SLES.
### Actual Results
see brief summary
### What Java Version are you using?
openjdk version "1.8.0_345" OpenJDK Runtime Environment (IcedTea 3.24.0) (build 1.8.0_345-b01 suse-27.78.1-x86_64) OpenJDK 64-Bit Server VM (build 25.345-b01, mixed mode)
### What is your operating system and platform?
SLES 12 SP5
### How did you install Java?
RPMs from repositories provided by SuSE, Adopt, Adoptium(temurin)
### Did it work before?
_No response_
### Did you test with other Java versions?
```shell
See brief summary
```
### Relevant log output
_No response_
Contributor guide
Research direction
Start by reproducing the reported zypper install on SLES 12 SP5 with the listed Tomcat and Java packages, checking the dependency metadata for temurin-8-jdk, temurin-11-jdk, and temurin-17-jdk. Compare the SLES Tomcat requirements with the Temurin RPM provides/conflicts; done means a Temurin JDK can be installed alongside the SLES Tomcat package without an unintended downgrade or dependency conflict.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- java, linux
- Domain
- devops, operating-systems
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 25/100