1

I've tried installing the EGit plugin on Eclipse with this link: http://download.eclipse.org/egit/updates

I chose both, the Eclipse Git Team Provider and JGit and hit on next. Then, the window says The operation cannot be completed. See the details..

This is the window:

enter image description here

The error lines say:

Cannot complete the install because of a conflicting dependency.
Software being installed: Eclipse Git Team Provider 3.0.3.201309161630-r
(org.eclipse.egit.feature.group 3.0.3.201309161630-r)
Software currently installed: Eclipse SDK 3.7.2.M20120208-0800 (org.eclipse.sdk.ide 3.7.2.M20120208-0800) Only one of the following can be installed at once: Team Support Core 3.7.0.v20130514-1224 (org.eclipse.team.core 3.7.0.v20130514-1224) Team Support Core 3.5.0.I20090527-0620 (org.eclipse.team.core 3.5.0.I20090527-0620) Team Support Core 3.5.1.r35x_20100113-0800 (org.eclipse.team.core 3.5.1.r35x_20100113-0800) Team Support Core 3.6.0.I20110525-0800 (org.eclipse.team.core 3.6.0.I20110525-0800)
Cannot satisfy dependency: From: Eclipse Git Team Provider 3.0.3.201309161630-r (org.eclipse.egit.feature.group 3.0.3.201309161630-r) To: org.eclipse.egit.ui [3.0.3.201309161630-r]
Cannot satisfy dependency: From: Git Team Provider UI 3.0.3.201309161630-r (org.eclipse.egit.ui 3.0.3.201309161630-r) To: bundle org.eclipse.team.core [3.6.100,4.0.0)
Cannot satisfy dependency: From: Eclipse Platform 3.7.2.v20120207-1839-9gF7UHPDFxGjd-PqDr2jX_4yKaumkoHTz04_q-q (org.eclipse.platform.feature.group 3.7.2.v20120207-1839-9gF7UHPDFxGjd-PqDr2jX_4yKaumkoHTz04_q-q) To: org.eclipse.team.core [3.6.0.I20110525-0800]
Cannot satisfy dependency: From: Eclipse Project SDK 3.7.2.r37x_v20111213-7Q7xALDPb32vCjY6UACVPdFTz-icPtJkUadz0lMmk4z-8 (org.eclipse.sdk.feature.group 3.7.2.r37x_v20111213-7Q7xALDPb32vCjY6UACVPdFTz-icPtJkUadz0lMmk4z-8) To: org.eclipse.platform.feature.group [3.7.2.v20120207-1839-9gF7UHPDFxGjd-PqDr2jX_4yKaumkoHTz04_q-q]
Cannot satisfy dependency: From: Eclipse SDK 3.7.2.M20120208-0800 (org.eclipse.sdk.ide 3.7.2.M20120208-0800) To: org.eclipse.sdk.feature.group [3.7.2.r37x_v20111213-7Q7xALDPb32vCjY6UACVPdFTz-icPtJkUadz0lMmk4z-8]

I really don't know what is going on, but I want to get this to work so badly. Thanks in advance for everyone's support!

4

2 回答 2

3

从错误消息看来,您使用的是 Eclipse 3.7(在撰写此答案时大约 2 岁)。

EGit 3.0 至少需要 Eclipse 3.8.2 或 Eclipse 4.2.2,请参阅EGit 以哪些版本的 Eclipse 为目标?在常见问题解答中。

因此解决方案是升级到最新版本的 Eclipse,请参阅Eclipse 下载

于 2013-09-29T18:47:27.880 回答
0

或者,如果您出于某种原因需要坚持使用 Eclipse 3.7.2 ,您可以使用 EGit 版本1.3。这是在这种情况下使用的最佳更新站点:eclipse indigo update site。如果您按“git”过滤,您将获得要安装的正确插件。

通过“git”更新对话框过滤器

于 2016-11-17T16:07:55.203 回答