我在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能够联系存储库来检查新文件,为什么它不能从这些存储库下载这些文件呢?或者错误消息意味着完全不同的东西?


当前回答

最终,有些东西必须被移除。我想在其他答案的基础上补充一点:一定要检查冲突。对我来说,EMF (Eclipse建模框架)在某种程度上已经失控了,因为我在windows/首选项中列出了多个版本。删除冲突可以让我的更新正常进行。

其他回答

在我的例子中,我只在特定的更新站点和eclipse-java-mars-R中得到上述错误。其他更新站点允许我更新,并且,使用其他版本的Eclipse,我能够从更新站点安装,这给我的Java Mars R Eclipse带来了问题。

删除“/Users/myname/.eclipse/org.eclipse.oomph”目录下的缓存文件夹。P2解决了问题(我的同事,不是我,想出了这个解决方案)

问题似乎是与窗口->首选项->可用软件网站中列出的过时网站。在这个窗口中,只需更新建造地点的位置。

对于建筑,不同版本的正确url可以从这个主站点找到: https://download.eclipse.org/buildship/updates/

对于特定版本,请继续向下导航,直到到达特定版本。 例如:https://download.eclipse.org/buildship/updates/e416/releases/3.x/

如需最新更新,请使用url https://download.eclipse.org/buildship/updates/latest/

Eclipse Kepler(至少)允许在首选项>安装/更新>可用软件站点对话框中特定地重新加载软件站点。

这是一个比上面解释的解决方案(添加后斜杠)更干净/更简单的解决方案,它对我来说很有效…

注意:在安装新软件对话框中也有这个对话框的链接。

简单! !

右键单击eclipse文件夹并进入属性。 取消选中“只读”复选框。 应用更改。单击oK。

>安装新软件>取消勾选“安装期间联系所有更新站点以查找所需软件”。

我有同样的问题与波纹错误:

session context was:(profile=DefaultProfile, phase=org.eclipse.equinox.internal.p2.engine.phases.Collect, operand=, action=).
No repository found containing: osgi.bundle,oracle.eclipse.tools.rest.lib,8.4.0.201510191754

解决方案是禁用eclipse的Oracle Enterprise Pack

如何禁用这个包见下图: