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 ~]$ ')