Hi,
    I'm setting up a new environment with 4.5.1 on top of RHEL,
and I've noticed that when I install ovirt-engine, not one but two openjdk are 
installed on my system:

# dnf install ovirt-engine

Dependencies resolved.
=============================================================================================================================================
Package                                   Arch   Version                        
             Repository                                Size
=============================================================================================================================================
Installing:
ovirt-engine                              noarch 4.5.1.2-1.el8                  
             ovirt-45-upstream                         14 M
Installing dependencies:
[...]
java-1.8.0-openjdk-headless               x86_64 1:1.8.0.332.b09-2.el8_6        
             rhel-8-for-x86_64-appstream-rpms          34 M
java-11-openjdk-headless                  x86_64 1:11.0.15.0.10-2.el8_6         
             rhel-8-for-x86_64-appstream-rpms          40 M

Are both really needed? Isn't it possible to just rely on java 8?

I've tried to mask each and it looks like both are required by the 
ovirt-engine...

[java-11-openjdk-headless masked]
Error:  
Problem: package ovirt-engine-4.5.1.2-1.el8.noarch requires 
java-11-openjdk-headless >= 11.0.11, but none of the providers can be installed
 - cannot install the best candidate for the job

[java-1.8.0-openjdk-headless masked]
Error:  
Problem: package ovirt-engine-4.5.1.2-1.el8.noarch requires java-headless, but 
none of the providers can be installed
 - cannot install the best candidate for the job

I'm asking this for resources optimization and for long term support, because 
they have different lifecycle [1]:

OpenJDK 8                May 2026        8.0.0
OpenJDK 11               Oct 2024        8.0.0
OpenJDK 17               Dec 2027        8.5

Is it a bug or an unnoticed dependency situation so should I open a BZ for it?
Or is it a known situation, cannot be avoided to have 2 openjdk so I should 
open an RFE asking if the dependency can be moved from java-11 to i.e. java-17
in order to have longer support?


Thanks for guidance,

[1] 
https://access.redhat.com/support/policy/updates/rhel-app-streams-life-cycle#rhel8_application_streams
_______________________________________________
Devel mailing list -- [email protected]
To unsubscribe send an email to [email protected]
Privacy Statement: https://www.ovirt.org/privacy-policy.html
oVirt Code of Conduct: 
https://www.ovirt.org/community/about/community-guidelines/
List Archives: 
https://lists.ovirt.org/archives/list/[email protected]/message/UZJAQP5R4JIOWOEC5MTDXADZUOTBUOCA/

Reply via email to