Installing Software Fails - jdk-openjdk and jre-openjdk are in conflict with each other

i hope i am here right.

I want to install xmrig but i become the follow error message:
jdk-openjdk und jre-openjdk are in conflict with each other

Anyone an idea how i can solve this?

Hi @Kryptophäe

Please follow the instructions here: https://rebornos.discourse.group/t/fix-package-conflicts-involving-jdk-jre-java-while-updating

Basically you can run

sudo pacman -Syu jdk-openjdk

sudo pacman -Syu jdk-openjdk
:: Paketdatenbanken werden synchronisiert …
Reborn-OS ist aktuell
core ist aktuell
extra ist aktuell
multilib ist aktuell
:: Vollständige Systemaktualisierung wird gestartet …
:: kdsoap durch extra/kdsoap-qt5 ersetzen? [J/n] j
:: kuserfeedback durch extra/kuserfeedback5 ersetzen? [J/n] j
:: libqaccessibilityclient durch extra/libqaccessibilityclient-qt5 ersetzen? [J/n] j
Abhängigkeiten werden aufgelöst …
Nach in Konflikt stehenden Paketen wird gesucht …
Fehler: Nicht auflösbare Paketkonflikte gefunden
Fehler: Vorgang konnte nicht vorbereitet werden (In Konflikt stehende Abhängigkeiten)
:: jdk-openjdk und jre-openjdk stehen miteinander in Konflikt
The Same error :frowning:

@Kryptophäe

Try this:

LANG=C sudo pacman -Rdd jre-openjdk

LANG=C sudo pacman -Syu jdk-openjdk

This will remove the JRE and install JDK (which should install JRE too as a dependency).

jdk-openjdk and jre-openjdk-headless are in conflict

@Kryptophäe

Modified

LANG=C sudo pacman -Rdd jre-openjdk-headless

LANG=C sudo pacman -Syu jdk-openjdk
2 Likes

many thanks. I installed xmrig but it dont start :frowning:
[2023-11-12 01:11:23.878] unable to open “/usr/bin/config.json”.
[2023-11-12 01:11:23.878] unable to open “/home/zuhause/.xmrig.json”.
[2023-11-12 01:11:23.878] unable to open “/home/zuhause/.config/xmrig.json”.
[2023-11-12 01:11:23.878] no valid configuration found, try Configuration wizard - XMRig

All works :slight_smile:

This is realy one of the best Linux support i have ever seen the last 10 years :slight_smile:

1 Like

Thank you! That means a lot :slight_smile:

1 Like

What happened to xmrig?

One more.

This arch Linux Distribution is Realy nice, all works out of the Box :slight_smile:

It works. I must edit my config.json and then i can mine some moneros :slight_smile: