我在Linux上运行Eclipse的Helios EE包,我添加了颠覆性的插件,m2e Maven集成和Trac的Mylin连接器。在过去的几个星期里,我一直在尝试安装更新,每次我都收到这样的消息

No repository found containing <something or other>

最新的一个是

An error occurred while collecting items to be installed
session context was:(profile=epp.package.jee, phase=org.eclipse.equinox.internal.p2.engine.phases.Collect, operand=, action=).
No repository found containing: osgi.bundle,org.eclipse.team.svn,0.7.9.I20110318-1700
No repository found containing: osgi.bundle,org.eclipse.team.svn.core,0.7.9.I20110523-1700
No repository found containing: osgi.bundle,org.eclipse.team.svn.help,0.7.9.I20110318-1700
No repository found containing: osgi.bundle,org.eclipse.team.svn.mylyn,0.7.9.I20110318-1700
No repository found containing: osgi.bundle,org.eclipse.team.svn.ui,0.7.9.I20110523-1700
No repository found containing: org.eclipse.update.feature,org.eclipse.team.svn,0.7.9.I20110523-1700
No repository found containing: org.eclipse.update.feature,org.eclipse.team.svn.mylyn,0.7.9.I20110523-1700
No repository found containing: org.eclipse.update.feature,org.eclipse.team.svn.resource.ignore.rules.jdt,0.7.9.I20110523-1700

这一切意味着什么,我该如何解决?如果Eclipse能够联系存储库来检查新文件,为什么它不能从这些存储库下载这些文件呢?或者错误消息意味着完全不同的东西?


当前回答

感谢Fredrik指出Eclipse中的原始bug。Richard Shu在评论中描述了几种可行的解决方案:

正如Mauro所说:“您必须删除并重新添加Eclipse项目更新 站点,以便重新计算其元数据。”-作为解决方案 我发现的另一个解决办法是编辑预定义的URL链接 只需在更新站点URL后面加一个“/”。 我偶然发现的第三种解决方法是什么都不做,但是 取消选中“在安装期间联系所有更新站点以查找所需软件” 在检查URL链接之前。

选择2对我来说是可行的。我去了窗口>首选项>安装/更新>可用的软件网站,然后为每个启用的网站,我在URL的末尾添加了一个/(如果它还没有),然后单击重新加载。

其他回答

正如许多人已经说过的,这是一个与更新网站有关的问题,对我来说,禁用帮助→安装新软件→“在安装期间联系所有更新网站以查找所需的软件”修复了安装Sirius的问题。 把安装epsilon我禁用更新站点如图所示

感谢Fredrik指出Eclipse中的原始bug。Richard Shu在评论中描述了几种可行的解决方案:

正如Mauro所说:“您必须删除并重新添加Eclipse项目更新 站点,以便重新计算其元数据。”-作为解决方案 我发现的另一个解决办法是编辑预定义的URL链接 只需在更新站点URL后面加一个“/”。 我偶然发现的第三种解决方法是什么都不做,但是 取消选中“在安装期间联系所有更新站点以查找所需软件” 在检查URL链接之前。

选择2对我来说是可行的。我去了窗口>首选项>安装/更新>可用的软件网站,然后为每个启用的网站,我在URL的末尾添加了一个/(如果它还没有),然后单击重新加载。

我正在尝试将Spring STS 3.6.3更新到Eclipse Luna(4.4.1)中的3.6.4版本,我尝试了以下解决方案,它对我有效:

>安装新软件>可用软件站点 取消选中所有站点,只选中SpringSource Update Site for Eclipse 4.4,这意味着您只选中您的Eclipse版本的更新站点 验证并进行更新

求助→安装新软件→这里取消勾选“安装期间联系所有更新站点以查找所需软件”

Eclipse将提示内容未经授权或类似的内容。忽略它,继续。那么一切都会好的。

至少这个技巧解决了我类似这样的问题:

