Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » P2 » Install new Software vs Update
Install new Software vs Update [message #675972] Thu, 02 June 2011 08:42 Go to next message
Christian Eugster is currently offline Christian EugsterFriend
Messages: 214
Registered: July 2009
Location: St. Gallen Switzerland
Senior Member
Hi, after finally having succeeded to install an update site, populate it with features and install them into my rcp (3.6.2) using p2, there are quite some questions left, I found no answers in the net, in tutorial and in the book OSGi and Equinox:

I have a product with three applications each in an own plugin (product, app1, app2, app3). For each of the apps I created a feature, that contains almost only the main window (activeWorkbenchWindow). The product feature references this three app features.

Some other plugins I bundled to independent features. These features I put on the update site.

I start my already installed product an first installed those features using the p2 install new software.

In one of those bundles I made changes, exported the feature using the update site project and replaced the current update site content with the newly generated.

I want to update my product, start it and invoke "check for update". The updates are shown, but I am not able to update as the message says:

Cannot complete the install because of a conflicting dependency.
Software being installed: Persistence Feature 1.0.0.201106021017 (ch.eugster.colibri.persistence.feature.feature.group 1.0.0.201106021017)
Software currently installed: Transfer Feature 1.0.0.201106012242 (ch.eugster.colibri.persistence.transfer.feature.feature.group 1.0.0.201106012242)
Only one of the following can be installed at once:
Persistence Implementation 1.0.0.201106012242 (ch.eugster.colibri.persistence.connection 1.0.0.201106012242)
Persistence Implementation 1.0.0.201106021017 (ch.eugster.colibri.persistence.connection 1.0.0.201106021017)
Cannot satisfy dependency:
From: Persistence Feature 1.0.0.201106012242 (ch.eugster.colibri.persistence.feature.feature.group 1.0.0.201106012242)
To: ch.eugster.colibri.persistence.connection [1.0.0.201106012242]
Cannot satisfy dependency:
From: Persistence Feature 1.0.0.201106021017 (ch.eugster.colibri.persistence.feature.feature.group 1.0.0.201106021017)
To: ch.eugster.colibri.persistence.connection [1.0.0.201106021017]
Cannot satisfy dependency:
From: Transfer Feature 1.0.0.201106012242 (ch.eugster.colibri.persistence.transfer.feature.feature.group 1.0.0.201106012242)
To: ch.eugster.colibri.persistence.feature.feature.group [1.0.0.201106012242]

I seems, that I do not understand yet the correlations between features and the dependencies between them. Can anyone shed light on this matter or give me a hint, where I can find the answers?

Thank you, really thank you!
Re: Install new Software vs Update [message #676032 is a reply to message #675972] Thu, 02 June 2011 15:02 Go to previous message
Paul Webster is currently offline Paul WebsterFriend
Messages: 6859
Registered: July 2009
Location: Ottawa
Senior Member

See http://www.eclipse.org/forums/index.php/mv/msg/210468/675760/#msg_675760

Basically, a product depends on exact feature versions, which depend on exact plugin versions. Unless you take special steps as mentioned in the other message, you cannot update a feature contained in a product without updating the product.

For example, the eclipse SDK updates plugins by updating the product from 3.6.0 to 3.6.1 to 3.6.2

PW


Previous Topic:Install files that may not be overwritten by later updates
Next Topic:incomplete mirror of Eclipse RAP P2 repository
Goto Forum:
  


Current Time: Sat Dec 14 16:20:44 GMT 2024

Powered by FUDForum. Page generated in 0.02984 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top