Spring Tools Suite 3.70: EGit - Git Team Provider 4.01 upgrade fails - egit

In an attempt to use git hooks via eGit, I'm trying to upgrade eGit to v 4.01. However, STS 3.70 dependencies depend on older versions, preventing the upgrade.
Cannot complete the install because of a conflicting dependency.
Software being installed: Eclipse Git Team Provider 4.0.1.201506240215-r (org.eclipse.egit.feature.group 4.0.1.201506240215-r)
Software currently installed: Spring Tool Suite 3.7.0.201506290649-RELEASE-e44 (org.springsource.sts.ide 3.7.0.201506290649-RELEASE-e44)
Only one of the following can be installed at once:
Git Team Provider Core 3.4.2.201412180340-r (org.eclipse.egit.core 3.4.2.201412180340-r)
Git Team Provider Core 4.0.1.201506240215-r (org.eclipse.egit.core 4.0.1.201506240215-r)
Cannot satisfy dependency:
From: Eclipse Git Team Provider 4.0.1.201506240215-r (org.eclipse.egit.feature.group 4.0.1.201506240215-r)
To: org.eclipse.egit.core [4.0.1.201506240215-r]
Cannot satisfy dependency:
From: Eclipse GitHub integration with task focused interface 3.4.2.201412180340-r (org.eclipse.mylyn.github.feature.feature.group 3.4.2.201412180340-r)
To: org.eclipse.mylyn.github.ui [3.4.2.201412180340-r]
Cannot satisfy dependency:
From: Mylyn GitHub Connector UI 3.4.2.201412180340-r (org.eclipse.mylyn.github.ui 3.4.2.201412180340-r)
To: package org.eclipse.egit.core [3.4.2,3.5.0)
Cannot satisfy dependency:
From: Spring Tool Suite 3.7.0.201506290649-RELEASE-e44 (org.springsource.sts.ide 3.7.0.201506290649-RELEASE-e44)
To: org.springsource.sts.package.feature.group [3.7.0.201506290649-RELEASE-e44]
Cannot satisfy dependency:
From: Spring Tool Suite Package 3.7.0.201506290649-RELEASE-e44 (org.springsource.sts.package.feature.group 3.7.0.201506290649-RELEASE-e44)
To: org.eclipse.mylyn.github.feature.feature.group 0.0.0
I've only seen unsuccessful approaches to circumvent this so far. Other than starting with a bare Eclipse version and plugging in STS, is there another way?
Perhaps the next version of STS is due out soon?

The next version of STS 3.7.1 is to be released shortly after Eclipse Mars.1, by the end of September. That version will include the latest version from Egit.
In addition to that you can consume a nightly build of STS 3.7.1 (from: http://dist.springsource.com/snapshot/STS/nightly-distributions.html), which already contains the updated Egit version.
To make it easier to upgrade the Egit components, I also changed the way they are installed into the distribution build. That should make future updates easier.
Hope that helps!!!

Related

PHP Dev Tools on Eclipse 3.8 Ubuntu - conflicting dependencies

I am trying to install PHP Development Tools in Eclipse 3.8 on Ubuntu. I have had several failed dependencies and I have managed to track them down and install them, notably as regards mylyn. Then when I installed org.eclipse.mylyn.context_feature.feature.group I get errors that are too complex for me to figure out.
Repository: http://download.eclipse.org/releases/luna
Package: PDT 3.4.0.201....
Here is what Eclipse tells me:
Cannot complete the install because of a conflicting dependency.
Software being installed: PHP Development Tools (PDT) 3.4.0.201502171754 (org.eclipse.php.feature.group 3.4.0.201502171754)
Software currently installed: Eclipse Platform 3.7.0.debbuild (org.eclipse.platform.ide 3.7.0.debbuild)
Only one of the following can be installed at once:
Bidirectional Text Support 0.10.0.v20130327-1442 (org.eclipse.equinox.bidi 0.10.0.v20130327-1442)
Bidirectional Text Support 0.9.0.dist (org.eclipse.equinox.bidi 0.9.0.dist)
Cannot satisfy dependency:
From: PHP Development Tools (PDT) 3.4.0.201502171754 (org.eclipse.php.feature.group 3.4.0.201502171754)
To: org.eclipse.php.ui [3.4.0.201502171754]
Cannot satisfy dependency:
From: PDT UI Plug-in 3.4.0.201502171754 (org.eclipse.php.ui 3.4.0.201502171754)
To: bundle org.eclipse.wst.common.frameworks.ui 0.0.0
Cannot satisfy dependency:
From: Eclipse Platform 3.8.1.dist-A8F8_IVRG4VZSCmeloKVfCrtIFotGyJZcMPL9 (org.eclipse.platform.feature.group 3.8.1.dist-A8F8_IVRG4VZSCmeloKVfCrtIFotGyJZcMPL9)
To: org.eclipse.rcp.feature.group [3.8.1.dist-8LA2GODFTJUDJ21934]
Cannot satisfy dependency:
From: Eclipse Platform 3.7.0.debbuild (org.eclipse.platform.ide 3.7.0.debbuild)
To: org.eclipse.platform.feature.group [3.8.1.dist-A8F8_IVRG4VZSCmeloKVfCrtIFotGyJZcMPL9]
Cannot satisfy dependency:
From: Eclipse RCP 3.8.1.dist-8LA2GODFTJUDJ21934 (org.eclipse.rcp.feature.group 3.8.1.dist-8LA2GODFTJUDJ21934)
To: org.eclipse.equinox.bidi [0.9.0.dist]
Cannot satisfy dependency:
From: WTP UI Plug-in 1.2.300.v201401292051 (org.eclipse.wst.common.frameworks.ui 1.2.300.v201401292051)
To: bundle org.eclipse.equinox.bidi [0.10.0,2.0.0)
Cannot satisfy dependency:
From: WTP UI Plug-in 1.2.300.v201401292115 (org.eclipse.wst.common.frameworks.ui 1.2.300.v201401292115)
To: bundle org.eclipse.equinox.bidi [0.10.0,2.0.0)
Any and all help appreciated.
If you want install eclipse pdt 3.4 on older eclipse releases you should use direct sites instead of simulates release update site:
PDT: http://download.eclipse.org/tools/pdt/updates/3.4 or http://download.eclipse.org/tools/pdt/updates/latest
DLTK 5.1.1: http://download.eclipse.org/technology/dltk/updates-dev/5.1.1/
After that you'll be able to install PDT 3.4 on eclipse 3.8
In the end the problem stemmed from trying to install a lot of stuff on an old version of Eclipse. This in turn stemmed from apt-get repositories that were not up-to-date. So when I tried to update my Eclipse I was told it was the latest version and I believed it, until greg-449 straightened me out.
Since I could not use apt-get or Ubuntu software centre (same thing) to install the latest Eclipse I just removed the installation and downloaded and unzipped Luna in a directory somewhere. I recommend this course of action if you are using Eclipse on Ubuntu.

Eclipse error when I install egit on juno

I received a error when I egit on Juno version of Eclipse.
I didn't install anything in Eclipse. I just did what egit installation said.
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)
I had the same problem and figured out if you don't install the "EGit Project Set Support", it will work. Because that's the only one that still uses 2.1.0. The rest is already on 2.2.0. So I guess the "EGit Project Set Support" will be updated later to 2.2.0.
The version of Egit Mylin that you are trying to install depends on version 2.1.0 of EGit, but you already have EGit 2.2.0 installed.
If you just have a couple of plugins to install, I'd recommend starting with a fresh download of eclipse (since Juno SR2 was just released last week).
Try always using the Juno repositories (not the subproject repos) to avoid having such problems. Juno SR 2 was delayed one week because EGit had to withdraw a release, and if you installed that one from the EGit repo before Juno SR 2 was released, you will get errors as the one above.

