GRECLIPSE
  1. GRECLIPSE
  2. GRECLIPSE-498

Installation on Eclipse 3.5.1 fails in Ubuntu

    Details

    • Type: Bug Bug
    • Status: Resolved Resolved
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 2.0.0m1, 2.0.0m2
    • Fix Version/s: 2.0.2Release
    • Component/s: None
    • Labels:
      None
    • Environment:
      Ubuntu 9.10
      JDK 1.6
      Eclipse 3.5.1
    • Number of attachments :
      3

      Description

      Clean install of Ubuntu, and clean install of Eclipse from Ubuntu's package manager.

      Pointing to the Development Build update site for 3.5 ( http://dist.codehaus.org/groovy/distributions/greclipse/snapshot/e3.5/) yields the following error:

      Cannot complete the install because of a conflicting dependency.
      Software being installed: Groovy-Eclipse Feature 2.0.0.xx-20091104-1700-e35 (org.codehaus.groovy.eclipse.feature.feature.group 2.0.0.xx-20091104-1700-e35)
      Software currently installed: Eclipse Platform 3.5.1 (Eclipse Platform 3.5.1)
      Only one of the following can be installed at once:
      Java Development Tools Core 3.5.1.v_972_R35x (org.eclipse.jdt.core 3.5.1.v_972_R35x)
      Java Development Tools Core 3.5.1.xx-20091104-1700-e35 (org.eclipse.jdt.core 3.5.1.xx-20091104-1700-e35)
      Cannot satisfy dependency:
      From: Eclipse Platform 3.5.1 (Eclipse Platform 3.5.1)
      To: org.eclipse.jdt.core [3.5.1.v_972_R35x]
      Cannot satisfy dependency:
      From: Eclipse Platform 3.5.1 (Eclipse Platform 3.5.1)
      To: org.eclipse.jdt.feature.group [3.5.1.r351_v20090810-0600-7r88FEoFHxXYpY3s0jOJPn58EpLN]
      Cannot satisfy dependency:
      From: Groovy-Eclipse Feature 2.0.0.xx-20091104-1700-e35 (org.codehaus.groovy.eclipse.feature.feature.group 2.0.0.xx-20091104-1700-e35)
      To: org.codehaus.groovy.jdt.patch.feature.group [2.0.0.xx-20091104-1700-e35]
      Cannot satisfy dependency:
      From Patch: org.codehaus.groovy.jdt.patch.feature.group 2.0.0.xx-20091104-1700-e35 Eclipse Java Development Tools 3.5.1.r351_v20090810-0600-7r88FEoFHxXYpY3s0jOJPn58EpLN (org.eclipse.jdt.feature.group 3.5.1.r351_v20090810-0600-7r88FEoFHxXYpY3s0jOJPn58EpLN)
      To: org.eclipse.jdt.core [3.5.1.xx-20091104-1700-e35]

      1. feature.xml
        4 kB
        Joel Wiegman
      2. groovy_eclipse_snapshot_error.log
        2 kB
        chocolateboy
      3. groovy_eclipse_stable_error.log
        2 kB
        chocolateboy

        Issue Links

          Activity

          Hide
          Andrew Eisenberg added a comment -

          Not sure what is going on here.

          Could you try downloading Eclipse directly from Eclipse.org instead of using the package manager?

          Your jdt.core feature version is different from the one shipped with Eclipse 3.5.1. This really /shouldn't/ make a difference, but this might be a problem.

          Show
          Andrew Eisenberg added a comment - Not sure what is going on here. Could you try downloading Eclipse directly from Eclipse.org instead of using the package manager? Your jdt.core feature version is different from the one shipped with Eclipse 3.5.1. This really /shouldn't/ make a difference, but this might be a problem.
          Hide
          Joel Wiegman added a comment -

          We've actually successfully installed the plugin with the following combinations:

          3.4.2 (from Eclipse.org) and Ubuntu
          3.5.1 (from Eclipse.org) and OpenSUSE

          The version in the Ubuntu package manager appears to correspond to 3.5.1 milestone 2.

          I'll go out on a sturdy limb and say 3.5.1 from Eclipse.org would work. Pretty sure that most Ubuntu folks would rather use the package manager though.

          Let me know what other information I can provide.

          Show
          Joel Wiegman added a comment - We've actually successfully installed the plugin with the following combinations: 3.4.2 (from Eclipse.org) and Ubuntu 3.5.1 (from Eclipse.org) and OpenSUSE The version in the Ubuntu package manager appears to correspond to 3.5.1 milestone 2. I'll go out on a sturdy limb and say 3.5.1 from Eclipse.org would work. Pretty sure that most Ubuntu folks would rather use the package manager though. Let me know what other information I can provide.
          Hide
          Andrew Eisenberg added a comment -

          Ugggh. These versioning issues are not fun to deal with. I wonder what use is 3.5.1 M2?

          Another possibility (again, not a solution, but a workaround) is to run software update before installing Groovy-Eclipse so that you are sure to be working with 3.5.1 final, rather than a milestone.

          Show
          Andrew Eisenberg added a comment - Ugggh. These versioning issues are not fun to deal with. I wonder what use is 3.5.1 M2? Another possibility (again, not a solution, but a workaround) is to run software update before installing Groovy-Eclipse so that you are sure to be working with 3.5.1 final, rather than a milestone.
          Hide
          Joel Wiegman added a comment -

          I did a "Help" -> "Check for Updates" in Eclipse and a dialog pops up says "There is nothing to update."

          I'll never pretend to understand Eclipse's Update Manager, but I've never been able to update from a milestone release to a major release through the Update Manager.

          I've installed the Subversive updates and the m2eclipse plugin, and it seems to like them.

          Show
          Joel Wiegman added a comment - I did a "Help" -> "Check for Updates" in Eclipse and a dialog pops up says "There is nothing to update." I'll never pretend to understand Eclipse's Update Manager, but I've never been able to update from a milestone release to a major release through the Update Manager. I've installed the Subversive updates and the m2eclipse plugin, and it seems to like them.
          Hide
          Joel Wiegman added a comment - - edited

          I have more interesting info.

          My "Help" -> "About Eclipse SDK" yields the following information:

          Version: 3.5.1
          Build id: M20090917-0800

          And when I go here:

          http://download.eclipse.org/eclipse/downloads/

          It looks like that's the exact timestamp for the version I would download from Eclipse.org!

          So, it looks like I'm on the blessed version of 3.5.1 from Eclipse.org... conceptually anyway.

          Show
          Joel Wiegman added a comment - - edited I have more interesting info. My "Help" -> "About Eclipse SDK" yields the following information: Version: 3.5.1 Build id: M20090917-0800 And when I go here: http://download.eclipse.org/eclipse/downloads/ It looks like that's the exact timestamp for the version I would download from Eclipse.org! So, it looks like I'm on the blessed version of 3.5.1 from Eclipse.org... conceptually anyway.
          Hide
          Andrew Eisenberg added a comment -

          Interesting...I was going to try to install from 3.5.1M2, but it is not even available any more from eclipse.org.

          Can you please attach your feature.xml from your jdt feature?

          eclipse/features/org.eclipse.jdt_<some_garbagy_string>/feature.xml

          This would let me know exactly what versions you have installed. Thanks.

          Show
          Andrew Eisenberg added a comment - Interesting...I was going to try to install from 3.5.1M2, but it is not even available any more from eclipse.org. Can you please attach your feature.xml from your jdt feature? eclipse/features/org.eclipse.jdt_<some_garbagy_string>/feature.xml This would let me know exactly what versions you have installed. Thanks.
          Hide
          Joel Wiegman added a comment - - edited

          Attached jdt feature.xml from Ubuntu package manager installation

          Show
          Joel Wiegman added a comment - - edited Attached jdt feature.xml from Ubuntu package manager installation
          Hide
          Joel Wiegman added a comment -

          For what it's worth, I downloaded the 3.5.1 version from Eclipse and the plug-in installed just fine (as I think we both expected).

          Show
          Joel Wiegman added a comment - For what it's worth, I downloaded the 3.5.1 version from Eclipse and the plug-in installed just fine (as I think we both expected).
          Hide
          Andrew Eisenberg added a comment -

          I am posting to the p2 mailing list. Something odd is going on. The only difference between the feature.xml you sent me and the one for 3.5.1 final is the version of the org.eclipse.jdt branding feature. This should not have any effect on installation.

          Show
          Andrew Eisenberg added a comment - I am posting to the p2 mailing list. Something odd is going on. The only difference between the feature.xml you sent me and the one for 3.5.1 final is the version of the org.eclipse.jdt branding feature. This should not have any effect on installation.
          Hide
          Joel Wiegman added a comment -

          If it helps, the folks that manage the Eclipse distribution for Ubuntu (https://launchpad.net/~eclipse-team) can be reached at eclipse-team@lists.launchpad.net

          Show
          Joel Wiegman added a comment - If it helps, the folks that manage the Eclipse distribution for Ubuntu ( https://launchpad.net/~eclipse-team ) can be reached at eclipse-team@lists.launchpad.net
          Hide
          Michael Maretzke added a comment -

          Hi guys,

          I just tried to install the latest Groovy plug-in (from http://dist.springsource.org/milestone/GRECLIPSE/e3.5/) on the Ubuntu 9.10 packaged Eclipse version (Galileo, Version: 3.5.1 Build id: M20090917-0800).

          There is a history in why folks on Ubuntu utilize the packaged 3.5.1 version of Eclipse. With the update from Ubuntu 9.04 to 9.10 the Linux guys did improve the GTK version and introduced a "mouse doesn't react as expected" problem (https://bugs.launchpad.net/ubuntu/+source/eclipse/+bug/443004). The solution is as described in the before mentioned site to download a specially patched eclipse version.

          This all should be solved with 3.6.0 - but that's currently not stable enough to work with.

          Long explanation - but I guess you still don't have a work-around for my installation problem?

          I ran into the same dependency issue described in this thread ...

          Best regards,
          Michael.

          Show
          Michael Maretzke added a comment - Hi guys, I just tried to install the latest Groovy plug-in (from http://dist.springsource.org/milestone/GRECLIPSE/e3.5/ ) on the Ubuntu 9.10 packaged Eclipse version (Galileo, Version: 3.5.1 Build id: M20090917-0800). There is a history in why folks on Ubuntu utilize the packaged 3.5.1 version of Eclipse. With the update from Ubuntu 9.04 to 9.10 the Linux guys did improve the GTK version and introduced a "mouse doesn't react as expected" problem ( https://bugs.launchpad.net/ubuntu/+source/eclipse/+bug/443004 ). The solution is as described in the before mentioned site to download a specially patched eclipse version. This all should be solved with 3.6.0 - but that's currently not stable enough to work with. Long explanation - but I guess you still don't have a work-around for my installation problem? I ran into the same dependency issue described in this thread ... Best regards, Michael.
          Hide
          Andrew Eisenberg added a comment -

          Well, that explains why the 3.5.1 package is different on Ubuntu. And so you are saying that because of bug 443004, it is not possible for you to use the eclipse downloaded directly from eclipse.org?

          What is happening here, I think is that the patched version of Eclipse on Ubuntu uses a version of the Eclipse platform feature with tight version requirements for the jdt core feature. When Groovy-Eclipse comes along and wants to change that, there is a P2 error because the jdt core feature version needs to change (and the platform feature will not let it). I am not sure of the way around this.

          Please let me know if this is a blocker for you (ie- downloading from eclipse.org is a bo go) and I will explore more.

          Show
          Andrew Eisenberg added a comment - Well, that explains why the 3.5.1 package is different on Ubuntu. And so you are saying that because of bug 443004, it is not possible for you to use the eclipse downloaded directly from eclipse.org? What is happening here, I think is that the patched version of Eclipse on Ubuntu uses a version of the Eclipse platform feature with tight version requirements for the jdt core feature. When Groovy-Eclipse comes along and wants to change that, there is a P2 error because the jdt core feature version needs to change (and the platform feature will not let it). I am not sure of the way around this. Please let me know if this is a blocker for you (ie- downloading from eclipse.org is a bo go) and I will explore more.
          Hide
          Bavo added a comment -

          I have the same issue (Ubuntu-packed eclipse and GRECLIPSE 3.5):

          annot complete the install because of a conflicting dependency.
          Software being installed: Groovy-Eclipse Feature 2.0.1.20100319-1100-e35-RELEASE (org.codehaus.groovy.eclipse.feature.feature.group 2.0.1.20100319-1100-e35-RELEASE)
          Software currently installed: Eclipse Platform 3.5.1 (Eclipse Platform 3.5.1)
          Only one of the following can be installed at once:
          Java Development Tools Core 3.5.1.v_972_R35x (org.eclipse.jdt.core 3.5.1.v_972_R35x)
          Java Development Tools Core 3.5.2.20100319-1100-e35-RELEASE (org.eclipse.jdt.core 3.5.2.20100319-1100-e35-RELEASE)
          Cannot satisfy dependency:
          From: Eclipse Platform 3.5.1 (Eclipse Platform 3.5.1)
          To: org.eclipse.jdt.core [3.5.1.v_972_R35x]
          Cannot satisfy dependency:
          From: Groovy-Eclipse Feature 2.0.1.20100319-1100-e35-RELEASE (org.codehaus.groovy.eclipse.feature.feature.group 2.0.1.20100319-1100-e35-RELEASE)
          To: org.eclipse.jdt.groovy.core [2.0.1.20100319-1100-e35-RELEASE]
          Cannot satisfy dependency:
          From: Eclipse-Groovy Integration Plug-in 2.0.1.20100319-1100-e35-RELEASE (org.eclipse.jdt.groovy.core 2.0.1.20100319-1100-e35-RELEASE)
          To: bundle org.eclipse.jdt.core 3.5.2

          Show
          Bavo added a comment - I have the same issue (Ubuntu-packed eclipse and GRECLIPSE 3.5): – annot complete the install because of a conflicting dependency. Software being installed: Groovy-Eclipse Feature 2.0.1.20100319-1100-e35-RELEASE (org.codehaus.groovy.eclipse.feature.feature.group 2.0.1.20100319-1100-e35-RELEASE) Software currently installed: Eclipse Platform 3.5.1 (Eclipse Platform 3.5.1) Only one of the following can be installed at once: Java Development Tools Core 3.5.1.v_972_R35x (org.eclipse.jdt.core 3.5.1.v_972_R35x) Java Development Tools Core 3.5.2.20100319-1100-e35-RELEASE (org.eclipse.jdt.core 3.5.2.20100319-1100-e35-RELEASE) Cannot satisfy dependency: From: Eclipse Platform 3.5.1 (Eclipse Platform 3.5.1) To: org.eclipse.jdt.core [3.5.1.v_972_R35x] Cannot satisfy dependency: From: Groovy-Eclipse Feature 2.0.1.20100319-1100-e35-RELEASE (org.codehaus.groovy.eclipse.feature.feature.group 2.0.1.20100319-1100-e35-RELEASE) To: org.eclipse.jdt.groovy.core [2.0.1.20100319-1100-e35-RELEASE] Cannot satisfy dependency: From: Eclipse-Groovy Integration Plug-in 2.0.1.20100319-1100-e35-RELEASE (org.eclipse.jdt.groovy.core 2.0.1.20100319-1100-e35-RELEASE) To: bundle org.eclipse.jdt.core 3.5.2 –
          Hide
          Andrew Eisenberg added a comment -

          Bavo,

          Any chance that you can use 3.5.2 instead of 3.5.1? Or you can download an eclipse version directly from eclipse.org.

          Show
          Andrew Eisenberg added a comment - Bavo, Any chance that you can use 3.5.2 instead of 3.5.1? Or you can download an eclipse version directly from eclipse.org.
          Hide
          Bavo added a comment -

          Yes Andrew, that worked. I was using the latest Ubuntu-managed version because the 3.5.1 version of Eclipse was bugged (known GTK issue). Apparently the 3.5.2 has solved that. The groovy plugin works fine in that version.
          Thanks.

          Show
          Bavo added a comment - Yes Andrew, that worked. I was using the latest Ubuntu-managed version because the 3.5.1 version of Eclipse was bugged (known GTK issue). Apparently the 3.5.2 has solved that. The groovy plugin works fine in that version. Thanks.
          Hide
          Andrew Eisenberg added a comment -

          OK. Good. Thanks for getting back to me. I am going to resolve this bug since I have confirmation that this is working on 3.5.2.

          Show
          Andrew Eisenberg added a comment - OK. Good. Thanks for getting back to me. I am going to resolve this bug since I have confirmation that this is working on 3.5.2.
          Hide
          chocolateboy added a comment - - edited

          This is still an issue on Ubuntu 10.04 (Eclipse 3.5.2): https://bugs.launchpad.net/bugs/575376

          Show
          chocolateboy added a comment - - edited This is still an issue on Ubuntu 10.04 (Eclipse 3.5.2): https://bugs.launchpad.net/bugs/575376
          Hide
          Andy Clement added a comment -

          Just installed it fine in fresh Eclipse 3.5.2 on 10.04 linux - greclipse snapshot update site.

          I see you used http://dist.springsource.org/release/GRECLIPSE/e3.5/ - can you try the snapshot site instead? http://dist.codehaus.org/groovy/distributions/greclipse/snapshot/e3.5/

          Show
          Andy Clement added a comment - Just installed it fine in fresh Eclipse 3.5.2 on 10.04 linux - greclipse snapshot update site. I see you used http://dist.springsource.org/release/GRECLIPSE/e3.5/ - can you try the snapshot site instead? http://dist.codehaus.org/groovy/distributions/greclipse/snapshot/e3.5/
          Hide
          chocolateboy added a comment -

          Same result. Hang on - let me purge everything and try again.

          Show
          chocolateboy added a comment - Same result. Hang on - let me purge everything and try again.
          Hide
          chocolateboy added a comment - - edited

          No joy, I'm afraid. I purged Eclipse (sudo aptitude purge eclipse) and verified that /usr/share/eclipse was removed (I had to remove /etc/eclipse manually) and that there were no Eclipse jars in /usr/share/java. I also removed my workspace directories, including an unused one I missed last time, and ~/.eclipse.

          I removed /etc/eclipse (possibly a hangover from a previous non-deb install) and spotted and removed /etc/eclipse.ini.

          After reinstalling, both the stable and the snapshot fail as before.

          Show
          chocolateboy added a comment - - edited No joy, I'm afraid. I purged Eclipse (sudo aptitude purge eclipse) and verified that /usr/share/eclipse was removed (I had to remove /etc/eclipse manually) and that there were no Eclipse jars in /usr/share/java. I also removed my workspace directories, including an unused one I missed last time, and ~/.eclipse. I removed /etc/eclipse (possibly a hangover from a previous non-deb install) and spotted and removed /etc/eclipse.ini. After reinstalling, both the stable and the snapshot fail as before.
          Hide
          chocolateboy added a comment - - edited

          attached error logs

          Show
          chocolateboy added a comment - - edited attached error logs
          Hide
          Andrew Eisenberg added a comment -

          It looks like you have the two update sites installed and activated (the release and the snapshot). Please either disable one of them or uncheck "Contact all update sites...". Let me know if this works for you.

          Show
          Andrew Eisenberg added a comment - It looks like you have the two update sites installed and activated (the release and the snapshot). Please either disable one of them or uncheck "Contact all update sites...". Let me know if this works for you.
          Hide
          chocolateboy added a comment -

          No joy. I removed all sites with "groovy" in the name, then added just the snapshot site:

          http://dist.codehaus.org/groovy/distributions/greclipse/snapshot/e3.5/

          Same "Cannot complete the install because of a conflicting dependency" error, though the details are slightly different:

          http://pastie.org/945866

          Show
          chocolateboy added a comment - No joy. I removed all sites with "groovy" in the name, then added just the snapshot site: http://dist.codehaus.org/groovy/distributions/greclipse/snapshot/e3.5/ Same "Cannot complete the install because of a conflicting dependency" error, though the details are slightly different: http://pastie.org/945866
          Hide
          Andy Clement added a comment -

          Just a note that I downloaded the tar of 3.5.2 (I download by project, JDT version) from the eclipse site and unpacked that, rather than doing anything special to install eclipse. probably makes no difference.

          Show
          Andy Clement added a comment - Just a note that I downloaded the tar of 3.5.2 (I download by project, JDT version) from the eclipse site and unpacked that, rather than doing anything special to install eclipse. probably makes no difference.
          Hide
          chocolateboy added a comment -

          I've gone down the official download route for now (and can confirm again that it's working), but I'd prefer to have this working natively in Ubunbtu. Andrew (Eisenberg), it would be great if you could subscribe to the Launchpad ticket - there's further discussion there.

          Assuming the JDT devs aren't able or willing to provide the hooks Groovy-Eclipse needs, a PPA might be a nice stepping stone to making it a first-class Debian/Ubuntu citizen. If nothing else, getting it working on Ubuntu reduces the chances of newbs like me giving up and using NetBeans

          Thanks, all, for your help.

          Show
          chocolateboy added a comment - I've gone down the official download route for now (and can confirm again that it's working), but I'd prefer to have this working natively in Ubunbtu. Andrew (Eisenberg), it would be great if you could subscribe to the Launchpad ticket - there's further discussion there. Assuming the JDT devs aren't able or willing to provide the hooks Groovy-Eclipse needs, a PPA might be a nice stepping stone to making it a first-class Debian/Ubuntu citizen. If nothing else, getting it working on Ubuntu reduces the chances of newbs like me giving up and using NetBeans Thanks, all, for your help.

            People

            • Assignee:
              Andrew Eisenberg
              Reporter:
              Joel Wiegman
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: