在检查 Eclipse 更新期间找不到存储库

声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow 原文地址: http://stackoverflow.com/questions/10749995/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me): StackOverFlow

提示:将鼠标放在中文语句上可以显示对应的英文。显示中英文
时间:2020-09-10 21:05:06  来源:igfitidea点击:

No repository found during checking Eclipse updates

eclipse

提问by sof

Eclipse 3.7.2

日食 3.7.2

Run help -> Check for Updates, Eclipse pops up Problem occurredwindow below,

运行help -> Check for Updates,Eclipse弹出Problem occurred下面的窗口,

Contacting sofware sites has encountered a problem.
No repository found at file:///tmp/formic_xxxxxx/update.

Processing stops after confirmation. How to solve it?

确认后停止处理。如何解决?

回答by Francis Upton IV

At that location specified by the URL, it expects to see a content.xmland artifact.xmlfile along with the plugins and possibly other files. Those files are not likely present at that URL.

在 URL 指定的那个位置,它希望看到一个content.xmlartifact.xml文件以及插件和可能的其他文件。这些文件可能不会出现在该 URL 中。

Either fix or remove the URL (in the PreferencesInstall/UpdateAvailable Software Sites).

修复或删除 URL(在首选项安装/更新可用软件站点中)。

回答by e-motiv

I had this problem too. It seemed the Eclipse updater only works with a trailing "/" for repositories that don't explicitly point to a file.

我也有这个问题。对于未明确指向文件的存储库,Eclipse 更新程序似乎仅适用于尾随的“/”。

E.g.

例如

Check here for instruction. Thanks to Devon.

检查这里的说明。感谢德文。

回答by kzoom

Had this problem. Not just one, but well past a dozen repositories 'not found.' Tried a few other things, but the "the Eclipse updater only works with a trailing "/" for repositories that don't explicitly point to a file." solution worked for me.

有这个问题。不仅是一个,而且远远超过了“未找到”的十几个存储库。尝试了其他一些事情,但“Eclipse 更新程序仅适用于未明确指向文件的存储库的尾随“/”。解决方案对我有用。

Note: explicitly using the 'Edit...' button didn't work. As soon as a "/" is added, it warns about "duplicate entry" and disables the 'Update' control.

注意:明确使用“编辑...”按钮不起作用。一旦添加了“/”,它就会警告“重复条目”并禁用“更新”控件。

Instead, selected all the 'eclipse' -related items, did 'export' to a file, closed eclipse, then edited the file in UltraEdit, as specified, then 'import'ed the file. After this, the update worked.

相反,选择所有与“eclipse”相关的项目,“导出”到文件,关闭 eclipse,然后按照指定在 UltraEdit 中编辑文件,然后“导入”文件。在此之后,更新工作。

Comment: why these updates (eclipse and Android's too) have so many flow problems in their update processes tells me the developers of these two sets of packages aren't using these methods. I wonder what they use.

评论:为什么这些更新(eclipse 和 Android 的)在更新过程中有这么多流程问题告诉我这两套包的开发者没有使用这些方法。我想知道他们用什么。

eclipse Indigo 2012, apparently now mostly Feb 2012 through Apr 2013.

eclipse Indigo 2012,显然现在主要是2012年2月到2013年4月。

回答by crusam

I also had this problem when switching to the new release candidate of mars. None of the above mentioned solutions did work for me. If anyone should be trapped with the same issue, I finally succeded with the following:

切换到新版本的 mars 时,我也遇到了这个问题。上面提到的解决方案都没有对我有用。如果有人遇到同样的问题,我终于成功了:

Deleting the .eclipseand .p2folders in my C:\Users\[my user]\folder.

删除我的文件夹中的.eclipse.p2文件C:\Users\[my user]\夹。

After that I also "reinstalled" eclipse which might not even be necessary.

之后,我还“重新安装”了 eclipse,这甚至可能不是必需的。