当我尝试更新系统时出现jdk-openjdk and jre-openjdk are in conflict
错误:
这是更新尝试的日志:
:: Synchronizing package databases...
core is up to date
extra is up to date
community is up to date
multilib is up to date
:: Searching AUR for updates...
:: Searching databases for updates...
-> Packages not in AUR: bunjs-bin flite1-patched jellyfin-server-bin jellyfin-web-bin js78 libgweather libopenaptx libvterm01 nodejs-lts-gallium progsreiserfs python-backcall
-> Orphan (unmaintained) AUR Packages: anki-official-binary-bundle jdk-jetbrains jetbrains-clion-pj python-gymnasium-notices python-hijri-converter python-jax-jumpy python-pep517
-> Flagged Out Of Date AUR Packages: anki-official-binary-bundle blades-bin logseq-desktop-wayland-bin marp-cli python-mypy-protobuf steamcmd vrms-arch
-> gcc10: local (1:10.3.0-2) is newer than AUR (10.5.0-1)
-> gcc10-libs: local (1:10.3.0-2) is newer than AUR (10.5.0-1)
:: 8 packages to upgrade/install.
8 extra/jdk-openjdk 21.u35-3 -> 21.u35-7
7 extra/jdk11-openjdk 11.0.21.u9-2 -> 11.0.21.u9-3
6 extra/jre-openjdk 21.u35-3 -> 21.u35-7
5 extra/jre-openjdk-headless 21.u35-3 -> 21.u35-7
4 extra/jre11-openjdk 11.0.21.u9-2 -> 11.0.21.u9-3
3 extra/jre11-openjdk-headless 11.0.21.u9-2 -> 11.0.21.u9-3
2 extra/jre17-openjdk 17.0.9.u8-1 -> 17.0.9.u8-2
1 extra/jre17-openjdk-headless 17.0.9.u8-1 -> 17.0.9.u8-2
==> Packages to exclude: (eg: "1 2 3", "1-3", "^4" or repo name)
-> Excluding packages may cause partial upgrades and break systems
==>
Sync Dependency (4): jre11-openjdk-headless-11.0.21.u9-3, jre17-openjdk-headless-17.0.9.u8-2, jre-openjdk-headless-21.u35-7, jre11-openjdk-11.0.21.u9-3
Sync Explicit (4): jre17-openjdk-17.0.9.u8-2, jdk-openjdk-21.u35-7, jdk11-openjdk-11.0.21.u9-3, jre-openjdk-21.u35-7
:: Synchronizing package databases...
core is up to date
extra is up to date
community is up to date
multilib 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
-> error installing repo packages
解决这一冲突的最佳方法是什么?
谢谢你的帮助
编辑:
我尝试过sudo pacman -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
对于此类事情,请务必查看Arch Linux News。在这种情况下,我们希望JDK / JRE 21 包中的传入更改可能需要手动干预:
就我的具体情况而言,我昨天修复了这个问题:
但具体细节取决于您安装的内容以及您需要的内容,如引用的文章中所述。
删除软件包并尝试更新后,我现在得到了。
正在解决依赖关系...正在寻找冲突的包...错误:无法准备事务(无法满足依赖关系) :: 删除 kconfig 会破坏 calamares 所需的依赖项“kconfig” :: 删除 kcoreaddons 会破坏 calamares 所需的依赖项“kcoreaddons” ::删除 kiconthemes 会破坏 calamares 所需的依赖项“kiconthemes” :: 删除 ki18n 会破坏 calamares 所需的依赖项 'ki18n' :: 删除 kio 会破坏 calamares 所需的依赖项 'kio' :: 删除固体会破坏 calamares 所需的依赖项 'solid' :: 删除plasma -framework 破坏了 calamares 所需的依赖性“plasma-framework” :: 删除 kdbusaddons 破坏了 calamares 所需的依赖性“kdbusaddons”
我是拱门新手。提前致谢。