Eclipse 更新(很少)有效:未找到包含许多条目的存储库
声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow
原文地址: http://stackoverflow.com/questions/30098573/
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
Eclipse update (rarely) works: No repository found containing -- many entries
提问by Dims
I don't understand, why Eclipse update made so unreliable? Approximately each time I use it, I meet some problem!
我不明白,为什么 Eclipse 更新变得如此不可靠?大约每次使用它都会遇到一些问题!
For example, now I meet bunch of delirium below. Disabling "Contact All Software Sites" does not help.
例如,现在我在下面遇到一堆谵妄。禁用“联系所有软件站点”没有帮助。
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.eclipse.m2e.archetype.common,1.5.2.20150413-2214
No repository found containing: osgi.bundle,org.eclipse.m2e.core,1.5.2.20150413-2215
No repository found containing: osgi.bundle,org.eclipse.m2e.core.ui,1.5.2.20150413-2215
No repository found containing: osgi.bundle,org.eclipse.m2e.discovery,1.5.2.20150413-2215
No repository found containing: osgi.bundle,org.eclipse.m2e.editor,1.5.2.20150413-2215
No repository found containing: osgi.bundle,org.eclipse.m2e.editor.xml,1.5.2.20150413-2215
No repository found containing: osgi.bundle,org.eclipse.m2e.jdt,1.5.2.20150413-2215
No repository found containing: osgi.bundle,org.eclipse.m2e.jdt.ui,1.5.2.20150413-2215
No repository found containing: osgi.bundle,org.eclipse.m2e.launching,1.5.2.20150413-2215
No repository found containing: osgi.bundle,org.eclipse.m2e.lifecyclemapping.defaults,1.5.2.20150413-2215
No repository found containing: osgi.bundle,org.eclipse.m2e.logback.appender,1.5.2.20150413-2215
No repository found containing: osgi.bundle,org.eclipse.m2e.logback.configuration,1.5.2.20150413-2215
No repository found containing: osgi.bundle,org.eclipse.m2e.maven.indexer,1.5.2.20150413-2214
No repository found containing: osgi.bundle,org.eclipse.m2e.maven.runtime,1.5.2.20150413-2214
No repository found containing: osgi.bundle,org.eclipse.m2e.maven.runtime.slf4j.simple,1.5.2.20150413-2214
No repository found containing: osgi.bundle,org.eclipse.m2e.model.edit,1.5.2.20150413-2215
No repository found containing: osgi.bundle,org.eclipse.m2e.profiles.core,1.5.2.20150413-2215
No repository found containing: osgi.bundle,org.eclipse.m2e.profiles.ui,1.5.2.20150413-2215
No repository found containing: osgi.bundle,org.eclipse.m2e.refactoring,1.5.2.20150413-2215
No repository found containing: osgi.bundle,org.eclipse.m2e.scm,1.5.2.20150413-2215
No repository found containing: osgi.bundle,org.eclipse.mylyn.bugzilla.core,3.15.0.v20150204-0622
No repository found containing: osgi.bundle,org.eclipse.mylyn.bugzilla.ide,3.15.0.v20150113-0039
No repository found containing: osgi.bundle,org.eclipse.mylyn.bugzilla.ui,3.15.0.v20150203-1905
No repository found containing: osgi.bundle,org.eclipse.mylyn.builds.core,1.7.0.v20150113-2201
No repository found containing: osgi.bundle,org.eclipse.mylyn.builds.ui,1.7.0.v20150113-2201
No repository found containing: osgi.bundle,org.eclipse.mylyn.commons.core,3.15.0.v20150112-2323
No repository found containing: osgi.bundle,org.eclipse.mylyn.commons.identity.core,1.7.0.v20150112-2323
No repository found containing: osgi.bundle,org.eclipse.mylyn.commons.net,3.15.0.v20150112-2323
No repository found containing: osgi.bundle,org.eclipse.mylyn.commons.notifications.core,1.7.0.v20150112-2323
No repository found containing: osgi.bundle,org.eclipse.mylyn.commons.notifications.feed,1.7.0.v20150112-2323
No repository found containing: osgi.bundle,org.eclipse.mylyn.commons.notifications.ui,1.7.0.v20150112-2323
No repository found containing: osgi.bundle,org.eclipse.mylyn.commons.repositories.core,1.7.0.v20150112-2323
No repository found containing: osgi.bundle,org.eclipse.mylyn.commons.repositories.http.core,1.7.0.v20150112-2323
No repository found containing: osgi.bundle,org.eclipse.mylyn.commons.repositories.ui,1.7.0.v20150112-2323
No repository found containing: osgi.bundle,org.eclipse.mylyn.commons.screenshots,3.15.0.v20150112-2323
No repository found containing: osgi.bundle,org.eclipse.mylyn.commons.ui,3.15.0.v20150112-2323
No repository found containing: osgi.bundle,org.eclipse.mylyn.commons.workbench,3.15.0.v20150112-2323
No repository found containing: osgi.bundle,org.eclipse.mylyn.commons.xmlrpc,3.15.0.v20150112-2323
No repository found containing: osgi.bundle,org.eclipse.mylyn.context.core,3.15.0.v20150113-0039
No repository found containing: osgi.bundle,org.eclipse.mylyn.context.tasks.ui,3.15.0.v20150113-0039
No repository found containing: osgi.bundle,org.eclipse.mylyn.context.ui,3.15.0.v20150113-0039
No repository found containing: osgi.bundle,org.eclipse.mylyn.cvs.core,1.7.0.v20150113-0039
No repository found containing: osgi.bundle,org.eclipse.mylyn.debug.ui,3.15.0.v20150113-0039
No repository found containing: osgi.bundle,org.eclipse.mylyn.discovery.core,3.15.0.v20150112-2323
No repository found containing: osgi.bundle,org.eclipse.mylyn.discovery.ui,3.15.0.v20150112-2323
No repository found containing: osgi.bundle,org.eclipse.mylyn.git.core,1.7.0.v20150113-0039
No repository found containing: osgi.bundle,org.eclipse.mylyn.git.ui,1.7.0.v20150113-0039
No repository found containing: osgi.bundle,org.eclipse.mylyn.help.ui,3.15.0.v20150113-0037
No repository found containing: osgi.bundle,org.eclipse.mylyn.hudson.core,1.7.0.v20150113-2201
No repository found containing: osgi.bundle,org.eclipse.mylyn.hudson.ui,1.7.0.v20150113-2201
No repository found containing: osgi.bundle,org.eclipse.mylyn.ide.ant,3.15.0.v20150113-0039
No repository found containing: osgi.bundle,org.eclipse.mylyn.ide.ui,3.15.0.v20150113-0039
No repository found containing: osgi.bundle,org.eclipse.mylyn.java.tasks,3.15.0.v20150113-0039
No repository found containing: osgi.bundle,org.eclipse.mylyn.java.ui,3.15.0.v20150113-0039
No repository found containing: osgi.bundle,org.eclipse.mylyn.monitor.core,3.15.0.v20150112-2323
No repository found containing: osgi.bundle,org.eclipse.mylyn.monitor.ui,3.15.0.v20150112-2323
No repository found containing: osgi.bundle,org.eclipse.mylyn.resources.ui,3.15.0.v20150113-0039
No repository found containing: osgi.bundle,org.eclipse.mylyn.tasks.bugs,3.15.0.v20150113-0037
No repository found containing: osgi.bundle,org.eclipse.mylyn.tasks.core,3.15.0.v20150311-2102
No repository found containing: osgi.bundle,org.eclipse.mylyn.tasks.index.core,3.15.0.v20150113-0037
No repository found containing: osgi.bundle,org.eclipse.mylyn.tasks.index.ui,3.15.0.v20150113-0037
No repository found containing: osgi.bundle,org.eclipse.mylyn.tasks.search,3.15.0.v20150113-0037
No repository found containing: osgi.bundle,org.eclipse.mylyn.tasks.ui,3.15.0.v20150316-1810
No repository found containing: osgi.bundle,org.eclipse.mylyn.team.cvs,3.15.0.v20150113-0039
No repository found containing: osgi.bundle,org.eclipse.mylyn.team.ui,3.15.0.v20150113-0039
No repository found containing: osgi.bundle,org.eclipse.mylyn.versions.core,1.7.0.v20150113-0039
No repository found containing: osgi.bundle,org.eclipse.mylyn.versions.ui,1.7.0.v20150113-0039
No repository found containing: osgi.bundle,org.eclipse.mylyn.wikitext.confluence.core,2.4.0.v20150312-2106
No repository found containing: osgi.bundle,org.eclipse.mylyn.wikitext.confluence.ui,2.4.0.v20150309-1623
No repository found containing: osgi.bundle,org.eclipse.mylyn.wikitext.context.ui,2.4.0.v20150309-1623
No repository found containing: osgi.bundle,org.eclipse.mylyn.wikitext.core,2.4.0.v20150316-1438
No repository found containing: osgi.bundle,org.eclipse.mylyn.wikitext.core.ant,2.4.0.v20150309-1623
No repository found containing: osgi.bundle,org.eclipse.mylyn.wikitext.core.osgi,2.4.0.v20150309-1638
No repository found containing: osgi.bundle,org.eclipse.mylyn.wikitext.help.ui,2.4.0.v20150309-1623
No repository found containing: osgi.bundle,org.eclipse.mylyn.wikitext.html.core,2.4.0.v20150309-2304
No repository found containing: osgi.bundle,org.eclipse.mylyn.wikitext.markdown.core,2.4.0.v20150316-1818
No repository found containing: osgi.bundle,org.eclipse.mylyn.wikitext.markdown.ui,2.4.0.v20150309-1623
No repository found containing: osgi.bundle,org.eclipse.mylyn.wikitext.mediawiki.core,2.4.0.v20150309-1638
No repository found containing: osgi.bundle,org.eclipse.mylyn.wikitext.mediawiki.ui,2.4.0.v20150309-1623
No repository found containing: osgi.bundle,org.eclipse.mylyn.wikitext.tasks.ui,2.4.0.v20150309-1638
No repository found containing: osgi.bundle,org.eclipse.mylyn.wikitext.textile.core,2.4.0.v20150312-2106
No repository found containing: osgi.bundle,org.eclipse.mylyn.wikitext.textile.ui,2.4.0.v20150309-1623
No repository found containing: osgi.bundle,org.eclipse.mylyn.wikitext.tracwiki.core,2.4.0.v20150309-1623
No repository found containing: osgi.bundle,org.eclipse.mylyn.wikitext.tracwiki.ui,2.4.0.v20150309-1623
No repository found containing: osgi.bundle,org.eclipse.mylyn.wikitext.twiki.core,2.4.0.v20150309-1638
No repository found containing: osgi.bundle,org.eclipse.mylyn.wikitext.twiki.ui,2.4.0.v20150309-1623
No repository found containing: osgi.bundle,org.eclipse.mylyn.wikitext.ui,2.4.0.v20150309-1638
No repository found containing: osgi.bundle,org.eclipse.tcf.te.ui.terminals,1.3.0.201502251423
No repository found containing: osgi.bundle,org.eclipse.tcf.te.ui.terminals.local,1.3.0.201502201446
No repository found containing: osgi.bundle,org.eclipse.tcf.te.ui.terminals.process,1.3.0.201502201446
No repository found containing: osgi.bundle,org.eclipse.tcf.te.ui.terminals.serial,1.3.0.201502201446
No repository found containing: osgi.bundle,org.eclipse.tcf.te.ui.terminals.ssh,1.3.0.201502201446
No repository found containing: osgi.bundle,org.eclipse.tcf.te.ui.terminals.telnet,1.3.0.201502201446
No repository found containing: osgi.bundle,org.eclipse.tm.terminal,3.3.1.201502251211
No repository found containing: osgi.bundle,org.eclipse.tm.terminal.serial,2.1.400.201502240653
No repository found containing: osgi.bundle,org.eclipse.tm.terminal.ssh,2.1.400.201502240653
No repository found containing: osgi.bundle,org.eclipse.tm.terminal.telnet,2.1.400.201502240653
No repository found containing: org.eclipse.update.feature,org.eclipse.m2e.feature,1.5.2.20150413-2215
No repository found containing: org.eclipse.update.feature,org.eclipse.m2e.logback.feature,1.5.2.20150413-2215
No repository found containing: org.eclipse.update.feature,org.eclipse.mylyn.bugzilla_feature,3.15.0.v20150204-0622
No repository found containing: org.eclipse.update.feature,org.eclipse.mylyn.builds,1.7.0.v20150113-2201
No repository found containing: org.eclipse.update.feature,org.eclipse.mylyn.commons,3.15.0.v20150112-2323
No repository found containing: org.eclipse.update.feature,org.eclipse.mylyn.commons.identity,1.7.0.v20150112-2323
No repository found containing: org.eclipse.update.feature,org.eclipse.mylyn.commons.notifications,1.7.0.v20150112-2323
No repository found containing: org.eclipse.update.feature,org.eclipse.mylyn.commons.repositories,1.7.0.v20150112-2323
No repository found containing: org.eclipse.update.feature,org.eclipse.mylyn.commons.repositories.http,1.7.0.v20150112-2323
No repository found containing: org.eclipse.update.feature,org.eclipse.mylyn.context_feature,3.15.0.v20150113-0039
No repository found containing: org.eclipse.update.feature,org.eclipse.mylyn.cvs,1.7.0.v20150113-0039
No repository found containing: org.eclipse.update.feature,org.eclipse.mylyn.discovery,3.15.0.v20150112-2323
No repository found containing: org.eclipse.update.feature,org.eclipse.mylyn.git,1.7.0.v20150113-0039
No repository found containing: org.eclipse.update.feature,org.eclipse.mylyn.hudson,1.7.0.v20150113-2201
No repository found containing: org.eclipse.update.feature,org.eclipse.mylyn.ide_feature,3.15.0.v20150113-0039
No repository found containing: org.eclipse.update.feature,org.eclipse.mylyn.java_feature,3.15.0.v20150113-0039
No repository found containing: org.eclipse.update.feature,org.eclipse.mylyn.monitor,3.15.0.v20150112-2323
No repository found containing: org.eclipse.update.feature,org.eclipse.mylyn.tasks.ide,3.15.0.v20150113-0037
No repository found containing: org.eclipse.update.feature,org.eclipse.mylyn.team_feature,3.15.0.v20150113-0039
No repository found containing: org.eclipse.update.feature,org.eclipse.mylyn.versions,1.7.0.v20150113-0039
No repository found containing: org.eclipse.update.feature,org.eclipse.mylyn.wikitext_feature,2.4.0.v20150316-1818
No repository found containing: org.eclipse.update.feature,org.eclipse.mylyn_feature,3.15.0.v20150316-1810
No repository found containing: osgi.bundle,org.eclipse.tcf.te.core.terminals,1.3.0.201502201518
No repository found containing: org.eclipse.update.feature,org.eclipse.tcf.te.terminals.feature,1.3.0.201502251423
No repository found containing: org.eclipse.update.feature,org.eclipse.tm.terminal,3.7.1.201502251223
No repository found containing: org.eclipse.update.feature,org.eclipse.tm.terminal.serial,3.7.0.201502251223
No repository found containing: org.eclipse.update.feature,org.eclipse.tm.terminal.ssh,3.7.0.201502251223
No repository found containing: org.eclipse.update.feature,org.eclipse.tm.terminal.telnet,3.7.0.201502251223
回答by olejorgenb
I solved this by disabling all superflous update sites.
我通过禁用所有多余的更新站点解决了这个问题。
This is the base update sites I ended up with:
这是我最终得到的基本更新站点:
- EGit P2 Repository http://download.eclipse.org/egit/updatesEnabled
- Mylyn for Eclipse Luna http://download.eclipse.org/mylyn/releases/lunaEnabled
- The Eclipse Web Tools Platform (WTP) software repository - http://download.eclipse.org/webtools/repository/lunaEnabled
- The Eclipse Project Updates http://download.eclipse.org/eclipse/updates/4.4Enabled
- EGit P2 存储库 http://download.eclipse.org/egit/updates 已启用
- Mylyn for Eclipse Luna http://download.eclipse.org/mylyn/releases/luna 已启用
- Eclipse Web 工具平台 (WTP) 软件存储库 - http://download.eclipse.org/webtools/repository/luna 已启用
- Eclipse 项目更新 http://download.eclipse.org/eclipse/updates/4.4 已启用
I also had this update site enabled:
我还启用了此更新站点:
Luna http://download.eclipse.org/releases/lunaDisabled
Luna http://download.eclipse.org/releases/luna已禁用
which I had to disable to get rid of the egit errors. Turns out http://download.eclipse.org/releases/lunacontains egit and eclipse doesn't manage to choose between that version and the one in "EGit P2"... (omg)
我必须禁用才能摆脱 egit 错误。结果http://download.eclipse.org/releases/luna包含 egit 并且 eclipse 无法在该版本和“EGit P2”中的版本之间进行选择......(天啊)
I assume http://download.eclipse.org/eclipse/updates/4.4also overlap with the releases/luna repo
我假设http://download.eclipse.org/eclipse/updates/4.4也与releases/luna repo 重叠
I also diasbled all update sites pointing to older releases (kepler, etc)
我还禁用了所有指向旧版本(开普勒等)的更新站点
回答by Federico Piazza
Something happened in m2e plugin, so to get rid of this exception you have to disable its repository. Check the selection in the screenshot below:
m2e 插件中发生了一些事情,因此要摆脱此异常,您必须禁用其存储库。检查下面屏幕截图中的选择:
Go to:
去:
Help -> Install new software -> Available software sites -> Disable selection (from screenshot)
帮助 -> 安装新软件 -> 可用软件站点 -> 禁用选择(来自截图)
回答by Purushothaman
Whenever you try to add new software/plugin to eclipse it will also try to install/update the existing software sites. You can disable or remove those are causing issues and you don't want any updates from those software sites. In my case where I am using Luna I had to disable "Mylyn 3.18 for Eclipse 3.8, 4.4 and 4.5 - http://download.eclipse.org/mylyn/releases/latest" and disable " http://download.eclipse.org/technology/m2e/releases". The updates are not working may be because of mismatch in the eclipse version and plugin (not sure, please correct me if I am wrong). The way to disable these software sites in eclipse is windows -> preferences -> Availabe software sites
每当您尝试向 Eclipse 添加新软件/插件时,它也会尝试安装/更新现有软件站点。您可以禁用或删除那些导致问题的内容,并且您不希望从这些软件站点进行任何更新。在我使用 Luna 的情况下,我必须禁用“Mylyn 3.18 for Eclipse 3.8、4.4 和 4.5 - http://download.eclipse.org/mylyn/releases/latest”并禁用“ http://download.eclipse。组织/技术/m2e/发布”。更新不起作用可能是因为 eclipse 版本和插件不匹配(不确定,如果我错了,请纠正我)。在eclipse中禁用这些软件站点的方法是windows->preferences->Availabe software sites
回答by ?ukasz Dumiszewski
In my case the problem was caused by not having the m2eclipse update site ( http://download.eclipse.org/technology/m2e/releases/) in Help -> Install new software -> Available software sites
.
在我的情况下,问题是由不具有m2eclipse的更新站点(造成http://download.eclipse.org/technology/m2e/releases/中)Help -> Install new software -> Available software sites
。
The problem dissapeared after adding it there.
在那里添加后问题消失了。