java-1.8.0-openjdk Conflicts with itself when Installing Multiple Versions (using installonlypkgs)
Issue
- Setting
installonlypkgs
for java-1.8.0 packages inyum.conf
results in file conflicts. - Additional information: Installing multiple minor versions of OpenJDK on RHEL 8 using yum
- Example Error Output:
file /usr/share/licenses/java-1.8.0-openjdk-headless/THIRD_PARTY_README from install of java-1.8.0-openjdk-headless-1:1.8.0.252.b09-2.el8_1.x86_64 conflicts with file from package java-1.8.0-openjdk-headless-1:1.8.0.232.b09-2.el8_1.x86_64
file /usr/share/licenses/java-1.8.0-openjdk-devel/THIRD_PARTY_README from install of java-1.8.0-openjdk-devel-1:1.8.0.252.b09-2.el8_1.x86_64 conflicts with file from package java-1.8.0 openjdk-devel-1:1.8.0.232.b09-2.el8_1.x86_64
- The packages should not provide conflicting files, or the files should be in the version specific directories.
Environment
- java-1.8.0-openjdk-headless-1:1.8.0.252.b09-2.el8_1.x86_64
- java-1.8.0-openjdk-headless-1:1.8.0.232.b09-2.el8_1.x86_64
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.