Jre-openjdk jdk-openjdk are in conflict

I got this while trying to update the system:

sudo pacman -Syu  1 ✘
[sudo] password for fore:
:: Synchronizing package databases…
core 146.8 KiB 198 KiB/s 00:01 [###################################] 100%
extra 8.6 MiB 3.85 MiB/s 00:02 [###################################] 100%
community is up to date
multilib is up to date
:: Starting full system upgrade…
:: Replace kdsoap with extra/kdsoap-qt5? [Y/n]
:: Replace kuserfeedback with extra/kuserfeedback5? [Y/n]
:: Replace libqaccessibilityclient with extra/libqaccessibilityclient-qt5? [Y/n]
resolving dependencies…
looking for conflicting packages…
error: unresolvable package conflicts detected
error: failed to prepare transaction (conflicting dependencies)
:: jdk-openjdk and jre-openjdk are in conflict

I tried: Jdk-openjdk and jre-openjdk are in conflict 19 Nov 2023

Welcome to the forum.

What was the output when you tried sudo pacman -Sy jdk-openjdk as suggested?

The following (possibly revised) procedure has been suggested in other forum posts:

sudo pacman -Sy jdk-openjdk
# Choose `Y` (Yes) to remove each conflicting package
sudo pacman -Syu
# Answer `Y` (Yes) to rename/replace all packages indicated.

I hope this helps.

1 Like

This solved the issue just uninstall jre, I wasn’t able to do it before

1 Like

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