Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 359048

Summary: Failure to install from legacy site
Product: [Eclipse Project] Equinox Reporter: Thomas Hallgren <thomas>
Component: p2Assignee: P2 Inbox <equinox.p2-inbox>
Status: CLOSED FIXED QA Contact:
Severity: normal    
Priority: P3 CC: akurtakov
Version: 3.7.1   
Target Milestone: ---   
Hardware: All   
OS: All   
Whiteboard: stalebug

Description Thomas Hallgren CLA 2011-09-27 08:30:10 EDT
For some reason the update site at http://aws.amazon.com/eclipse is an old legacy site. That means that the p2 meta-data isn't (and shouldn't be) complete during the planner phase and I think this problem is somehow related to the extra resolution that is performed once the bundle manifest is parsed into the final IU.

How to reproduce:
Use a fresh Eclipse 3.7.1 classic, add the aws.amazon.com/eclipse update site and then install feature 'Amazon Simple DB Management'. Make sure that all update sites (Indigo especially) are enabled and consulted during the resolution.

The p2 planner succeeds but after approving the license, the subsequent install fails with:

com.amazonaws.eclipse.datatools.enablement.simpledb.ui 1.0.0.v201108151453) requires 'bundle org.eclipse.datatools.sqltools.sqlscrapbook 1.0.0' but it could not be found (full trace below)

I verified that the following entry is present in the Indigo meta-data:

<unit id='org.eclipse.datatools.sqltools.sqlscrapbook'
version='1.0.1.v201005250945'>

and I can circumvent the problem by first installing the 'Eclipse Data Tools Platform Enablement' feature from Indigo. I can also see that the sqlscrapbook bundle of version '1.0.1.v201005250945' is indeed installed as a result.

One suspicion was the bundle requirement in the manifest of the com.amazonaws.eclipse.datatools.enablement.simpledb.ui bundle was optional and somehow generated a non-greedy dependency but that's not the case. It isn't optional so the generated requirement should definitely be greedy.

So why is the install failing? Why is an install of the Data Tools feature succeeding to install the allegedly missing bundle?


Full trace:

Cannot complete the install because one or more required items could not be found.
Software currently installed: Amazon SimpleDB Management 1.0.0.v201108151453 (com.amazonaws.eclipse.datatools.enablement.simpledb.feature.feature.group 1.0.0.v201108151453)
Missing requirement: Eclipse Data Tools Platform Amazon SimpleDB UI Plug-in 1.0.0.v201108151453 (com.amazonaws.eclipse.datatools.enablement.simpledb.ui 1.0.0.v201108151453) requires 'bundle org.eclipse.datatools.sqltools.sqlscrapbook 1.0.0' but it could not be found
Cannot satisfy dependency:
From: Amazon SimpleDB Management 1.0.0.v201108151453 (com.amazonaws.eclipse.datatools.enablement.simpledb.feature.feature.group 1.0.0.v201108151453)
To: com.amazonaws.eclipse.datatools.enablement.simpledb.ui [1.0.0.v201108151453]
Comment 1 Eclipse Genie CLA 2019-05-29 05:42:23 EDT
This bug hasn't had any activity in quite some time. Maybe the problem got resolved, was a duplicate of something else, or became less pressing for some reason - or maybe it's still relevant but just hasn't been looked at yet.

If you have further information on the current state of the bug, please add it. The information can be, for example, that the problem still occurs, that you still want the feature, that more information is needed, or that the bug is (for whatever reason) no longer relevant.

--
The automated Eclipse Genie.
Comment 2 Alexander Kurtakov CLA 2019-05-29 05:59:47 EDT
Tried and install just work on 2019-06