Errors updating RCP [message #1808842] |
Tue, 02 July 2019 21:44 |
Alex Kravets Messages: 561 Registered: November 2009 |
Senior Member |
|
|
I am getting following errors during running update on our RCP
An error occurred while collecting items to be installed
session context was:(profile=DefaultProfile, phase=org.eclipse.equinox.internal.p2.engine.phases.Collect, operand=, action=).
No repository found containing: osgi.bundle,org.apache.commons.compress,1.18.0.v20181121-2221
No repository found containing: osgi.bundle,org.apache.httpcomponents.httpcore,4.4.10.v20190123-2214
No repository found containing: osgi.bundle,org.bouncycastle.bcpkix,1.61.0.v20190602-1335
No repository found containing: osgi.bundle,org.bouncycastle.bcprov,1.61.0.v20190602-1335
I see these bundles in target definition, but with lower version. Which makes me think that this has something to do with latest Eclipse release and some features we depend on.
If I update RCP version v1 to v2.1, the update works. However, if I update from v2 to v2.1, that's when update fails. The only thing that changed was inclusion of egit update site in p2.inf. Furthermore, if I remove reference to egit update site from 'Available Software Sites' and just leave update site product (with other sites), I get error
An error occurred while uninstalling
session context was:(profile=DefaultProfile, phase=org.eclipse.equinox.internal.p2.engine.phases.Uninstall, operand=[R]my.product 8.0.3.R20190530-1447 --> [R]my.product 8.0.3.R20190702-2042, action=org.eclipse.equinox.internal.p2.touchpoint.eclipse.actions.UninstallBundleAction).
Installable unit contains no artifacts: [R]my.product 8.0.3.R20190530-1447.
How can I find out what causes update failure?
Thanks,
Alex
[Updated on: Wed, 03 July 2019 00:14] Report message to a moderator
|
|
|
|
|
|
Re: Errors updating RCP [message #1808986 is a reply to message #1808880] |
Fri, 05 July 2019 13:11 |
Alex Kravets Messages: 561 Registered: November 2009 |
Senior Member |
|
|
Thanks Ed,
I'll look into your suggestion to use Targlets.
Quote:
Well neon.target tells me a lot. That sounds ancient but you want to install the latest version of EGit as well, thought your *.target file locks in very specific versions.
eGit update site is not part of target, and in p2.inf it points to general update url without version.
I still want to find out though why update fails, because update succeeds when I update from v1 to v2.1, but fails updating from v2 to v2.1. Also why with eGit the errors occur? It's in p2.inf and not part of target, so it shouldn't affect against what product is build, should it?
Another observation I noticed is if I remove everything from Install Software dialog and just leave product's update site I get the error I mentioned above
Quote:
An error occurred while uninstalling
session context was:(profile=DefaultProfile, phase=org.eclipse.equinox.internal.p2.engine.phases.Uninstall, operand=[R]my.product 8.0.3.R20190530-1447 --> [R]my.product 8.0.3.R20190702-2042, action=org.eclipse.equinox.internal.p2.touchpoint.eclipse.actions.UninstallBundleAction).
Installable unit contains no artifacts: [R]my.product 8.0.3.R20190530-1447.
These errors are really weird because nothing major changed in our build process other than introduction of some new plugins and features.
[Updated on: Fri, 05 July 2019 13:47] Report message to a moderator
|
|
|
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.05206 seconds