由于与 git/egit 的依赖关系冲突,无法更新 Eclipse

由于与 git/egit 的依赖关系冲突,无法更新 Eclipse

有人能建议如何解决这个问题吗?

Cannot complete the install because of a conflicting dependency.   Software being installed: Eclipse Git Team Provider
3.0.1.201307141637-r (org.eclipse.egit.feature.group 3.0.1.201307141637-r)   Software currently installed: EGit Plug-in Import Support 2.3.1.201302201838-r (org.eclipse.egit.import.feature.group 2.3.1.201302201838-r)   Only one of the following can be installed at once: 
    Git Team Provider UI 2.0.0.201206130900-r (org.eclipse.egit.ui 2.0.0.201206130900-r)
    Git Team Provider UI 2.2.0.201212191850-r (org.eclipse.egit.ui 2.2.0.201212191850-r)
    Git Team Provider UI 2.3.1.201302201838-r (org.eclipse.egit.ui 2.3.1.201302201838-r)
    Git Team Provider UI 2.1.0.201209190230-r (org.eclipse.egit.ui 2.1.0.201209190230-r)
    Git Team Provider UI 3.0.1.201307141637-r (org.eclipse.egit.ui 3.0.1.201307141637-r)   Cannot satisfy dependency:
    From: Eclipse Git Team Provider 3.0.1.201307141637-r (org.eclipse.egit.feature.group 3.0.1.201307141637-r)
    To: org.eclipse.egit.ui [3.0.1.201307141637-r]   Cannot satisfy dependency:
    From: EGit Plug-in Import 2.3.1.201302201838-r (org.eclipse.egit.import 2.3.1.201302201838-r)
    To: package org.eclipse.egit.ui [2.3.1,2.4.0)   Cannot satisfy dependency:
    From: EGit Plug-in Import Support 2.3.1.201302201838-r (org.eclipse.egit.import.feature.group 2.3.1.201302201838-r)
    To: org.eclipse.egit.import [2.3.1.201302201838-r]

我已经能够将更新列表缩小到以下内容。如果选择了以下任何一项,我就会收到上述消息。

Command Line Interface for Java implementation of Git   3.0.0.201306101825-r
Eclipse Git Team Provider   3.0.1.201307141637-r
Java implementation of Git  3.0.0.201306101825-r
Task focused interface for Eclipse Git Team Provider    3.0.1.201307141637-r

这是一个真实且完全合理的问题,针对我所处的非常特殊的情况。请不要在没有发表评论的情况下投反对票

答案1

经过很多头痛的事情(以及对这里的超级用户社区的巨大失望),我设法通过卸载所有 git 组件解决了我的问题

Command Line Interface for Java implementation of Git   3.0.0.201306101825-r
Eclipse Git Team Provider   3.0.1.201307141637-r
Java implementation of Git  3.0.0.201306101825-r
Task focused interface for Eclipse Git Team Provider    3.0.1.201307141637-r

然后尝试再次添加 egit 插件。当我尝试安装时,我收到消息说它已经安装(这让我觉得 Eclipse 卸载过程有问题,因为我的列表中没有显示任何内容),因此将执行更新。

更新完成后,我已安装 eGit 并保持最新状态。

整个过程看起来非常奇怪,但这项工作已经完成,并记录在这里,以供其他需要答案的受害者参考。

相关内容