Eclipse Juno won't let me install XML Editor

I have Eclipse Juno:
Version: 3.7.2
Build id: I20110613-1736
I'm trying to install the XML Editors from the Install Software option under Help using this repo:
http://download.eclipse.org/releases/juno/
And I keep getting dependency problems when installing:
Cannot complete the install because of a conflicting dependency.
Software being installed: Eclipse XML Editors and Tools 3.4.2.v201211061806-7H7GFeJDxumUrsn5qkiQgOEhsz0p60HAmPyU6VX (org.eclipse.wst.xml_ui.feature.feature.group 3.4.2.v201211061806-7H7GFeJDxumUrsn5qkiQgOEhsz0p60HAmPyU6VX)
Software currently installed: Eclipse Platform 3.7.0.I20110613-1736 (org.eclipse.platform.ide 3.7.0.I20110613-1736)
Only one of the following can be installed at once:
Core Resource Management 3.8.0.v20120522-2034 (org.eclipse.core.resources 3.8.0.v20120522-2034)
Core Resource Management 3.8.1.v20121114-124432 (org.eclipse.core.resources 3.8.1.v20121114-124432)
Core Resource Management 3.8.1.v20120802-154922 (org.eclipse.core.resources 3.8.1.v20120802-154922)
Core Resource Management 3.7.101.dist (org.eclipse.core.resources 3.7.101.dist)
Cannot satisfy dependency:
From: Eclipse Platform 3.7.2.dist-9nF7UHagFqn9pElwWhC90gLz-soEuSGYmtSeiRH (org.eclipse.platform.feature.group 3.7.2.dist-9nF7UHagFqn9pElwWhC90gLz-soEuSGYmtSeiRH)
To: org.eclipse.core.resources [3.7.101.dist]
Cannot satisfy dependency:
From: Eclipse Platform 3.7.0.I20110613-1736 (org.eclipse.platform.ide 3.7.0.I20110613-1736)
To: org.eclipse.platform.feature.group [3.7.2.dist-9nF7UHagFqn9pElwWhC90gLz-soEuSGYmtSeiRH]
Cannot satisfy dependency:
From: Eclipse XML Editors and Tools 3.4.2.v201211061806-7H7GFeJDxumUrsn5qkiQgOEhsz0p60HAmPyU6VX (org.eclipse.wst.xml_ui.feature.feature.group 3.4.2.v201211061806-7H7GFeJDxumUrsn5qkiQgOEhsz0p60HAmPyU6VX)
To: org.eclipse.wst.xsd.ui [1.2.500.v201203081826]
Cannot satisfy dependency:
From: XSD Core Plugin 1.1.700.v201204102147 (org.eclipse.wst.xsd.core 1.1.700.v201204102147)
To: bundle org.eclipse.core.resources [3.8.0,4.0.0)
Cannot satisfy dependency:
From: XML Schema Editor 1.2.500.v201203081826 (org.eclipse.wst.xsd.ui 1.2.500.v201203081826)
To: bundle org.eclipse.wst.xsd.core [1.1.300,1.2.0)
I should mention this is on Ubuntu 12.04 installed from Repos. I have done a fresh install and emptied my Workspace directory after removing. To remove I did a:
sudo apt-get remove eclipse-* --purge
Then I ran autoclean and clean along with deborphan to remove all package dependencies for Eclipse. Afterwords I re-installed for which it re-downloaded everything.
Still the same dependency problem and I don't know why.
You don't have Juno, that would be 3.8 or 4.2. Therefore the update site doesn't match your installation.
On Ubuntu, please do not use the Eclipse versions from the package manager. Instead download them from the website and install them anywhere you like (by means of unzipping). In most Linux distributions, the packaged Eclipse versions are way outdated (as you can see by your build id, dating from June 2011).

