Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » P2 » How to retrieve more info from the p2 reconciler process?(The dropins mechanism doesn't provide enough info.)
How to retrieve more info from the p2 reconciler process? [message #1816104] Mon, 21 October 2019 10:12 Go to next message
Serguei Carrascosa is currently offline Serguei CarrascosaFriend
Messages: 5
Registered: October 2019
Junior Member
Hi,

I have some issues updating plugins with the (obsolete) dropins mechanism. I'm trying to update about 20 plugins but only 10 of them are successfully installed. When one of the no installed plugins is removed from the dropins folder the successfully installed plugins change and there is no way to find the conflictive plugins.

I've enable the debug options like this:
org.eclipse.equinox.p2.core/debug=true
org.eclipse.equinox.p2.core/reconciler=true


And the debug output:
[p2] Mon Oct 21 10:06:20 CEST 2019 - [Start Level: Equinox Container: 1eabe1dd-5801-46f0-bfaf-759aa34c5e6e] [reconciler] [plan] Some units will not be installed, because they are already installed or there are dependency issues:
[p2] Mon Oct 21 10:06:20 CEST 2019 - [Start Level: Equinox Container: 1eabe1dd-5801-46f0-bfaf-759aa34c5e6e] [reconciler] [plan] com.framework.browser.integratedapps.ieoop 1.1.6
[p2] Mon Oct 21 10:06:20 CEST 2019 - [Start Level: Equinox Container: 1eabe1dd-5801-46f0-bfaf-759aa34c5e6e] [reconciler] [plan] com.framework.browser.integratedapps 1.0.15


To avoid the they are already installed error I added a p2.inf file and it works fine.

I would like to know about this dependency issues, there is a way to get a more verbose output? How can I know exactly which dependencies have not been resolved?

Thanks.
Re: How to retrieve more info from the p2 reconciler process? [message #1816203 is a reply to message #1816104] Wed, 23 October 2019 14:20 Go to previous messageGo to next message
Eclipse UserFriend
You can try installing those bundles manually from the OSGi Console (launch with -console or use the _Console_ view's _Host OSGi Console_). See `help install`. You should be able to use `diag <bundleId>` to see more information.
Re: How to retrieve more info from the p2 reconciler process? [message #1816285 is a reply to message #1816104] Fri, 25 October 2019 12:20 Go to previous messageGo to next message
Serguei Carrascosa is currently offline Serguei CarrascosaFriend
Messages: 5
Registered: October 2019
Junior Member
Thanks for the reply Brian,

I've installed the greater version of my plugins with the OSGi console without any problems. All works fine. So for some reason the reconciler(?) does not take the plugin with the greater version when both plugins are placed in dropin folders.

Regards.
Re: How to retrieve more info from the p2 reconciler process? [message #1816291 is a reply to message #1816285] Fri, 25 October 2019 13:02 Go to previous message
Eclipse UserFriend
Hmm it sound like the bug 302582 except that is marked as fixed (a long time ago). Under the hood of p2 is a SAT solver, and the expressions are given various weights to try to influence certain behaviours. It may be that using the lower version produced a better overall score.

Dropins are processed on a best-effort basis -- if it works, great, but otherwise the platform gives up and moves on. This is actually one of the reasons why you shouldn't use dropins.

Brian.
Previous Topic:Good place for hosting p2 repositories
Next Topic:Export: Generate metadata repository fails with &quot;A problem occured while invoking the direc
Goto Forum:
  


Current Time: Fri Apr 26 17:51:30 GMT 2024

Powered by FUDForum. Page generated in 0.03177 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top