eclipse ide检查更新失败

时间:2012-01-11 15:02:27

标签: eclipse eclipse-indigo

每当我尝试在eclipse ide上安装更新时,它都会因约束验证错误而失败。例如。 eclipse显示了我需要更新的插件列表,我选择了所有这些插件并且在约束检查的基础上,它无法说明只能安装一个插件版本。

如何解决?

UPD

Cannot complete the install because of a conflicting dependency.
  Software being installed: CDO Model Repository Server 4.0.0.v20110831-1303 (org.eclipse.emf.cdo.server.feature.group 4.0.0.v20110831-1303)
  Software being installed: CDO Model Repository Server Hibernate 2.0.0.v200906221520 (org.eclipse.emf.cdo.server.hibernate.feature.group 2.0.0.v200906221520)
  Only one of the following can be installed at once: 
    CDO Model Repository Client 2.0.0.v200906160459 (org.eclipse.emf.cdo 2.0.0.v200906160459)
    CDO Model Repository Client 4.0.1.v20110831-1303 (org.eclipse.emf.cdo 4.0.1.v20110831-1303)
    CDO Model Repository Client 4.0.0.v20110608-1639 (org.eclipse.emf.cdo 4.0.0.v20110608-1639)
    CDO Model Repository Client 2.0.0.v200906221520 (org.eclipse.emf.cdo 2.0.0.v200906221520)
    CDO Model Repository Client 1.0.9.v200902280039 (org.eclipse.emf.cdo 1.0.9.v200902280039)
  Cannot satisfy dependency:
    From: CDO Model Repository Server 2.0.0.v200906160459 (org.eclipse.emf.cdo.server 2.0.0.v200906160459)
    To: bundle org.eclipse.emf.cdo [2.0.0,3.0.0)
  Cannot satisfy dependency:
    From: CDO Model Repository Server 2.0.0.v200906221520 (org.eclipse.emf.cdo.server 2.0.0.v200906221520)
    To: bundle org.eclipse.emf.cdo [2.0.0,3.0.0)
  Cannot satisfy dependency:
    From: CDO Model Repository Server 4.0.0.v20110831-1303 (org.eclipse.emf.cdo.server.feature.group 4.0.0.v20110831-1303)
    To: org.eclipse.emf.cdo [4.0.1.v20110831-1303]
  Cannot satisfy dependency:
    From: CDO Model Repository Server Hibernate 2.0.0.v200906221520 (org.eclipse.emf.cdo.server.hibernate 2.0.0.v200906221520)
    To: bundle org.eclipse.emf.cdo.server [2.0.0,3.0.0)
  Cannot satisfy dependency:
    From: CDO Model Repository Server Hibernate 2.0.0.v200906221520 (org.eclipse.emf.cdo.server.hibernate.feature.group 2.0.0.v200906221520)
    To: org.eclipse.emf.cdo.server.hibernate [2.0.0.v200906221520]

1 个答案:

答案 0 :(得分:1)

此约束意味着在更新期间,系统发现了不兼容的插件版本:它们依赖于相同的插件。

检查Eclipse的错误日志视图,您可以在其中找到更详细的消息,您可以追溯有问题的插件(这不是确定冲突插件的最简单描述,但我不知道知道任何其他类型的p2更新记录器设施。)

编辑:在我看来,通过检查错误消息,更新找到了CDO Model Repository CLient的更新,但没有找到Repository Server Hibernate Component。我会尝试从http://wiki.eclipse.org/CDO/Hibernate_Store/Download_and_Install#Update_site_locations添加CDO 4.0对应的更新站点位置(至少如果这是您在COD中使用的Hibernate支持)。

否则我会尝试(在备份你的Eclipse文件夹之后)卸载Hibernate组件,然后更新,然后找到你正在使用的CDO Hibernate组件的正确位置。