Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Rich Client Platform (RCP) » P2 Update of RCP based application failes
P2 Update of RCP based application failes [message #546613] Tue, 13 July 2010 14:42 Go to next message
Daniel Murygin is currently offline Daniel MuryginFriend
Messages: 12
Registered: July 2010
Junior Member
I trying to update an Eclipse-RCP-3.5 based application by an P2 update-site. Application contains two features.

Product is build by Eclipse Buckminster. Creation of the P2 update site is part of the product build.

When start the update by Menu: Update -> Check for Updates a messages box is shown: There is nothing to update.

When i try Menu: Update -> Install New Software... an select the same update-site an error is reported:

Your original request has been modified.
  "Verinice Anwendung" is already installed, so an update will be performed instead.
  "verinice server Feature" is already installed, so an update will be performed instead.
Cannot complete the install because of a conflicting dependency.
  Software being installed: Verinice Anwendung 1.1.1.201007130142 (sernet.gs.ui.rcp.main.feature.feature.group 1.1.1.201007130142)
  Software currently installed: verinice 1.1.1 (sernet.gs.ui.rcp.main.product 1.1.1)
  Only one of the following can be installed at once: 
    Verinice Anwendung 1.1.1.201007130142 (sernet.gs.ui.rcp.main.feature.feature.jar 1.1.1.201007130142)
    Verinice Anwendung 1.1.1.201007021358 (sernet.gs.ui.rcp.main.feature.feature.jar 1.1.1.201007021358)
  Cannot satisfy dependency:
    From: Verinice Anwendung 1.1.1.201007021358 (sernet.gs.ui.rcp.main.feature.feature.group 1.1.1.201007021358)
    To: sernet.gs.ui.rcp.main.feature.feature.jar [1.1.1.201007021358]
  Cannot satisfy dependency:
    From: Verinice Anwendung 1.1.1.201007130142 (sernet.gs.ui.rcp.main.feature.feature.group 1.1.1.201007130142)
    To: sernet.gs.ui.rcp.main.feature.feature.jar [1.1.1.201007130142]
  Cannot satisfy dependency:
    From: verinice 1.1.1 (sernet.gs.ui.rcp.main.product 1.1.1)
    To: sernet.gs.ui.rcp.main.feature.feature.group [1.1.1.201007021358]


What's going wrong?
Re: P2 Update of RCP based application failes [message #546687 is a reply to message #546613] Tue, 13 July 2010 17:59 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: cjcool.comcast.net

Hey Daniel:

I have a similar issue, but unfortunartely I do not have a solution yet.
However, I was able to get my product-based P2-enabled application to update
by using the following path:

1. Select Help->About MyProduct
2. Click on Installation Details
3. Select the installed product from the lis (MyProduct)
4. Click the Update... button on the bottom of the screen.

Then the Update dialogs appear and it works fine. What I don't understand is
why this path works but the 'Check for Updates' doesn't.

I think it has to do with the RCP being product-based, but I haven't been
able to figure out a workaround. From your post it looks like you are also
doing a product-based build. Is that correct?

BTW, I posted this question back in Dec in the eclipse.platform.pde and in
Jan in the eclipse.technology.equinox groups but did not get a response.

There appears to be a new eclipse.p2 group, so you may want to post your
question there also.

Regards,

Chris




"Daniel Murygin" <daniel.murygin@googlemail.com> wrote in message
news:i1hu1b$sfv$1@build.eclipse.org...
>I trying to update an Eclipse-RCP-3.5 based application by an P2
>update-site. Application contains two features.
>
> Product is build by Eclipse Buckminster. Creation of the P2 update site is
> part of the product build.
>
> When start the update by Menu: Update -> Check for Updates a messages box
> is shown: There is nothing to update.
>
> When i try Menu: Update -> Install New Software... an select the same
> update-site an error is reported:
>
> Your original request has been modified.
> "Verinice Anwendung" is already installed, so an update will be performed
> instead.
> "verinice server Feature" is already installed, so an update will be
> performed instead.
> Cannot complete the install because of a conflicting dependency.
> Software being installed: Verinice Anwendung 1.1.1.201007130142
> (sernet.gs.ui.rcp.main.feature.feature.group 1.1.1.201007130142)
> Software currently installed: verinice 1.1.1
> (sernet.gs.ui.rcp.main.product 1.1.1)
> Only one of the following can be installed at once: Verinice Anwendung
> 1.1.1.201007130142 (sernet.gs.ui.rcp.main.feature.feature.jar
> 1.1.1.201007130142)
> Verinice Anwendung 1.1.1.201007021358
> (sernet.gs.ui.rcp.main.feature.feature.jar 1.1.1.201007021358)
> Cannot satisfy dependency:
> From: Verinice Anwendung 1.1.1.201007021358
> (sernet.gs.ui.rcp.main.feature.feature.group 1.1.1.201007021358)
> To: sernet.gs.ui.rcp.main.feature.feature.jar [1.1.1.201007021358]
> Cannot satisfy dependency:
> From: Verinice Anwendung 1.1.1.201007130142
> (sernet.gs.ui.rcp.main.feature.feature.group 1.1.1.201007130142)
> To: sernet.gs.ui.rcp.main.feature.feature.jar [1.1.1.201007130142]
> Cannot satisfy dependency:
> From: verinice 1.1.1 (sernet.gs.ui.rcp.main.product 1.1.1)
> To: sernet.gs.ui.rcp.main.feature.feature.group [1.1.1.201007021358]
>
> What's going wrong?
>
Re: P2 Update of RCP based application failes [message #546954 is a reply to message #546687] Wed, 14 July 2010 17:16 Go to previous messageGo to next message
Andrew Niefer is currently offline Andrew NieferFriend
Messages: 990
Registered: July 2009
Senior Member
See my answer over on stack overflow:
http://stackoverflow.com/questions/3238144/p2-update-of-rcp- based-application-failes

-Andrew
Chris Cool wrote:

> Hey Daniel:
>
> I have a similar issue, but unfortunartely I do not have a solution yet.
> However, I was able to get my product-based P2-enabled application to
> update by using the following path:
>
> 1. Select Help->About MyProduct
> 2. Click on Installation Details
> 3. Select the installed product from the lis (MyProduct)
> 4. Click the Update... button on the bottom of the screen.
>
> Then the Update dialogs appear and it works fine. What I don't understand
> is why this path works but the 'Check for Updates' doesn't.
>
> I think it has to do with the RCP being product-based, but I haven't been
> able to figure out a workaround. From your post it looks like you are also
> doing a product-based build. Is that correct?
>
> BTW, I posted this question back in Dec in the eclipse.platform.pde and in
> Jan in the eclipse.technology.equinox groups but did not get a response.
>
> There appears to be a new eclipse.p2 group, so you may want to post your
> question there also.
>
> Regards,
>
> Chris
>
>
>
>
> "Daniel Murygin" <daniel.murygin@googlemail.com> wrote in message
> news:i1hu1b$sfv$1@build.eclipse.org...
>>I trying to update an Eclipse-RCP-3.5 based application by an P2
>>update-site. Application contains two features.
>>
>> Product is build by Eclipse Buckminster. Creation of the P2 update site
>> is part of the product build.
>>
>> When start the update by Menu: Update -> Check for Updates a messages box
>> is shown: There is nothing to update.
>>
>> When i try Menu: Update -> Install New Software... an select the same
>> update-site an error is reported:
>>
>> Your original request has been modified.
>> "Verinice Anwendung" is already installed, so an update will be
>> performed
>> instead.
>> "verinice server Feature" is already installed, so an update will be
>> performed instead.
>> Cannot complete the install because of a conflicting dependency.
>> Software being installed: Verinice Anwendung 1.1.1.201007130142
>> (sernet.gs.ui.rcp.main.feature.feature.group 1.1.1.201007130142)
>> Software currently installed: verinice 1.1.1
>> (sernet.gs.ui.rcp.main.product 1.1.1)
>> Only one of the following can be installed at once: Verinice Anwendung
>> 1.1.1.201007130142 (sernet.gs.ui.rcp.main.feature.feature.jar
>> 1.1.1.201007130142)
>> Verinice Anwendung 1.1.1.201007021358
>> (sernet.gs.ui.rcp.main.feature.feature.jar 1.1.1.201007021358)
>> Cannot satisfy dependency:
>> From: Verinice Anwendung 1.1.1.201007021358
>> (sernet.gs.ui.rcp.main.feature.feature.group 1.1.1.201007021358)
>> To: sernet.gs.ui.rcp.main.feature.feature.jar [1.1.1.201007021358]
>> Cannot satisfy dependency:
>> From: Verinice Anwendung 1.1.1.201007130142
>> (sernet.gs.ui.rcp.main.feature.feature.group 1.1.1.201007130142)
>> To: sernet.gs.ui.rcp.main.feature.feature.jar [1.1.1.201007130142]
>> Cannot satisfy dependency:
>> From: verinice 1.1.1 (sernet.gs.ui.rcp.main.product 1.1.1)
>> To: sernet.gs.ui.rcp.main.feature.feature.group [1.1.1.201007021358]
>>
>> What's going wrong?
>>
Re: P2 Update of RCP based application failes [message #547050 is a reply to message #546613] Thu, 15 July 2010 10:12 Go to previous message
Daniel Murygin is currently offline Daniel MuryginFriend
Messages: 12
Registered: July 2010
Junior Member
Thanks to Andrew for his answer on stackoverflow.

Update works fine if you increment the product version in your ***.product file before building the update site.
Previous Topic:[CNF] FilteredTree support ?
Next Topic:Configure a p2 update repository programmatically
Goto Forum:
  


Current Time: Sat Apr 20 04:25:09 GMT 2024

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

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

Back to the top