Fedora 34 升级后 Eclipse 缺少插件 - 重新安装时出错

Eclipse missing Plugins after Fedora 34 upgrade - Error on reinstalling

昨天我升级到 Fedora 34。今天我意识到我的 Eclipse 缺少所有插件。我在上次升级时遇到了类似的问题,并修复了重新安装所有插件的问题。但是这次我总是得到这些错误:

An error occurred while collecting items to be installed
session context was:(profile=SDKProfile, phase=org.eclipse.equinox.internal.p2.engine.phases.Collect, operand=, action=).
No repository found containing: osgi.bundle,com.ibm.icu,65.1.0
No repository found containing: osgi.bundle,com.sun.jna,5.4.0
No repository found containing: osgi.bundle,com.sun.jna.platform,5.4.0
No repository found containing: osgi.bundle,org.apache.batik.constants,1.13.0
No repository found containing: osgi.bundle,org.apache.batik.css,1.13.0
No repository found containing: osgi.bundle,org.apache.batik.i18n,1.13.0
No repository found containing: osgi.bundle,org.apache.batik.util,1.13.0
No repository found containing: osgi.bundle,org.apache.commons.codec,1.13.0
No repository found containing: osgi.bundle,org.apache.commons.io,2.6.0

我已经删除了首选项中所有可用的软件站点,并删除了主目录中的 .eclipse 文件夹。遗憾的是,这没有帮助。我必须做什么?

版本:2021-03 (4.19) 内部版本号:X20210311-1732

所以我做了一些挖掘。 this 文章中提到,Red Hat 在维护 Maven 相关包方面存在一些问题。可能 Eclipse 包将不再是 Fedora 35 的一部分。

我尝试按照@howIger 在我的问题下的评论中的建议使用 Flathub,但 运行 遇到了 Flathub 沙箱的一些问题。我直接在 docker 中调试我的应用程序,而 Flathub 无法访问我的情况所需的 /usr 文件夹。

所以最后我按照 this 旧文章中的描述从源代码安装了 Eclipse。