GRECLIPSE

Cannot complete the install because of a conflicting dependency

Details

  • Type: Bug Bug
  • Status: Resolved Resolved
  • Priority: Major Major
  • Resolution: Fixed
  • Affects Version/s: 2.0.0Release
  • Fix Version/s: 2.0.1Release
  • Component/s: Build and distribution
  • Labels:
    None
  • Environment:
    Linux callisto 2.6.31-16-generic #53-Ubuntu SMP Tue Dec 8 04:01:29 UTC 2009 i686 GNU/Linux

    Distributor ID: Ubuntu
    Description: Ubuntu 9.10
    Release: 9.10
    Codename: karmic
  • Number of attachments :
    3

Description

When I attempt to install the 2.0 Groovy-Eclipse plug-in on a newly installed version of Eclipse 3.5.1, I get the following message:

Cannot complete the install because of a conflicting dependency.
Software being installed: Groovy-Eclipse Feature 2.0.0.xx-20100115-0900-e35-RELEASE (org.codehaus.groovy.eclipse.feature.feature.group 2.0.0.xx-20100115-0900-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.xx-20100115-0900-e35-RELEASE (org.eclipse.jdt.core 3.5.1.xx-20100115-0900-e35-RELEASE)
Java Development Tools Core 3.5.1.v_972_R35x (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.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-20100115-0900-e35-RELEASE (org.codehaus.groovy.eclipse.feature.feature.group 2.0.0.xx-20100115-0900-e35-RELEASE)
To: org.codehaus.groovy.jdt.patch.feature.group [2.0.0.xx-20100115-0900-e35-RELEASE]
Cannot satisfy dependency:
From Patch: org.codehaus.groovy.jdt.patch.feature.group 2.0.0.xx-20100115-0900-e35-RELEASE 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-20100115-0900-e35-RELEASE]

Issue Links

Activity

Hide
Andrew Eisenberg added a comment -

This problem has already been reported. Please install an Eclipse from http://eclipse.org/downloads. The version that comes with the Ubuntu package manager is not compatible with Groovy-Eclipse.

Show
Andrew Eisenberg added a comment - This problem has already been reported. Please install an Eclipse from http://eclipse.org/downloads. The version that comes with the Ubuntu package manager is not compatible with Groovy-Eclipse.
Hide
Robert Stagner added a comment -

I've uninstalled the Ubuntu package version and installed the latest version of Eclipse (3.5.1). However, when I attempt to install Groovy-Eclipse plugin from http://dist.springsource.org/release/GRECLIPSE/e3.5/ within Eclipse, nothing happens. Eclipse simply sits idle waiting for the download. Do I have the correct URL?

Show
Robert Stagner added a comment - I've uninstalled the Ubuntu package version and installed the latest version of Eclipse (3.5.1). However, when I attempt to install Groovy-Eclipse plugin from http://dist.springsource.org/release/GRECLIPSE/e3.5/ within Eclipse, nothing happens. Eclipse simply sits idle waiting for the download. Do I have the correct URL?
Hide
Robert Stagner added a comment -

I get "NoSuchKey" returned in the browser if I insert http://dist.springsource.org/release/GRECLIPSE/e3.5/ into the browser's URL address (see attached screenshot for further details)

Show
Robert Stagner added a comment - I get "NoSuchKey" returned in the browser if I insert http://dist.springsource.org/release/GRECLIPSE/e3.5/ into the browser's URL address (see attached screenshot for further details)
Hide
Andrew Eisenberg added a comment -

Hi Robert,

The url is correct. It is just an artifact of how dist.springsource.org is set up that you see the NoSuchKey when you navigate there directly.

Going to: http://dist.springsource.org/release/GRECLIPSE/e3.5/site.xml and you should see the site.xml file.

I don't know why groovy-eclipse wasn't installing. Perhaps it was a network problem. If you are still having problems, you could try the snapshot update site:
http://dist.codehaus.org/groovy/distributions/greclipse/snapshot/e3.5/

ps- apologies for not responding sooner, but I am on leave and am not online often.

Show
Andrew Eisenberg added a comment - Hi Robert, The url is correct. It is just an artifact of how dist.springsource.org is set up that you see the NoSuchKey when you navigate there directly. Going to: http://dist.springsource.org/release/GRECLIPSE/e3.5/site.xml and you should see the site.xml file. I don't know why groovy-eclipse wasn't installing. Perhaps it was a network problem. If you are still having problems, you could try the snapshot update site: http://dist.codehaus.org/groovy/distributions/greclipse/snapshot/e3.5/ ps- apologies for not responding sooner, but I am on leave and am not online often.
Hide
Robert Stagner added a comment -

Hi Andrew,

Thanks for the reply. I tried the http://dist.springsource.org/release/GRECLIPSE/e3.5/ again, as well as the http://dist.codehaus.org/groovy/distributions/greclipse/snapshot/e3.5/ URL. In both cases, Eclipse continues to sit idle, waiting for the download (I've attached another screen shot, "Eclipse_AddSiteWindow", showing what I see). It's a bit frustrating. Adding the site via Eclipse worked about a week or so ago, when I had installed Eclipse from the Ubuntu repository. Now, for some reason, it seems to no longer recognize the URL. I hope we can resolve this issue...I really would like to use Groovy within Eclipse.

Show
Robert Stagner added a comment - Hi Andrew, Thanks for the reply. I tried the http://dist.springsource.org/release/GRECLIPSE/e3.5/ again, as well as the http://dist.codehaus.org/groovy/distributions/greclipse/snapshot/e3.5/ URL. In both cases, Eclipse continues to sit idle, waiting for the download (I've attached another screen shot, "Eclipse_AddSiteWindow", showing what I see). It's a bit frustrating. Adding the site via Eclipse worked about a week or so ago, when I had installed Eclipse from the Ubuntu repository. Now, for some reason, it seems to no longer recognize the URL. I hope we can resolve this issue...I really would like to use Groovy within Eclipse.
Hide
Udo Walte added a comment -

Hello Robert,

as Andrew mentioned the Eclipse version installed via the ubuntu channel is incompatible with the Groovy-Plugin. The Ubuntu Developers obviously had altered it to work with the new GTK version used in Karmic. But this new GTK version is also the reason why the Eclipse version from http://eclipse.org/downloads behave such strange.
The workaround ist to launch the Eclipse from http://eclipse.org/downloads with the command "env GDK_NATIVE_WINDOWS=1 /path/to/install/directory".
More on this issue you can read at: https://bugs.eclipse.org/bugs/show_bug.cgi?id=287307

Greetings

Show
Udo Walte added a comment - Hello Robert, as Andrew mentioned the Eclipse version installed via the ubuntu channel is incompatible with the Groovy-Plugin. The Ubuntu Developers obviously had altered it to work with the new GTK version used in Karmic. But this new GTK version is also the reason why the Eclipse version from http://eclipse.org/downloads behave such strange. The workaround ist to launch the Eclipse from http://eclipse.org/downloads with the command "env GDK_NATIVE_WINDOWS=1 /path/to/install/directory". More on this issue you can read at: https://bugs.eclipse.org/bugs/show_bug.cgi?id=287307 Greetings
Hide
Robert Stagner added a comment -

Hello Udo,

Thanks for the information!! I've gone ahead and removed the previously installed version of Eclipse from my system by deleting both the /home/restagner/eclipse directory and the /home/restagner/.eclipse directory. I then re-installed Eclipse from the eclipse-SDK-3.5.1-linux-gtk.tar.gz file. Once the application was installed again, I launched Eclipse from within the installation directory, using the following from the command line

env GDK_NATIVE_WINDOWS=1; ./eclipse

I then went to Help > Install New Software > Add... and used the following URL http://dist.springsource.org/release/GRECLIPSE/e3.5/. Unfortunately, this does not seem to work. Eclipse continues to sit idle, waiting for the download.

I'm not sure if this helps, but when I enter the URL, http://dist.springsource.org/release/GRECLIPSE/e3.5/, into my browser's address, the browser returns a message stating "Oops! This link appears to be broken."

Show
Robert Stagner added a comment - Hello Udo, Thanks for the information!! I've gone ahead and removed the previously installed version of Eclipse from my system by deleting both the /home/restagner/eclipse directory and the /home/restagner/.eclipse directory. I then re-installed Eclipse from the eclipse-SDK-3.5.1-linux-gtk.tar.gz file. Once the application was installed again, I launched Eclipse from within the installation directory, using the following from the command line env GDK_NATIVE_WINDOWS=1; ./eclipse I then went to Help > Install New Software > Add... and used the following URL http://dist.springsource.org/release/GRECLIPSE/e3.5/. Unfortunately, this does not seem to work. Eclipse continues to sit idle, waiting for the download. I'm not sure if this helps, but when I enter the URL, http://dist.springsource.org/release/GRECLIPSE/e3.5/, into my browser's address, the browser returns a message stating "Oops! This link appears to be broken."
Hide
Udo Walte added a comment -

Hello Robert,

please remove the semicolon in your command.

Greetings

Show
Udo Walte added a comment - Hello Robert, please remove the semicolon in your command. Greetings
Hide
Andrew Eisenberg added a comment -

Hi Robert,

I can guarantee that http://dist.springsource.org/release/GRECLIPSE/e3.5/ is the correct url (even though pointing a browser at it gives you an error). I don't know why the install is not working for you. Perhaps there is a firewall issue?

You can try installing using a different mechanism. You can install using the p2 director application via this script:

#!/bin/bash
ECLIPSE_DIR=$1
GROOVY_US=$2

# Install given feature into Eclipse
install_feature () {
        ECLIPSELOCATION=`ls $ECLIPSE_DIR/plugins/org.eclipse.equinox.launcher_*`
        $JAVA_HOME/bin/java -jar $ECLIPSELOCATION -nosplash -application org.eclipse.equinox.p2.director \
                -metadataRepository $2 \
                -artifactRepository $2 \
                -installIU $1.feature.group
}

install_feature org.codehaus.groovy.eclipse.feature $GROOVY_US

Run the script like this:

install.sh /opt/eclipse3.5 http://dist.springsource.org/release/GRECLIPSE/e3.5/

This will install from the release update site. To install from the snapshot update site, use http://dist.codehaus.org/groovy/distributions/greclipse/snapshot/e3.5/ instead.

If this fails as well, it may provide better diagnostics as to why it is failing.

Show
Andrew Eisenberg added a comment - Hi Robert, I can guarantee that http://dist.springsource.org/release/GRECLIPSE/e3.5/ is the correct url (even though pointing a browser at it gives you an error). I don't know why the install is not working for you. Perhaps there is a firewall issue? You can try installing using a different mechanism. You can install using the p2 director application via this script:
#!/bin/bash
ECLIPSE_DIR=$1
GROOVY_US=$2

# Install given feature into Eclipse
install_feature () {
        ECLIPSELOCATION=`ls $ECLIPSE_DIR/plugins/org.eclipse.equinox.launcher_*`
        $JAVA_HOME/bin/java -jar $ECLIPSELOCATION -nosplash -application org.eclipse.equinox.p2.director \
                -metadataRepository $2 \
                -artifactRepository $2 \
                -installIU $1.feature.group
}

install_feature org.codehaus.groovy.eclipse.feature $GROOVY_US
Run the script like this:
install.sh /opt/eclipse3.5 http://dist.springsource.org/release/GRECLIPSE/e3.5/
This will install from the release update site. To install from the snapshot update site, use http://dist.codehaus.org/groovy/distributions/greclipse/snapshot/e3.5/ instead. If this fails as well, it may provide better diagnostics as to why it is failing.
Hide
Robert Stagner added a comment -

Hi Udo,

Removing the semicolon did the trick! I've been able to finally install the Groovy plug-in

Regards
Robert

Show
Robert Stagner added a comment - Hi Udo, Removing the semicolon did the trick! I've been able to finally install the Groovy plug-in Regards Robert
Hide
Andrew Eisenberg added a comment -

Thanks Udo for figuring this out.

I don't think there's anything left for this bug, so I am resolving it as fixed. Please reopen if there is something else.

Show
Andrew Eisenberg added a comment - Thanks Udo for figuring this out. I don't think there's anything left for this bug, so I am resolving it as fixed. Please reopen if there is something else.

People

Vote (0)
Watch (0)

Dates

  • Created:
    Updated:
    Resolved: