You are not logged in.
On my system Gradle requires jdk-openjdk, while libreoffice-extension-languagetool requires jre-openjdk. I even just updated libreoffice-extension-laguagetool, and still have the dependency issues. There are also some conflicts with some optional requires. How am I supposed to update to the latest version of jdk and jre?
Last edited by zerophase (2023-11-06 16:13:43)
Offline
The jre and jdk don't conflict, in fact the latter requires the former. So what's the actual problem? Post the actual errors.
Last edited by Trilby (2023-11-06 14:44:48)
"UNIX is simple and coherent" - Dennis Ritchie; "GNU's Not Unix" - Richard Stallman
Offline
The jre and jdk don't conflict, in fact the latter requires the former. So what's the actual problem? Post the actual errors.
That is no longer the case.
zerophase, libreoffice-extension-languagetool depends on java-runtime, which is provided by jdk-openjdk, it does not require jre-openjdk.
Online
Offline
When I try
pacman -Syu jdk-openjdk
I get
error: unresolvable package conflicts detected
error: failed to prepare transaction (conflicting dependencies)
:: jdk-openjdk and jre-openjdk are in conflict
jre-openjdk on the system:
Provides : java-runtime=21 java-runtime-openjdk=21 jre21-openjdk=21.u35-3
Depends On : jre21-openjdk-headless=21.u35-3 giflib libgif.so glibc gcc-libs libpng
Optional Deps : alsa-lib: for basic sound support [installed]
gtk2: for the Gtk+ 2 look and feel - desktop usage [installed]
gtk3: for the Gtk+ 3 look and feel - desktop usage [installed]
Required By : jdk-openjdk libreoffice-extension-languagetool
Optional For : clion datagrip libbluray libjpeg-turbo libjxl libreoffice-fresh opencv webstorm
jdk-openjdk:
Provides : java-environment=21 java-environment-openjdk=21 jdk21-openjdk=21.u35-3
Depends On : jre21-openjdk=21.u35-3 java-environment-common=3 hicolor-icon-theme libelf glibc
gcc-libs
Optional Deps : None
Required By : gradle
Optional For : astyle libreoffice-fresh subversion
jre-openjdk-headless:
Provides : java-runtime-headless=21 java-runtime-headless-openjdk=21
jre21-openjdk-headless=21.u35-3
Depends On : java-runtime-common>=3 ca-certificates-utils nss libjpeg-turbo libjpeg.so=8-64
lcms2 liblcms2.so=2-64 libnet freetype2 libfreetype.so=6-64 harfbuzz
libharfbuzz.so=0-64 glibc gcc-libs
Optional Deps : java-rhino: for some JavaScript support
Required By : jre-openjdk serviio
Offline
Install the updated jdk-openjdk first which will remove/provide jre-openjdk and jre-openjdk-headless then perform a full system update.
Offline
Try removing serviio, then updating.
Mod note: Moving to AUR Issues.
Sakura:-
Mobo: MSI MAG X570S TORPEDO MAX // Processor: AMD Ryzen 9 5950X @4.9GHz // GFX: AMD Radeon RX 5700 XT // RAM: 32GB (4x 8GB) Corsair DDR4 (@ 3000MHz) // Storage: 1x 3TB HDD, 6x 1TB SSD, 2x 120GB SSD, 1x 275GB M2 SSD
Making lemonade from lemons since 2015.
Offline
# pacman -S jdk-openjdk
# pacman -Syu
The first command should ask you to remove jre-openjdk-headless & jre-openjdk .
Note that this only works because the earlier pacman -Syu was effectively a pacman -Sy due to the u part failing.
edit :
too slow.
I disagree with Wormzy , this is NOT an aur issue.
Last edited by Lone_Wolf (2023-11-06 11:50:50)
Disliking systemd intensely, but not satisfied with alternatives so focusing on taming systemd.
clean chroot building not flexible enough ?
Try clean chroot manager by graysky
Online
# pacman -S jdk-openjdk # pacman -Syu
The first command should ask you to remove jre-openjdk-headless & jre-openjdk .
Note that this only works because the earlier pacman -Syu was effectively a pacman -Sy due to the u part failing.
That worked. Thanks
Offline
Same issue happens with upgrading the other versions of JDK. I do not believe this is solely an AUR issue.
Offline