Community
Participate
Working Groups
I'm trying to install a number of features from a p2 repo via a p2.director script, and it's failing due to version conflicts in required dependencies. I'm using the latest 3.6.x maintenance build, M20101020-0925, and this script: http://anonsvn.jboss.org/repos/jbosstools/trunk/build/target-platform/build.xml Here's the console log [p2.dir] Installation failed. [p2.dir] Cannot complete the install because of a conflicting dependency. [p2.dir] Software being installed: Equinox Core SDK 3.6.1.R36x_v20101007-7sF99FsHFTw8HQBta4g33J3F (org.eclipse.equinox.core.sdk.feature.group 3.6.1.R36x_v20101007-7sF99FsHFTw8HQBta4g33J3F) [p2.dir] Software being installed: Eclipse Platform 3.6.2.r362_v20100929-9gF78GrqFrD9Uh-OltlT9H_z0p1mnhRBz-PPmGWk (org.eclipse.platform.feature.group 3.6.2.r362_v20100929-9gF78GrqFrD9Uh-OltlT9H_z0p1mnhRBz-PPmGWk) [p2.dir] Only one of the following can be installed at once: [p2.dir] OSGi System Bundle 3.6.1.R36x_v20100806 (org.eclipse.osgi 3.6.1.R36x_v20100806) [p2.dir] OSGi System Bundle 3.6.1.R36x_v20101015 (org.eclipse.osgi 3.6.1.R36x_v20101015) [p2.dir] Cannot satisfy dependency: [p2.dir] From: Equinox Core SDK 3.6.1.R36x_v20101007-7sF99FsHFTw8HQBta4g33J3F (org.eclipse.equinox.core.sdk.feature.group 3.6.1.R36x_v20101007-7sF99FsHFTw8HQBta4g33J3F) [p2.dir] To: org.eclipse.osgi [3.6.1.R36x_v20100806] [p2.dir] Cannot satisfy dependency: [p2.dir] From: Eclipse Platform 3.6.2.r362_v20100929-9gF78GrqFrD9Uh-OltlT9H_z0p1mnhRBz-PPmGWk (org.eclipse.platform.feature.group 3.6.2.r362_v20100929-9gF78GrqFrD9Uh-OltlT9H_z0p1mnhRBz-PPmGWk) [p2.dir] To: org.eclipse.rcp.feature.group [3.6.2.r362_v20100929-9OArFLtFjY-ThlnOoBv_whoMlFVj] [p2.dir] Cannot satisfy dependency: [p2.dir] From: Eclipse RCP 3.6.2.r362_v20100929-9OArFLtFjY-ThlnOoBv_whoMlFVj (org.eclipse.rcp.feature.group 3.6.2.r362_v20100929-9OArFLtFjY-ThlnOoBv_whoMlFVj) [p2.dir] To: org.eclipse.osgi [3.6.1.R36x_v20101015] or: [p2.dir] Installation failed. [p2.dir] Cannot complete the install because of a conflicting dependency. [p2.dir] Software being installed: Equinox Core SDK 3.6.1.R36x_v20101007-7sF99FsHFTw8HQBta4g33J3F (org.eclipse.equinox.core.sdk.feature.group 3.6.1.R36x_v20101007-7sF99FsHFTw8HQBta4g33J3F) [p2.dir] Software being installed: Core Server Feature 1.0.1.R36x_v20101007-7K7QErDzbb9z-yqHb56L8H (org.eclipse.equinox.server.core.feature.group 1.0.1.R36x_v20101007-7K7QErDzbb9z-yqHb56L8H) [p2.dir] Only one of the following can be installed at once: [p2.dir] OSGi System Bundle 3.6.1.R36x_v20100806 (org.eclipse.osgi 3.6.1.R36x_v20100806) [p2.dir] OSGi System Bundle 3.6.1.R36x_v20101015 (org.eclipse.osgi 3.6.1.R36x_v20101015) [p2.dir] Cannot satisfy dependency: [p2.dir] From: Equinox Core SDK 3.6.1.R36x_v20101007-7sF99FsHFTw8HQBta4g33J3F (org.eclipse.equinox.core.sdk.feature.group 3.6.1.R36x_v20101007-7sF99FsHFTw8HQBta4g33J3F) [p2.dir] To: org.eclipse.osgi [3.6.1.R36x_v20100806] [p2.dir] Cannot satisfy dependency: [p2.dir] From: Core Server Feature 1.0.1.R36x_v20101007-7K7QErDzbb9z-yqHb56L8H (org.eclipse.equinox.server.core.feature.group 1.0.1.R36x_v20101007-7K7QErDzbb9z-yqHb56L8H) [p2.dir] To: org.eclipse.osgi [3.6.1.R36x_v20101015] So should Equinox Core SDK 3.6.1.R36x_v20101007-7sF99FsHFTw8HQBta4g33J3F (org.eclipse.equinox.core.sdk.feature.group) depend/require org.eclipse.osgi [3.6.1.R36x_v20101015] instead of org.eclipse.osgi [3.6.1.R36x_v20100806] ? Or should I exclude this feature from the .target file [1], and include some other feature(s) instead? [1]http://anonsvn.jboss.org/repos/jbosstools/trunk/build/target-platform/e361-wtp322.target
Kim or Andrew, can you tell us what feature group is depending on org.eclipse.osgi [3.6.1.R36x_v20100806]? From the message below? The M20101020-0925 builds should all be using org.eclipse.osgi [3.6.1.R36x_v20101015] but the message does not make it clear to me who is depending on the old version. I have confirmed that org.eclipse.equinox.core.sdk.feature depends on org.eclipse.osgi [3.6.1.R36x_v20101015] from the M20101020-0925 build: <plugin id="org.eclipse.osgi" download-size="0" install-size="0" version="3.6.1.R36x_v20101015" unpack="false"/> Note that in the next M-Build org.eclipse.osgi will be moved to version 3.6.2.
In these two error messages it is org.eclipse.equinox.core.sdk depending on the old R36x_v20100806. The other two (rcp & equinox.server.core) both depend on the new version. The version here for equinox.core.sdk is 3.6.1.R36x_v20101007-7sF99FsHFTw8HQBta4g33J3F And looking in M20101013-0800 I see the same version 3.6.1.R36x_v20101007-7sF99FsHFTw8HQBta4g33J3F It looks like the version did not get incremented
(In reply to comment #2) > It looks like the version did not get incremented Does this imply I should retag the feature? I bet the version will increase with the increase of org.eclipse.osgi version to 3.6.2 anyway.
(In reply to comment #3) > (In reply to comment #2) > > It looks like the version did not get incremented > > Does this imply I should retag the feature? I bet the version will increase > with the increase of org.eclipse.osgi version to 3.6.2 anyway. Yes, I think it does. Fix + retag so that everything gets incremented and I can once again install w/o this requirement conflict.
This was fixed as part of bug327233. *** This bug has been marked as a duplicate of bug 327233 ***