Community
Participate
Working Groups
+++ This bug was initially created as a clone of Bug #323322 +++ While investigating what is going wrong in shared installs, I came across the following issue that is probably the root cause of the problem for shared installs. The resolution is not stable when being re-run. To be more precise, when I try to install an IU in the context of some repositories, then cause a re-resolution of the resulting profile, IUs are being dropped. Even though this looks not important, because internally p2 re-resolves the current profile to generate the attachment of IUs, this ends up being a key issue. To show the problem, I have released a test case called EPPPackageInstallStability in the 3.6 branch. At this point I have not found a way to solve this problem.
Created attachment 177191 [details] New patch This new patch simply removes the if block and cleans up the code. It will need the new version of SAT4J. Daniel, could you please review. I'll release once SAT4J 2.2.1 has been approved.
The new code is fine.
Created attachment 194534 [details] Previous patch updated to be applied on HEAD. I simply updated the previous patch with the conditional in case of singleton.
I've released the new patch.