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

Bug 327097

Summary: Cannot update when an included feature had been installed as root IU
Product: [Eclipse Project] Equinox Reporter: Martin Oberhuber <mober.at+eclipse>
Component: p2Assignee: P2 Inbox <equinox.p2-inbox>
Status: CLOSED WONTFIX QA Contact:
Severity: normal    
Priority: P3 CC: irbull, peter, pwebster
Version: 3.6   
Target Milestone: ---   
Hardware: PC   
OS: Windows XP   
Whiteboard: stalebug

Description Martin Oberhuber CLA 2010-10-06 08:33:35 EDT
Build ID: I20100608-0911 (Eclipse 3.6.0)

When feature A includes feature B, and both have been installed as root IU, then feature A cannot be updated without also manually selecting the included feature B for update. 

This workflow is typical when installing a runtime first, and the corresponding SDK afterwards. In the "Help > Install New Software" dialog, the SDK cannot be updated without manually also selecting the runtime to update. This is confusing - expected behavior is when I choose the SDK to update, the tool automatically suggests updating all included features as well (without forcing me into long and hard-to-read error messages, and manually making a selecting).

Steps to reproduce:
1. Install RSE-runtime-3.2
2. Install RSE-SDK-3.2 (which includes RSE-runtime-3.2)
3. Help > Install new Software, pick RSE-SDK-3.2.1

--> the dialog says "cannot complete the request" with details like the following (note that RSE-runtime includes RSE-DStore services among other things):

Cannot complete the install because of a conflicting dependency.
  Software being installed: Remote System Explorer Extender SDK 3.2.1.v201008191400-7U7EFA0F8Wz-Sc_WGi5JOtz0WjtQ (org.eclipse.rse.sdk.feature.group 3.2.1.v201008191400-7U7EFA0F8Wz-Sc_WGi5JOtz0WjtQ)
  Software currently installed: RSE DStore Services 3.2.0.v201005221100-7L77FD4EVVFKfFtSeLjMK (org.eclipse.rse.dstore.feature.group 3.2.0.v201005221100-7L77FD4EVVFKfFtSeLjMK)
  Only one of the following can be installed at once: 
    RSE DStore Files 2.1.101.v201008191400 (org.eclipse.rse.subsystems.files.dstore 2.1.101.v201008191400)
    RSE DStore Files 2.1.100.v200905272300 (org.eclipse.rse.subsystems.files.dstore 2.1.100.v200905272300)
  Cannot satisfy dependency:
    From: RSE DStore Services 3.2.0.v201005221100-7L77FD4EVVFKfFtSeLjMK (org.eclipse.rse.dstore.feature.group 3.2.0.v201005221100-7L77FD4EVVFKfFtSeLjMK)
    To: org.eclipse.rse.subsystems.files.dstore [2.1.100.v200905272300]
  Cannot satisfy dependency:
    From: RSE DStore Services 3.2.1.v201008191400-7L77FD8EVVFLXG4Oz0NjKF (org.eclipse.rse.dstore.feature.group 3.2.1.v201008191400-7L77FD8EVVFLXG4Oz0NjKF)
    To: org.eclipse.rse.subsystems.files.dstore [2.1.101.v201008191400]
  Cannot satisfy dependency:
    From: Remote System Explorer End-User Runtime 3.2.1.v201008191400-7L78FA-8wqbPcNj4qa8R0eViy7vZ (org.eclipse.rse.feature.group 3.2.1.v201008191400-7L78FA-8wqbPcNj4qa8R0eViy7vZ)
    To: org.eclipse.rse.dstore.feature.group [3.2.1.v201008191400-7L77FD8EVVFLXG4Oz0NjKF]
  Cannot satisfy dependency:
    From: Remote System Explorer Extender SDK 3.2.1.v201008191400-7U7EFA0F8Wz-Sc_WGi5JOtz0WjtQ (org.eclipse.rse.sdk.feature.group 3.2.1.v201008191400-7U7EFA0F8Wz-Sc_WGi5JOtz0WjtQ)
    To: org.eclipse.rse.feature.group [3.2.1.v201008191400-7L78FA-8wqbPcNj4qa8R0eViy7vZ]
Comment 1 Eclipse Genie CLA 2019-10-15 16:11:39 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.