[
Date Prev][
Date Next][
Thread Prev][
Thread Next][
Date Index][
Thread Index]
[
List Home]
Re: [pde-dev] Cannot satisfy dependency for product_root
|
Some of us do loosely follow this list :-).
I think you should specify a version in the product file (at least 1.0.0.qualifier). From the second error, it looks like you are pulling in two different versions of the equinox bundle. Is your product built from features or plugins?
cheers,
ian
On Tue, Oct 25, 2011 at 9:01 AM, Curtis Windatt
<Curtis_Windatt@xxxxxxxxxx> wrote:
Hi,
I doubt there is anyone on this mailing
list knowledgeable enough about p2 to help you with your problem. You
could try p2's office hours on IRC (http://lenettoyeur-on-eclipse.blogspot.com/2011/09/p2-and-equinox-office-hours.html)
Curtis
Hi,
I am building a rcp product with p2, but got an error when calling p2 director:
[java] [p2.director] Only one of the following can be installed at once:
[java] [p2.director] Cannot satisfy dependency:
[java] [p2.director] Cannot satisfy dependency:
[java] [p2.director] Installation failed.
[java] [p2.director] Cannot complete the install because of a conflicting
dependency.
[java] [p2.director] Software being installed: My Product 0.0.0 (myproduct.product
0.0.0)
[java] [p2.director] Only one of the following can be installed at
once:
[java] [p2.director] myproduct.product_root.win32.win32.x86 3.5.0.v20110530-7P7NFUFFLWUl76mart
[java] [p2.director] myproduct.product_root.win32.win32.x86 0.0.0
[java] [p2.director] Cannot satisfy dependency:
[java] [p2.director] From: My Product 0.0.0 (myproduct.product 0.0.0)
[java] [p2.director] To: myproduct.product_root.win32.win32.x86
[0.0.0]
[java] [p2.director] Cannot satisfy dependency:
[java] [p2.director] From: My Product 0.0.0 (myproduct.product 0.0.0)
[java] [p2.director] To: myproduct.product_root.win32.win32.x86
[3.5.0.v20110530-7P7NFUFFLWUl76mart]
I looked at the generated p2.inf and found:
units.11.requires.2.name=bundle
units.11.requires.2.range=[1.0.0,2.0.0)
units.11.requires.2.greedy=false
requires.12.namespace=org.eclipse.equinox.p2.iu
requires.12.name=myproduct.product_root.win32.win32.x86
requires.12.range=[3.5.0.v20110530-7P7NFUFFLWUl76mart,3.5.0.v20110530-7P7NFUFFLWUl76mart]
requires.12.greedy=true
requires.12.filter=(& (osgi.ws=win32) (osgi.os=win32) (osgi.arch=x86))
requires.13.namespace=org.eclipse.equinox.p2.iu
requires.13.name=myproduct.product_root.win32.win32.x86
requires.13.range=[0.0.0,0.0.0]
requires.13.greedy=true
requires.13.filter=(& (osgi.ws=win32) (osgi.os=win32) (osgi.arch=x86))
units.13.id=myproduct.product_root.win32.win32.x86
units.13.version=0.0.0
units.13.properties.1.name=org.eclipse.pde.build.default
units.13.properties.1.value=true
units.13.filter=(& (osgi.ws=win32) (osgi.os=win32) (osgi.arch=x86))
units.13.provides.1.namespace=org.eclipse.equinox.p2.iu
units.13.provides.1.name=myproduct.product_root.win32.win32.x86
units.13.provides.1.version=0.0.0
units.13.provides.2.namespace=org.eclipse.equinox.p2.flavor
units.13.provides.2.name=
units.13.provides.2.version=1.0.0
units.13.touchpoint.id=org.eclipse.equinox.p2.osgi
units.13.touchpoint.version=1.0.0
units.13.instructions.unconfigure=setLauncherName()
I think the requires.12 and requires.13 are conflicts but don't know how
to avoid it.
I didn't specify version in .product file. If I did that, I would get another
error:
[java] [p2.director] Installation failed.
[java] [p2.director] Cannot complete the install because of a conflicting
dependency.
[java] [p2.director] Software being installed: My Product 1.3.0.201110231120
(myproduct.product 1.3.0.201110231120)
[java] [p2.director] Only one of the following can be installed at
once:
[java] [p2.director] OSGi System Bundle 3.7.1.R37x_v20110808-1106
(org.eclipse.osgi 3.7.1.R37x_v20110808-1106)
[java] [p2.director] org.eclipse.osgi 1.3.0.201110231120
_______________________________________________
pde-dev mailing list
pde-dev@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/pde-dev
_______________________________________________
pde-dev mailing list
pde-dev@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/pde-dev
--
R. Ian Bull | EclipseSource Victoria | +1 250 477 7484
http://eclipsesource.com |
http://twitter.com/eclipsesource