无法更新 Eclipse Luna
Cannot update Eclipse Luna
我只需单击 帮助 -> 检查更新 并完成向导,我收到以下错误:
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
接下来的步骤解决了我的问题:
- 检查并删除多余的旧存储库。
Help > Install New Software > Available Software Sites
并取消选择旧 Eclipse 版本的所有更新站点。我有两个 Spring 4.3 和 4.4 版本的存储库。
- 清除
<eclipse folder>/p2/org.eclipse.equinox.p2.repository/cache
目录。
- 再次检查更新。
我只需单击 帮助 -> 检查更新 并完成向导,我收到以下错误:
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
接下来的步骤解决了我的问题:
- 检查并删除多余的旧存储库。
Help > Install New Software > Available Software Sites
并取消选择旧 Eclipse 版本的所有更新站点。我有两个 Spring 4.3 和 4.4 版本的存储库。 - 清除
<eclipse folder>/p2/org.eclipse.equinox.p2.repository/cache
目录。 - 再次检查更新。