Ask Your Question
0

Package conflict: Import-Package: error in karaf

asked 2015-08-18 22:32:27 -0700

hjdeore gravatar image

updated 2015-08-20 02:57:21 -0700

Hi Guys,

I am getting subjected error while installing one feature in karaf,

Error executing command: Can't install feature odl-l2switch-mynetworktopology/0.0.0: Could not start bundle mvn:org.opendaylight.l2switch.mynetworktopology/mynetworktopology-impl/0.2.0-Lithium in feature(s) odl-l2switch-mynetworktopology-0.2.0-Lithium: The bundle "org.opendaylight.l2switch.mynetworktopology.impl_0.2.0.Lithium [220]" could not be resolved. Reason: Package uses conflict: Import-Package: org.opendaylight.controller.config.yang.md.sal.binding; version="[1.2.0,2.0.0)", Package uses conflict: Import-Package: org.opendaylight.controller.md.sal.binding.api; version="[1.2.0,2.0.0)", Package uses conflict: Import-Package: org.opendaylight.controller.md.sal.common.api.data; version="[1.2.0,2.0.0)", Package uses conflict: Import-Package: org.opendaylight.yang.gen.v1.urn.intel.params.xml.ns.yang.mynetwork.topology.rev150525; version="[0.2.0,1.0.0)", Package uses conflict: Import-Package: org.opendaylight.yang.gen.v1.urn.intel.params.xml.ns.yang.mynetwork.topology.rev150525.mynetwork.topology.topology; version="[0.2.0,1.0.0)", Package uses conflict: Import-Package: org.opendaylight.yang.gen.v1.urn.tbd.params.xml.ns.yang.network.topology.rev131021; version="[2013.10.0,2014.0.0)", Package uses conflict: Import-Package: org.opendaylight.yangtools.yang.binding; version="[0.7.0,1.0.0)", Package uses conflict: Import-Package: org.opendaylight.yangtools.yang.common; version="[0.7.0,1.0.0)"

Please suggest.

Regards, Harish

edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted
0

answered 2016-05-16 05:23:36 -0700

jgoodyear gravatar image

Ouch :(

This might be a case where two or more features might be incompatibly installed together..

Can you provide your "feature:list -i" output?

edit flag offensive delete publish link more
Login/Signup to Answer

Question Tools

Follow
1 follower

Stats

Asked: 2015-08-18 22:32:27 -0700

Seen: 387 times

Last updated: May 16 '16