jdk-openjdk install problems

This forum is for discussion about general software issues.

jdk-openjdk install problems

Postby scarlettekk » Tue Apr 25, 2023 5:49 pm

Hello! Recently when I tried to update jdk-openjdk it complained about sharing files with jre-openjdk-headless. I tried uninstalling both, clearing pacman cache, and reinstalling, but since jre-openjdk-headless is required by jdk-openjdk the same thing happens. Output below:
$this->bbcode_second_pass_code('', '[scarlett@chornobyl ~]$ paru -Syu jdk-openjdk
:: Synchronizing package databases...
core is up to date
extra is up to date
community is up to date
alarm is up to date
aur is up to date
:: Starting full system upgrade...
warning: foldingathome: local (7.6.21-2) is newer than community (7.5.1-2)
resolving dependencies...
looking for conflicting packages...

Packages (6) java-environment-common-3-5 java-runtime-common-3-5 jre-openjdk-20.0.1.u9-3 jre-openjdk-headless-20.0.1.u9-3 libnet-1:1.1.6-1 jdk-openjdk-20.0.1.u9-3

Total Installed Size: 276.38 MiB

:: Proceed with installation? [Y/n] y
(6/6) checking keys in keyring [############################################################] 100%
(6/6) checking package integrity [############################################################] 100%
(6/6) loading package files [############################################################] 100%
(6/6) checking for file conflicts [############################################################] 100%
error: failed to commit transaction (conflicting files)
/usr/lib/jvm/java-20-openjdk/lib/libattach.debuginfo exists in both 'jre-openjdk-headless' and 'jdk-openjdk'
/usr/lib/jvm/java-20-openjdk/lib/libdt_socket.debuginfo exists in both 'jre-openjdk-headless' and 'jdk-openjdk'
/usr/lib/jvm/java-20-openjdk/lib/libjdwp.debuginfo exists in both 'jre-openjdk-headless' and 'jdk-openjdk'
/usr/lib/jvm/java-20-openjdk/lib/libsaproc.debuginfo exists in both 'jre-openjdk-headless' and 'jdk-openjdk'
Errors occurred, no packages were upgraded.
[scarlett@chornobyl ~]$ ')
scarlettekk
 
Posts: 7
Joined: Mon Nov 14, 2022 1:01 pm

Re: jdk-openjdk install problems

Postby jgcrunden » Fri Apr 28, 2023 7:58 am

I'm having exactly the same problem
jgcrunden
 
Posts: 4
Joined: Sat Feb 13, 2021 12:47 pm

Re: jdk-openjdk install problems

Postby scarlettekk » Tue May 02, 2023 2:03 pm

I haven't figured out what the problem is yet, fingers crossed I'm able to or someone else can help.
In the meantime I'll just use jdk17-openjdk
scarlettekk
 
Posts: 7
Joined: Mon Nov 14, 2022 1:01 pm


Return to General

Who is online

Users browsing this forum: No registered users and 3 guests