Karaf: Double entries of same bundle

Tags: #<Tag:0x00007fc1fe203bc8>

After upgrade to 2.5M5 and a restart (openhabian on Raspberry Pi 3B+) I found some issues in my openhab.log.

After checking karaf I found double entries for some bundles:

openhab> bundle:list | grep jna
     28 x Resolved x  80 x 5.4.0                   x jna
    211 x Active   x  80 x 5.5.0                   x jna
    212 x Active   x  80 x 5.4.0                   x jna-platform
    213 x Active   x  80 x 5.5.0                   x jna-platform

I found additional bundles which look the same to me as well:

 21 │ Active   │  80 │ 18.0.0                  │ Guava: Google Core Libraries for Java
 22 │ Active   │  80 │ 27.1.0.jre              │ Guava: Google Core Libraries for Java

Any idea how to permanently remove these?

I have both core libraries on a clean Milestone 5 install upgraded to Milestone 6 with only HABmin & zwave installed. They are likely normal. The version number indicates to me they may be 2 parts of the same library.

I do not have your first list of bundles installed at all. You should be able to stop & delete the older bundles from the Karaf console, I would expect.

You should not remove them. It maybe that different bindings require different version. They are not necessarily backward compatible.

1 Like

Thanks for your lightning-fast reply, @Bruce_Osborne & @J-N-K

EDIT:
After a reboot everything runs fine again and both versions above seem to be required.