Change dnf provider to java-latest-openjdk-headless

libreoffice-core depends on java-headless which is provided by java-11-openjdk-headless on my machine, but I want to change it to be provided by java-latest-openjdk-headless. Is this possible?

1 Like
> sudo dnf -q swap java-11-openjdk-headless java-latest-openjdk-headless
 Problem: problem with installed package apache-commons-logging-1.2-23.fc33.noarch
  - package apache-commons-logging-1.2-23.fc33.noarch requires java-headless >= 1:1.8, but none of the providers can be installed
  - java-11-openjdk-headless-1: has inferior architecture
  - conflicting requests

Those are strict RPM dependencies you cannot change without rebuilding the packages.
You can only change preferred alternatives for your own usage:

1 Like

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.