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


当前回答

我使用lubuntu(像ubuntu),我发现当我安装ccs时,我使用sudo cmd,所以一些文件不能由另一个用户更改,这就是问题出现的原因。所以在我安装ccs的地方,我运行cmd

sudo chown -R username:groupname * 

用户名和组名与我的计算机帐户相同。

其他回答

安装最新的STS,导出其站点列表并导入到您的站点中。

我帮助解决了以下问题:

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

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

我帮助解决了以下问题:

进入帮助->软件更新,然后选择可用软件选项卡,然后单击管理站点按钮 使用Export按钮将站点导出到bookmarks.xml文件 在您最喜欢的文本编辑器中打开bookmarks.xml文件,并在任何缺少“/”的网站url后添加一个“/”或删除末尾。保存更改。 回到Eclipse中的Manage Sites窗口,选择所有的站点并单击Remove按钮 现在,单击Import并加载编辑过的bookmarks.xml文件

上面的一些解决方案解决了我的一些错误……似乎在一段时间后更新连接只是被损坏,没有银弹。通过市场管理更新(Help > marketplace > 'show updates')让我缩小了依赖失败的包。

以下是我的尝试(摘自上面的帖子):

将软件站点的HTTPS切换为HTTP 以管理员身份运行Eclipse “禁用”明显过时的软件网站 “启用”所有软件站点 在软件站点网址的末尾添加反斜杠 卸载和重新安装有问题的软件

尽管尝试了这里的建议,我仍然留下了一些Mylyn wikitext错误

用于JavaScript和Web开发人员的Eclipse IDE

版本:2019-09 R (4.13.0) Build id: 20190917-1200

对于Eclipse Neon,我有提到Mylyn的错误。

为了使它工作,我必须启用Mylyn站点,这些站点在Available Software Sites首选项窗格中被禁用。它们没有命名(空名称),但是可以通过Location列来识别。

保存、更新Mylyn并重新启动eclipse后,可用软件站点如下所示: