I discovered that when I change the name of bundle B's jar file to be alphabetically before bundle A's jar file the problem doesn't occur any more. It seems as if the bundles are removed alphabetically by jar name before the new bundles are installed, and if a bundle has a dependency on it when it ...