[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [p2-dev] How to update a component feature of a product build?

IIRC a product specifies an exact version for its features.  So in your case product XYZ requires feature A, B, and C (version 1.0 of each).  You cannot upgrade a single feature because the existing product depends on old version of that feature.

You need to create a new product IU with a requirement on feature A (2.0), B(1.0), and C(1.0) -- if you upgrading A in this case.  Then you upgrade the product.

HTH.

Cheers,
ian

On Thu, Jul 29, 2010 at 7:18 AM, Samuel Wu <samuelwu@xxxxxxxxxx> wrote:

Hello there,
I have a product build which contains three features and I need to update one of the features. When I tried to update the current one 3.6.0.201007281811 with the new one 3.6.0.201007290954, I got the following error message.

Your original request has been modified.
"TPF Toolkit Install Handler" is already installed, so an update will be performed instead.
Cannot complete the install because of a conflicting dependency.
Software being installed: TPF Toolkit Install Handler 3.6.0.201007290954 (com.ibm.tpf.installHandler.feature.group 3.6.0.201007290954)
Software currently installed: IBM TPF Toolkit 3.6.0.v201006271507 (com.ibm.tpf.toolkit.product 3.6.0.v201006271507)
Only one of the following can be installed at once:
TPF Toolkit Install Handler 3.6.0.201007281811 (com.ibm.tpf.installHandler.feature.jar 3.6.0.201007281811)
TPF Toolkit Install Handler 3.6.0.201007290954 (com.ibm.tpf.installHandler.feature.jar 3.6.0.201007290954)
Cannot satisfy dependency:
From: TPF Toolkit Install Handler 3.6.0.201007281811 (com.ibm.tpf.installHandler.feature.group 3.6.0.201007281811)
To: com.ibm.tpf.installHandler.feature.jar [3.6.0.201007281811]
Cannot satisfy dependency:
From: TPF Toolkit Install Handler 3.6.0.201007290954 (com.ibm.tpf.installHandler.feature.group 3.6.0.201007290954)
To: com.ibm.tpf.installHandler.feature.jar [3.6.0.201007290954]
Cannot satisfy dependency:
From: IBM TPF Toolkit 3.6.0.v201006271507 (com.ibm.tpf.toolkit.product 3.6.0.v201006271507)
To: com.ibm.tpf.installHandler.feature.group [3.6.0.201007281811]

Can you please advise how to update a included feature in the product? Thanks in advance.

Best Regards

Samuel Wu


_______________________________________________
p2-dev mailing list
p2-dev@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/p2-dev




--
R. Ian Bull | EclipseSource Victoria | +1 250 477 7484
http://eclipsesource.com | http://twitter.com/eclipsesource