I'm trying to use the P2 API to update new bundles in an application where more than one P2 repo is used for splitting the application deployment along functional lines.

My approach has been to initialize and query both repositories, then to consolidate the various resulting Collection<IInstallableUnit> into a single Collection, which I then pass to "new UpdateOperation".

(It has to be a single UpdateOperation because there might be dependencies between Features in the various P2 repos. For example, the core platform might be updated using one P2 repo, but the real app--which obviously depends on the core platform--could use another P2 repo for its updates.)

The trouble is that when I run the resolve job, I get back an IStatus that says "Your original request has been modified." Then when I try to get the provisioning job from the updateOperation, I get back a null job with no indication of what went wrong or how to recover from this situation.