【问题标题】:Cannot update Eclipse Luna无法更新 Eclipse Luna
【发布时间】:2015-03-21 13:42:42
【问题描述】:

我只需单击帮助 -> 检查更新 并通过向导,我得到以下错误:

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

【问题讨论】:

    标签: eclipse eclipse-plugin eclipse-luna


    【解决方案1】:

    接下来的步骤解决了我的问题:

    1. 查看并删除多余的旧存储库。 Help > Install New Software > Available Software Sites 并取消选择旧 Eclipse 版本的所有更新站点。我有两个用于 4.3 和 4.4 版本的 Spring 存储库。
    2. 清除<eclipse folder>/p2/org.eclipse.equinox.p2.repository/cache目录。
    3. 再次检查更新。

    来源:Update Error [Mac]

    【讨论】:

    • 在尝试了很多解决方案后发现这个很有帮助。问题在于SpringSource Update Site for Eclipse,其中4.3 和4.4 均已启用。所以我只是禁用了4.3,还删除了<eclipse folder>/p2/org.eclipse.equinox.p2.repository/cache。
    猜你喜欢
    • 1970-01-01
    • 1970-01-01
    • 2015-07-13
    • 2022-01-17
    • 2015-01-26
    • 2014-12-05
    • 2015-08-10
    • 2014-08-18
    相关资源
    最近更新 更多