Description
After camel-kafka feature installation any other feature installation raise errors.
The problem seems to be the snappy feature (a camel-kafka requirement).
A workaround is to install the single bundles (of snappy and camel-kafka) extracted from xml feature file (https://repo1.maven.org/maven2/org/apache/camel/karaf/apache-camel/3.9.0/apache-camel-3.9.0-features.xml)
The sequence to reproduce the problem, starting from a fresh 4.3.1 Karaf installation, is:
Apache Karaf (4.3.1)
Hit '<tab>' for a list of available commands
and '[cmd] --help' for help on a specific command.
Hit 'system:shutdown' to shutdown Karaf.
Hit '<ctrl-d>' or type 'logout' to disconnect shell from current session.
karaf@root()> feature:repo-add camel 3.9.0
Adding feature url mvn:org.apache.camel.karaf/apache-camel/3.9.0/xml/features
karaf@root()> feature:install http webconsole camel camel-netty
karaf@root()> feature:install camel-kafka
karaf@root()> feature:install camel-sql
Error executing command: Unable to resolve root: missing requirement [root] osgi.identity; osgi.identity=kar; type=karaf.feature; version="[4.3.1,4.3.1]"; filter:="(&(osgi.identity=kar)(type=karaf.feature)(version>=4.3.1)(version<=4.3.1))" [caused by: Unable to resolve kar/4.3.1: missing requirement [kar/4.3.1] osgi.identity; osgi.identity=org.apache.karaf.kar.core; type=osgi.bundle; version="[4.3.1,4.3.1]"; resolution:=mandatory [caused by: Unable to resolve org.apache.karaf.kar.core/4.3.1: missing requirement [org.apache.karaf.kar.core/4.3.1] osgi.wiring.package; filter:="(&(osgi.wiring.package=org.osgi.framework)(version>=1.0.0)(!(version>=3.0.0)))"]]
karaf@root()>
Please see: