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

Bug 338300

Summary: Cannot update from Helios SR1 to Helios SR2 (3.6.1 to 3.6.2)
Product: [Technology] EPP Reporter: Tonny Madsen <tonny.madsen>
Component: rcp-packageAssignee: Project Inbox <epp.packager-inbox>
Status: RESOLVED FIXED QA Contact:
Severity: major    
Priority: P3 CC: mknauer
Version: unspecified   
Target Milestone: ---   
Hardware: Macintosh   
OS: Mac OS X   
Whiteboard:

Description Tonny Madsen CLA 2011-02-26 03:54:17 EST
Kim has just released epp packages for 3.6.2 today, but I cannot update my current 3.6.1 RCP edition to 3.6.2.

It looks like I don't have the correct update site, but this happens even if I just have the helios update site enabled. Different combination of update sites give different results, but it all boils down to the following:

Cannot complete the install because of a conflicting dependency.
  Software being installed: Eclipse Platform SDK 3.6.2.M20110210-1200 (org.eclipse.platform.sdk 3.6.2.M20110210-1200)
  Software currently installed: Eclipse for RCP and RAP Developers 1.3.1.20100916-1202 (epp.package.rcp 1.3.1.20100916-1202)
  Only one of the following can be installed at once: 
    Debug UI 3.6.0.v20100601-1530 (org.eclipse.debug.ui 3.6.0.v20100601-1530)
    Debug UI 3.6.3.v20101201_r362 (org.eclipse.debug.ui 3.6.3.v20101201_r362)
    Debug UI 3.6.1.v20100901_r361 (org.eclipse.debug.ui 3.6.1.v20100901_r361)
  Cannot satisfy dependency:
    From: Eclipse for RCP and RAP Developers 1.3.1.20100916-1202 (epp.package.rcp 1.3.1.20100916-1202)
    To: org.eclipse.epp.package.rcp.feature.feature.group [1.3.1.20100916-1202]
  Cannot satisfy dependency:
    From: EPP RCP/RAP Feature 1.3.1.20100916-1202 (org.eclipse.epp.package.rcp.feature.feature.group 1.3.1.20100916-1202)
    To: org.eclipse.platform.feature.group [3.6.1.r361_v20100909-9gF78GrkFqw7GrsZnvz0JWNTeb6fue6896L]
  Cannot satisfy dependency:
    From: Eclipse Platform 3.6.1.r361_v20100909-9gF78GrkFqw7GrsZnvz0JWNTeb6fue6896L (org.eclipse.platform.feature.group 3.6.1.r361_v20100909-9gF78GrkFqw7GrsZnvz0JWNTeb6fue6896L)
    To: org.eclipse.debug.ui [3.6.1.v20100901_r361]
  Cannot satisfy dependency:
    From: Eclipse Platform 3.6.2.r362_v20110210-9gF78Gs1FrIGnHDHWkEcopoN8AmxeZflGDGKQi (org.eclipse.platform.feature.group 3.6.2.r362_v20110210-9gF78Gs1FrIGnHDHWkEcopoN8AmxeZflGDGKQi)
    To: org.eclipse.debug.ui [3.6.3.v20101201_r362]
  Cannot satisfy dependency:
    From: Eclipse Platform SDK 3.6.2.M20110210-1200 (org.eclipse.platform.sdk 3.6.2.M20110210-1200)
    To: org.eclipse.platform.feature.group [3.6.2.r362_v20110210-9gF78Gs1FrIGnHDHWkEcopoN8AmxeZflGDGKQi]

-- Configuration Details --
Product: Eclipse 1.3.1.20100913-1228 (org.eclipse.epp.package.rcp.product)
Installed Features:
 org.eclipse.platform 3.6.1.r361_v20100909-9gF78GrkFqw7GrsZnvz0JWNTeb6fue6896L
Comment 1 Markus Knauer CLA 2011-02-26 04:47:59 EST
Well, in that case it was not Kim who release the packages, that was me... and it looks like I messed up the composite p2 repository in a way very similar to Kim's typo. So... many thanks for reporting this!

I could find in my test this morning this error in the .log file:

!MESSAGE Unable to read repository at http://download.eclipse.org/technology/epp/packages/helios/.
!STACK 0
java.io.IOException: http://download.eclipse.org/technology/epp/packages/helios/ is not a valid repository location.

Are you able to find the same or similar entries?

The reason for this was a wrong format in the EPP p2 repository compositeContent.jar and compositeArtifacts.jar files. I fixed this now and I am currently retrying it now.
Comment 2 Markus Knauer CLA 2011-02-26 05:16:27 EST
Additional remarks...

* You need to enable the Helios p2 repository, other repositories are not required.

* It may happen that p2 doesn't recognise my changes because it tends to cache this and that. In that case it may help to play with the disable/enable/reload actions in the preferences: Window > Preferences > Install/Update > Available Software - but I am sure you found this yourself ;-)

* Other than that there *could* be another hidden problem in your installation. I tried it with a plain RCP EPP package (Helios SR1) and it worked. But who knows, maybe you have something installed on top of the RCP package that defines a hard dependency to the singleton bundle org.eclipse.debug.ui and a different version number. In that case p2 is correct in denying the update request.

I am closing this bug as fixed because it works for me now. Please reopen if it still doesn't work for you.
Comment 3 Tonny Madsen CLA 2011-02-26 09:08:05 EST
Thanks for the very speedy response. Works now...