Unresolved Dependencies installing Github for Eclipse

I truly do not understand this. I am trying to install the Github plugin for Eclipse from the marketplace. I've tried a variety of things but I always end up with unsatisfied dependencies of some sort.
Cannot complete the install because one or more required items could not be found.
Software being installed: Eclipse EGit Mylyn GitHub Feature 2.2.0.201212191850-r (org.eclipse.mylyn.github.feature.feature.group 2.2.0.201212191850-r)
Missing requirement: Mylyn GitHub Connector UI 2.2.0.201212191850-r (org.eclipse.mylyn.github.ui 2.2.0.201212191850-r) requires 'package org.eclipse.egit.core[2.2.0,2.3.0)' but it could not be found
Cannot satisfy dependency:
From: Eclipse EGit Mylyn GitHub Feature 2.2.0.201212191850-r (org.eclipse.mylyn.github.feature.feature.group 2.2.0.201212191850-r)
To: org.eclipse.mylyn.github.ui [2.2.0.201212191850-r]
The Github integration 2.2 requires Egit 2.2, which in turn requires Eclipse 3.7.2 or higher: https://bugs.eclipse.org/bugs/show_bug.cgi?id=365425
Chances are, your Eclipse installation is an older version than 3.7.2.

Uninterpretable Eclipse Error when installing m2eclipse

When trying to install the current version of m2eclipse (0.12.1.20110112-1712) I get an error which doesn't really help me:
Cannot complete the install because of a conflicting dependency.
Software being installed: Maven Integration for Eclipse (Required) 0.12.1.20110112-1712 (org.maven.ide.eclipse.feature.feature.group 0.12.1.20110112-1712)
Software currently installed: Eclipse Platform 3.5.2 (Eclipse Platform 3.5.2)
Only one of the following can be installed at once:
Eclipse Jobs Mechanism 3.4.100.v20090429-1800 (org.eclipse.core.jobs 3.4.100.v20090429-1800)
Eclipse Jobs Mechanism 3.5.0.v20100515 (org.eclipse.core.jobs 3.5.0.v20100515)
Eclipse Jobs Mechanism 3.5.1.R36x_v20100824 (org.eclipse.core.jobs 3.5.1.R36x_v20100824)
Cannot satisfy dependency:
From: Eclipse Platform 3.5.2 (Eclipse Platform 3.5.2)
To: org.eclipse.core.jobs [3.4.100.v20090429-1800]
Cannot satisfy dependency:
From: Structured Source Model 1.1.500.v201006020308 (org.eclipse.wst.sse.core 1.1.500.v201006020308)
To: bundle org.eclipse.core.jobs [3.5.0,4.0.0)
Cannot satisfy dependency:
From: Structured Source Model 1.1.502.v201008311901 (org.eclipse.wst.sse.core 1.1.502.v201008311901)
To: bundle org.eclipse.core.jobs [3.5.0,4.0.0)
Cannot satisfy dependency:
From: Maven Integration for Eclipse (Required) 0.12.1.20110112-1712 (org.maven.ide.eclipse.feature.feature.group 0.12.1.20110112-1712)
To: org.eclipse.wst.sse.core 0.0.0
My Eclipse version is 3.5.2 and I'm using it under Ubuntu. Maybe someone has an idea? Googling did only bring up error messages at the Eclipse marketplace without any discussion.
I wouldn't worry about Helios being unsupported on Ubuntu according to presumably Ubuntu. Helios is well supported on pretty much all flavors of Linux by the Eclipse community.
If you do want to try installing m2eclipse into your existing Eclipse 3.5 "Galileo" installation, try unchecking the checkbox that reads something like "consult all available update sites" on the screen where you enter m2eclipse update site URL.
The solution is to install Eclipse 3.6 (Helios), which is not officially supported by Ubuntu 10.04. Now, m2eclipse could be installed without a problem.
This is not the most optimal solution, but at least it works now.