Conflicting dependencies when updating openjdk

Hi all,

I’m having the following issue when trying to update the system. Any ideas as to how I can fix this issue?

Many thanks

Dave

Failed to prepare transaction

conflicting dependencies

jdk-openjdk and jde-openjdk are in conflict

image

Hello @bluerobotz :wink:

Really? Is it that hard to use the search box? That is discussed a lot of times…

2 Likes

For passers-by;

This issue dates back to Update 2023-11-13, and is listed under the heading of Changes in JDK / JRE 21 packages may require manual intervention

The following (revised) procedure has been suggested:

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.

Or, if using Pamac:

pamac install jdk-openjdk --no-upgrade; pamac update --no-aur

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