error: unresolvable package conflicts detected
error: failed to prepare transaction (conflicting dependencies)
:: jdk-openjdk and jre-openjdk are in conflict
AND
$ paru -R jre-openjdk
checking dependencies...
error: failed to prepare transaction (could not satisfy dependencies)
:: removing jre-openjdk breaks dependency 'jre21-openjdk=21.u35-3' required by jdk-openjdk
$ sudo pacman -Syu jdk-openjdk
:: Synchronizing package databases...
mesa-nonfree is up to date
core is up to date
extra is up to date
community is up to date
multilib is up to date
repo-ck is up to date
:: Starting full system upgrade...
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
$ sudo pacman -Syu jdk-openjdk
:: Synchronizing package databases...
mesa-nonfree is up to date
core is up to date
extra is up to date
community is up to date
multilib is up to date
repo-ck is up to date
:: Starting full system upgrade...
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
Even more
$ sudo pacman -R jre-openjdk jdk-openjdk
[sudo] password for alex:
checking dependencies...
:: brltty optionally requires java-runtime: Java support
:: erlang-nox optionally requires java-environment: for Java support
:: libbluray optionally requires java-runtime: BD-J library
:: libjpeg-turbo optionally requires java-runtime>11: for TurboJPEG Java wrapper
:: libjxl optionally requires java-runtime: for JNI bindings
:: opencv optionally requires java-runtime: Java interface
:: subversion optionally requires java-environment: for Java support
:: texlive-latexextra optionally requires java-runtime: for pdfannotextractor
Packages (2) jdk-openjdk-21.u35-3 jre-openjdk-21.u35-3
Total Removed Size: 309.56 MiB
:: Do you want to remove these packages? [Y/n]
:: Processing package changes...
(1/2) removing jdk-openjdk [########################################] 100%
(2/2) removing jre-openjdk [########################################] 100%
:: Running post-transaction hooks...
(1/3) Arming ConditionNeedsUpdate...
(2/3) Updating icon theme caches...
(3/3) Updating the desktop file MIME type cache...
--------------------------------------------------------------------------------------------------------------- 19:36:37
[alex@alex-b450aoruselite ~]$ sudo pacman -Syu jdk-openjdk
:: Synchronizing package databases...
mesa-nonfree is up to date
core is up to date
extra is up to date
community is up to date
multilib is up to date
repo-ck is up to date
:: Starting full system upgrade...
resolving dependencies...
looking for conflicting packages...
error: unresolvable package conflicts detected
error: failed to prepare transaction (conflicting dependencies)
:: jdk-openjdk and jre-openjdk-headless are in conflict
OK, I needed to remove also jre-openjdk-headless
$ paru -R jre-openjdk-headless
checking dependencies...
Packages (1) jre-openjdk-headless-21.u35-3
Total Removed Size: 192.59 MiB
:: Do you want to remove these packages? [Y/n]
:: Processing package changes...
(1/1) removing jre-openjdk-headless [########################################] 100%
:: Running post-transaction hooks...
(1/1) Arming ConditionNeedsUpdate...