Hi Krishantha,

Currently the APIs that we have used in the p2 plugin is not supporting
updating any installed features. So for the moment if there are any
updating operations, then you have to use the management console.

Updating operation requires checking any existing dependencies. Thus one
approach would be to incorporate "update feature functionality"
implementation in carbon kernel into the p2 plugin which is quite complex.
(Feature installation process in p2 plugin is different from that of carbon
platform)

Will try to incorporate this into p2-profile-gen by fixing the bug soon.

Thanks,
Dinusha


On Mon, Sep 21, 2015 at 4:08 PM, Krishantha Samaraweera <[email protected]
> wrote:

> Hi all,
>
> Any chance to look into this issue ?
>
> Thanks,
> Krishantha.
>
> On Mon, Sep 14, 2015 at 11:11 AM, Dinusha Boteju <[email protected]>
> wrote:
>
>> Hi,
>>
>> Sure, I'll look into this and get back to you.
>>
>> Regards,
>> Dinusha
>>
>> On Mon, Sep 14, 2015 at 11:08 AM, Niranjan Karunanandham <
>> [email protected]> wrote:
>>
>>> Hi,
>>>
>>> I tried to install the install the 
>>> org.wso2.carbon.registry.contentsearch.server.feature
>>> 4.2.2 into IS 5.0.0 and got the same error as mentioned by Malintha.
>>>
>>> @Dinusha: Will you be able to look into this?
>>>
>>> Regards,
>>> Nira
>>>
>>> On Fri, Sep 11, 2015 at 5:22 PM, Sameera Jayasoma <[email protected]>
>>> wrote:
>>>
>>>> I will check this.
>>>>
>>>> On Fri, Sep 11, 2015 at 5:18 PM, Malintha Adikari <[email protected]>
>>>> wrote:
>>>>
>>>>> attaching POM file used to install key manager features.
>>>>>
>>>>> On Thu, Sep 10, 2015 at 10:56 AM, Krishantha Samaraweera <
>>>>> [email protected]> wrote:
>>>>>
>>>>>> Hi Malintha,
>>>>>>
>>>>>> Shall we try to installed the feature using osgi console. You can
>>>>>> refer [1]. Automation of this approach would be bit tricky as we need to
>>>>>> maintain another script to do all these command execution.
>>>>>>
>>>>>> [1] http://wiki.eclipse.org/Equinox_p2_Console_Users_Guide
>>>>>>
>>>>>> Thanks,
>>>>>> Krishantha.
>>>>>>
>>>>>> On Wed, Sep 9, 2015 at 10:46 PM, Malintha Adikari <[email protected]>
>>>>>> wrote:
>>>>>>
>>>>>>> Thank you Lasitha for infomation
>>>>>>>
>>>>>>> On Wed, Sep 9, 2015 at 10:26 PM, Malintha Adikari <[email protected]
>>>>>>> > wrote:
>>>>>>>
>>>>>>>> Adding Krishantha
>>>>>>>> On Sep 9, 2015 6:30 PM, "Lasitha Wattaladeniya" <[email protected]>
>>>>>>>> wrote:
>>>>>>>>
>>>>>>>>> Hi Malintha,
>>>>>>>>>
>>>>>>>>> Apparently there's a bug, it's reported in this jira [1].
>>>>>>>>>
>>>>>>>>> [1]. https://wso2.org/jira/browse/CARBON-15195
>>>>>>>>>
>>>>>>>>> On Wed, Sep 9, 2015 at 3:59 PM, Malintha Adikari <
>>>>>>>>> [email protected]> wrote:
>>>>>>>>>
>>>>>>>>>> Hi,
>>>>>>>>>>
>>>>>>>>>> I am installing keymanager feature to IS 5.0.0 pack using pom
>>>>>>>>>> file. I am getting version conflicts for some features.
>>>>>>>>>> When I try to install
>>>>>>>>>>
>>>>>>>>>> Ex:
>>>>>>>>>> <feature>
>>>>>>>>>>
>>>>>>>>>>  <id>org.wso2.carbon.registry.contentsearch.server.feature.group</id>
>>>>>>>>>>    <version>4.2.2</version>
>>>>>>>>>> </feature>
>>>>>>>>>>
>>>>>>>>>> I am getting following error
>>>>>>>>>>
>>>>>>>>>> Installing org.wso2.carbon.xfer.feature.group 4.2.0.
>>>>>>>>>> Installing org.wso2.carbon.stratos.deployment.feature.group 2.2.1.
>>>>>>>>>> Installing org.wso2.carbon.system.statistics.feature.group 4.2.2.
>>>>>>>>>> Installation failed.
>>>>>>>>>> Cannot complete the install because of a conflicting dependency.
>>>>>>>>>>  Software being installed: WSO2 Carbon - Registry Content Search
>>>>>>>>>> Server Feature 4.2.2
>>>>>>>>>> (org.wso2.carbon.registry.contentsearch.server.feature.group 4.2.2)
>>>>>>>>>>  Software currently installed: WSO2 Carbon - Registry Content
>>>>>>>>>> Search Feature 4.2.1 
>>>>>>>>>> (org.wso2.carbon.registry.contentsearch.feature.group
>>>>>>>>>> 4.2.1)
>>>>>>>>>>  Only one of the following can be installed at once:
>>>>>>>>>>   WSO2 Carbon - Registry Content Search Server Feature 4.2.2
>>>>>>>>>> (org.wso2.carbon.registry.contentsearch.server.feature.jar 4.2.2)
>>>>>>>>>>   WSO2 Carbon - Registry Content Search Server Feature 4.2.1
>>>>>>>>>> (org.wso2.carbon.registry.contentsearch.server.feature.jar 4.2.1)
>>>>>>>>>>  Cannot satisfy dependency:
>>>>>>>>>>   From: WSO2 Carbon - Registry Content Search Feature 4.2.1
>>>>>>>>>> (org.wso2.carbon.registry.contentsearch.feature.group 4.2.1)
>>>>>>>>>>   To: org.wso2.carbon.registry.contentsearch.server.feature.group
>>>>>>>>>> [4.2.1]
>>>>>>>>>>  Cannot satisfy dependency:
>>>>>>>>>>   From: WSO2 Carbon - Registry Content Search Server Feature
>>>>>>>>>> 4.2.1 (org.wso2.carbon.registry.contentsearch.server.feature.group 
>>>>>>>>>> 4.2.1)
>>>>>>>>>>   To: org.wso2.carbon.registry.contentsearch.server.feature.jar
>>>>>>>>>> [4.2.1]
>>>>>>>>>>  Cannot satisfy dependency:
>>>>>>>>>>   From: WSO2 Carbon - Registry Content Search Server Feature
>>>>>>>>>> 4.2.2 (org.wso2.carbon.registry.contentsearch.server.feature.group 
>>>>>>>>>> 4.2.2)
>>>>>>>>>>   To: org.wso2.carbon.registry.contentsearch.server.feature.jar
>>>>>>>>>> [4.2.2]
>>>>>>>>>> Application failed, log file location:
>>>>>>>>>> /root/.m2/repository/org/eclipse/tycho/tycho-p2-runtime/0.13.0/eclipse/configuration/1441793612480.log
>>>>>>>>>>
>>>>>>>>>> Seems there is a conflict between existing feature in the carbon
>>>>>>>>>> pack and the new feature to be installed. How can I upgrade a 
>>>>>>>>>> feature ?.
>>>>>>>>>> Appreciate your help on this.
>>>>>>>>>>
>>>>>>>>>> Regards,
>>>>>>>>>> Malintha
>>>>>>>>>>
>>>>>>>>>> --
>>>>>>>>>> *Malintha Adikari*
>>>>>>>>>> Software Engineer
>>>>>>>>>> WSO2 Inc.; http://wso2.com
>>>>>>>>>> lean.enterprise.middleware
>>>>>>>>>>
>>>>>>>>>> Mobile: +94 71 2312958
>>>>>>>>>> Blog:    http://malinthas.blogspot.com
>>>>>>>>>> Page:   http://about.me/malintha
>>>>>>>>>>
>>>>>>>>>> _______________________________________________
>>>>>>>>>> Dev mailing list
>>>>>>>>>> [email protected]
>>>>>>>>>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>
>>>>>>>>>
>>>>>>>>> --
>>>>>>>>> Lasitha Wattaladeniya
>>>>>>>>> Software Engineer
>>>>>>>>> WSO2, Inc. | http://wso2.com
>>>>>>>>> lean. enterprise. middleware
>>>>>>>>>
>>>>>>>>> Mobile : +94719397528
>>>>>>>>> Blog : techreadme.blogspot.com
>>>>>>>>>
>>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>> --
>>>>>>> *Malintha Adikari*
>>>>>>> Software Engineer
>>>>>>> WSO2 Inc.; http://wso2.com
>>>>>>> lean.enterprise.middleware
>>>>>>>
>>>>>>> Mobile: +94 71 2312958
>>>>>>> Blog:    http://malinthas.blogspot.com
>>>>>>> Page:   http://about.me/malintha
>>>>>>>
>>>>>>> _______________________________________________
>>>>>>> Dev mailing list
>>>>>>> [email protected]
>>>>>>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>>>>>>
>>>>>>>
>>>>>>
>>>>>>
>>>>>> --
>>>>>> Krishantha Samaraweera
>>>>>> Senior Technical Lead - Test Automation
>>>>>> Mobile: +94 77 7759918
>>>>>> WSO2, Inc.; http://wso2.com/
>>>>>> lean . enterprise . middleware.
>>>>>>
>>>>>
>>>>>
>>>>>
>>>>> --
>>>>> *Malintha Adikari*
>>>>> Software Engineer
>>>>> WSO2 Inc.; http://wso2.com
>>>>> lean.enterprise.middleware
>>>>>
>>>>> Mobile: +94 71 2312958
>>>>> Blog:    http://malinthas.blogspot.com
>>>>> Page:   http://about.me/malintha
>>>>>
>>>>
>>>>
>>>>
>>>> --
>>>> Sameera Jayasoma,
>>>> Software Architect,
>>>>
>>>> WSO2, Inc. (http://wso2.com)
>>>> email: [email protected]
>>>> blog: http://blog.sameera.org
>>>> twitter: https://twitter.com/sameerajayasoma
>>>> flickr: http://www.flickr.com/photos/sameera-jayasoma/collections
>>>> Mobile: 0094776364456
>>>>
>>>> Lean . Enterprise . Middleware
>>>>
>>>>
>>>> _______________________________________________
>>>> Dev mailing list
>>>> [email protected]
>>>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>>>
>>>>
>>>
>>>
>>> --
>>>
>>> *Niranjan Karunanandham*
>>> Senior Software Engineer - WSO2 Inc.
>>> WSO2 Inc.: http://www.wso2.com
>>>
>>
>>
>>
>> --
>>
>> *Dinusha Boteju*
>> *Associate Tech Lead,*
>> *WSO2, Inc. http://wso2.com <http://wso2.com/> *
>> *lean.enterprise.middleware.*
>>
>> email: [email protected] <[email protected]>
>> phone:(+94) 776640275 <%28%2B94%29%20777739736>
>>
>> _______________________________________________
>> Dev mailing list
>> [email protected]
>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>
>>
>
>
> --
> Krishantha Samaraweera
> Senior Technical Lead - Test Automation
> Mobile: +94 77 7759918
> WSO2, Inc.; http://wso2.com/
> lean . enterprise . middleware.
>



-- 

*Dinusha Boteju*
*Associate Tech Lead,*
*WSO2, Inc. http://wso2.com <http://wso2.com/> *
*lean.enterprise.middleware.*

email: [email protected] <[email protected]>
phone:(+94) 776640275 <%28%2B94%29%20777739736>
_______________________________________________
Dev mailing list
[email protected]
http://wso2.org/cgi-bin/mailman/listinfo/dev

Reply via email to