An error occurred while collecting items to be installed session
context was:(profile=epp.package.jee,
phase=org.eclipse.equinox.internal.p2.engine.phases.Collect, operand=,
action=). No repository found containing:
osgi.bundle,org.eclipse.emf,2.6.0.v20120917-0436 No repository found
containing: osgi.bundle,org.eclipse.emf.ant,2.7.0.v20120917-0436 No
repository found containing:
osgi.bundle,org.eclipse.emf.codegen,2.8.0.v20120917-0436 No repository
found containing:
osgi.bundle,org.eclipse.emf.codegen.ecore,2.8.1.v20120917-0436 No
repository found containing:
osgi.bundle,org.eclipse.emf.codegen.ecore.ui,2.8.0.v20120917-0436 No
repository found containing:
osgi.bundle,org.eclipse.emf.codegen.ui,2.6.0.v20120917-0436 No
repository found containing:
osgi.bundle,org.eclipse.emf.common,2.8.0.v20120911-0500 No repository
found containing:
osgi.bundle,org.eclipse.emf.common.ui,2.7.0.v20120917-0436 No
repository found containing:
osgi.bundle,org.eclipse.emf.converter,2.5.0.v20120917-0436 No
repository found containing:
osgi.bundle,org.eclipse.emf.databinding,1.2.0.v20120917-0436 No
repository found containing:
osgi.bundle,org.eclipse.emf.databinding.edit,1.2.0.v20120917-0436 No
repository found containing:
osgi.bundle,org.eclipse.emf.ecore,2.8.1.v20120911-0500 No repository
found containing:
osgi.bundle,org.eclipse.emf.ecore.change,2.8.0.v20120911-0500 No
repository found containing:
osgi.bundle,org.eclipse.emf.ecore.change.edit,2.5.0.v20120917-0436 No
repository found containing:
osgi.bundle,org.eclipse.emf.ecore.edit,2.8.0.v20120917-0436 No
repository found containing:
osgi.bundle,org.eclipse.emf.ecore.editor,2.8.0.v20120917-0436 No
repository found containing:
osgi.bundle,org.eclipse.emf.ecore.xmi,2.8.0.v20120911-0500 No
repository found containing:
osgi.bundle,org.eclipse.emf.edit,2.8.0.v20120917-0436 No repository
found containing:
osgi.bundle,org.eclipse.emf.edit.ui,2.8.0.v20120917-0436 No repository
found containing:
osgi.bundle,org.eclipse.emf.exporter,2.6.0.v20120917-0436 No
repository found containing:
osgi.bundle,org.eclipse.emf.importer,2.7.0.v20120917-0436 No
repository found containing:
osgi.bundle,org.eclipse.emf.importer.ecore,2.6.0.v20120917-0436 No
repository found containing:
osgi.bundle,org.eclipse.emf.importer.java,2.6.0.v20120917-0436 No
repository found containing:
osgi.bundle,org.eclipse.emf.importer.rose,2.6.0.v20120917-0436 No
repository found containing:
osgi.bundle,org.eclipse.emf.mapping,2.7.0.v20120917-0436 No repository
found containing:
osgi.bundle,org.eclipse.emf.mapping.ecore,2.6.0.v20120917-0436 No
repository found containing:
osgi.bundle,org.eclipse.emf.mapping.ecore.editor,2.6.0.v20120917-0436
No repository found containing:
osgi.bundle,org.eclipse.emf.mapping.ecore2ecore,2.7.0.v20120917-0436
No repository found containing:
osgi.bundle,org.eclipse.emf.mapping.ecore2ecore.editor,2.5.0.v20120917-0436
No repository found containing:
osgi.bundle,org.eclipse.emf.mapping.ecore2xml,2.7.0.v20120917-0436 No
repository found containing:
osgi.bundle,org.eclipse.emf.mapping.ecore2xml.ui,2.6.0.v20120917-0436
No repository found containing:
osgi.bundle,org.eclipse.emf.mapping.ui,2.6.0.v20120917-0436 No
repository found containing:
osgi.bundle,org.eclipse.wst.common.project.facet.core,1.4.300.v201111030424
No repository found containing:
osgi.bundle,org.eclipse.wst.common.project.facet.ui,1.4.300.v201111030424
No repository found containing:
org.eclipse.update.feature,org.eclipse.emf.codegen.ecore,2.8.1.v20120917-0436
No repository found containing:
org.eclipse.update.feature,org.eclipse.emf.codegen.ecore.ui,2.8.0.v20120917-0436
No repository found containing:
org.eclipse.update.feature,org.eclipse.emf.codegen,2.8.0.v20120917-0436
No repository found containing:
org.eclipse.update.feature,org.eclipse.emf.codegen.ui,2.7.0.v20120917-0436
No repository found containing:
org.eclipse.update.feature,org.eclipse.emf.common,2.8.0.v20120911-0500
No repository found containing:
org.eclipse.update.feature,org.eclipse.emf.common.ui,2.7.0.v20120917-0436
No repository found containing:
org.eclipse.update.feature,org.eclipse.emf.converter,2.8.0.v20120917-0436
No repository found containing:
org.eclipse.update.feature,org.eclipse.emf.databinding.edit,1.2.0.v20120917-0436
No repository found containing:
org.eclipse.update.feature,org.eclipse.emf.databinding,1.2.0.v20120917-0436
No repository found containing:
org.eclipse.update.feature,org.eclipse.emf.ecore.edit,2.8.0.v20120917-0436
No repository found containing:
org.eclipse.update.feature,org.eclipse.emf.ecore.editor,2.8.0.v20120917-0436
No repository found containing:
org.eclipse.update.feature,org.eclipse.emf.ecore,2.8.1.v20120911-0500
No repository found containing:
org.eclipse.update.feature,org.eclipse.emf.edit,2.8.0.v20120917-0436
No repository found containing:
org.eclipse.update.feature,org.eclipse.emf.edit.ui,2.8.0.v20120917-0436
No repository found containing:
org.eclipse.update.feature,org.eclipse.emf,2.8.1.v20120917-0436 No
repository found containing:
org.eclipse.update.feature,org.eclipse.emf.mapping.ecore.editor,2.7.0.v20120917-0436
No repository found containing:
org.eclipse.update.feature,org.eclipse.emf.mapping.ecore,2.7.0.v20120917-0436
No repository found containing:
org.eclipse.update.feature,org.eclipse.emf.mapping,2.7.0.v20120917-0436
No repository found containing:
org.eclipse.update.feature,org.eclipse.emf.mapping.ui,2.7.0.v20120917-0436
No repository found containing:
org.eclipse.update.feature,org.eclipse.wst.common.fproj,3.4.0.v201202292300-377F8N8s735555393B7B

我帮助解决了以下问题:

Go to Help->Software Updates, then select the Available Software tab and click the Manage Sites button Use the Export button to export the sites to a bookmarks.xml file Open the bookmarks.xml file in your favorite text editor, and add a trailing “/” to any of the site urls which are missing the “/” or remove on the end. Save the changes. Back in the Manage Sites window within Eclipse, select all of the sites and click the Remove button Now, click Import and load in the edited bookmarks.xml file

是从这个链接截取的德文·希拉德的数字避难所