无法更新Eclipse Luna

5

我只需点击帮助 -> 检查更新并按照向导操作,但是我遇到了以下错误:

An error occurred while collecting items to be installed
session context was:(profile=epp.package.java, phase=org.eclipse.equinox.internal.p2.engine.phases.Collect, operand=, action=).
No repository found containing: osgi.bundle,org.springsource.ide.eclipse.commons.browser,3.6.4.201503050855-RELEASE
No repository found containing: osgi.bundle,org.springsource.ide.eclipse.commons.gettingstarted,3.6.4.201503050855-RELEASE
No repository found containing: osgi.bundle,org.springsource.ide.eclipse.commons.quicksearch,3.6.4.201503050855-RELEASE
No repository found containing: osgi.bundle,org.springsource.ide.eclipse.dashboard.ui,3.6.4.201503050855-RELEASE
No repository found containing: osgi.bundle,org.aspectj.runtime.source,1.7.0.20120703164200
No repository found containing: osgi.bundle,org.eclipse.contribution.weaving.jdt.source,2.2.0.e37x-RELEASE-20120704-0900
No repository found containing: org.eclipse.update.feature,org.eclipse.contribution.weaving.source,2.2.0.e37x-RELEASE-20120704-0900
No repository found containing: osgi.bundle,org.eclipse.contribution.xref.core.source,2.2.0.e37x-RELEASE-20120704-0900
No repository found containing: org.eclipse.update.feature,org.eclipse.contribution.xref.source,2.2.0.e37x-RELEASE-20120704-0900
No repository found containing: osgi.bundle,org.eclipse.contribution.xref.ui.source,2.2.0.e37x-RELEASE-20120704-0900
No repository found containing: osgi.bundle,org.eclipse.fx.core,0.9.0.201401250701
No repository found containing: osgi.bundle,org.eclipse.fx.javafx,2.2.0.201401250701
No repository found containing: osgi.bundle,org.eclipse.fx.osgi,0.9.0.201401250701
No repository found containing: osgi.bundle,org.eclipse.fx.osgi.util,0.9.0.201401250701
No repository found containing: osgi.bundle,org.eclipse.net4j.jms.api,3.0.0.v20110215-1551
No repository found containing: org.eclipse.update.feature,org.springsource.ide.eclipse.commons.quicksearch.feature,3.6.4.201503050855-RELEASE
No repository found containing: org.eclipse.update.feature,org.springsource.ide.eclipse.dashboard,3.6.4.201503050855-RELEASE 

我正在尝试更新,因为我的Scala插件没有工作表功能,我刚刚发现我有很多需要处理的更新。

如果尝试下载Scala插件,我会收到以下错误:

An error occurred while collecting items to be installed
session context was:(profile=epp.package.java, phase=org.eclipse.equinox.internal.p2.engine.phases.Collect, operand=, action=).
No repository found containing: osgi.bundle,org.aspectj.runtime.source,1.7.0.20120703164200
No repository found containing: osgi.bundle,org.eclipse.contribution.weaving.jdt.source,2.2.0.e37x-RELEASE-20120704-0900
No repository found containing: org.eclipse.update.feature,org.eclipse.contribution.weaving.source,2.2.0.e37x-RELEASE-20120704-0900
No repository found containing: osgi.bundle,org.eclipse.contribution.xref.core.source,2.2.0.e37x-RELEASE-20120704-0900
No repository found containing: org.eclipse.update.feature,org.eclipse.contribution.xref.source,2.2.0.e37x-RELEASE-20120704-0900
No repository found containing: osgi.bundle,org.eclipse.contribution.xref.ui.source,2.2.0.e37x-RELEASE-20120704-0900
1个回答

12

下一步解决了我的问题:

  1. 查看并删除过多的旧仓库。使用 帮助 > 安装新软件 > 可用软件站点 并取消选择所有较旧 Eclipse 版本的更新站点。我有两个Spring仓库,分别针对4.3和4.4版本。
  2. 清除 <eclipse文件夹>/p2/org.eclipse.equinox.p2.repository/cache 目录。
  3. 再次检查更新。

来源:更新错误[Mac]


1
尝试了很多解决方案后,发现这个解决方案很有帮助。问题出在SpringSource Update Site for Eclipse上,其中启用了4.34.4两个版本。所以我只需禁用4.3并删除<eclipse folder>/p2/org.eclipse.equinox.p2.repository/cache文件夹即可。 - Mohammad Faisal

网页内容由stack overflow 提供, 点击上面的
可以查看英文原文,
原文链接