我在juno上安装egit时出现Eclipse错误

时间:2013-03-09 08:23:37

标签: github eclipse-plugin egit

当我在Eclipse的Juno版本上运行时,我收到了一个错误。

我没有在Eclipse中安装任何东西。我只是做了安装所说的。

Cannot complete the install because of a conflicting dependency.
  Software being installed: EGit Mylyn 2.2.0.201212191850-r (org.eclipse.egit.mylyn.feature.group 2.2.0.201212191850-r)
  Software being installed: EGit Project Set Support 2.1.0.201209190230-r (org.eclipse.egit.psf.feature.group 2.1.0.201209190230-r)
  Only one of the following can be installed at once: 
    Git Team Provider Core 2.2.0.201212191850-r (org.eclipse.egit.core 2.2.0.201212191850-r)
    Git Team Provider Core 2.1.0.201209190230-r (org.eclipse.egit.core 2.1.0.201209190230-r)
  Cannot satisfy dependency:
    From: EGit Mylyn 2.2.0.201212191850-r (org.eclipse.egit.mylyn.feature.group 2.2.0.201212191850-r)
    To: org.eclipse.egit.mylyn.ui [2.2.0.201212191850-r]
  Cannot satisfy dependency:
    From: EGit Mylyn UI 2.2.0.201212191850-r (org.eclipse.egit.mylyn.ui 2.2.0.201212191850-r)
    To: package org.eclipse.egit.core [2.2.0,2.3.0)
  Cannot satisfy dependency:
    From: EGit Project Set Support 2.1.0.201209190230-r (org.eclipse.egit.psf.feature.group 2.1.0.201209190230-r)
    To: org.eclipse.egit.core [2.1.0,2.2.0)

2 个答案:

答案 0 :(得分:2)

我遇到了同样的问题并想出如果你不安装“EGit Project Set Support”,它会起作用。因为那是唯一仍然使用2.1.0的人。其余的已经在2.2.0了。所以我猜“EGit Project Set Support”将在稍后更新为2.2.0。

答案 1 :(得分:1)

您尝试安装的Egit Mylin版本取决于EGit的2.1.0版本,但您已经安装了EGit 2.2.0。

如果您只需要安装几个插件,我建议首先重新下载eclipse(因为Juno SR2刚刚在上周发布)。

尝试始终使用Juno存储库(而不是子项目存储库)以避免出现此类问题。 Juno SR 2推迟一周,因为EGit不得不撤销发布,如果你在Juno SR 2发布之前从EGit repo安装了那个版本,你将会遇到上述错误。

相关问题