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

Bug 331255

Summary: Unable to install Eclipse CDT (C/C++ Development Tooling) because of org.eclipse.core.runtime problem
Product: [Eclipse Project] PDE Reporter: Flavio B <fbcyborg>
Component: UIAssignee: PDE-UI-Inbox <pde-ui-inbox>
Status: RESOLVED INVALID QA Contact:
Severity: normal    
Priority: P3 CC: curtis.windatt.public, fbcyborg, remy.suen
Version: 4.0   
Target Milestone: ---   
Hardware: PC   
OS: Linux   
Whiteboard:

Description Flavio B CLA 2010-11-26 17:12:01 EST
Build Identifier: M20090917-0800

I am trying to install the Eclipse CDT (C/C++ Development Tooling) plugin, but I always get the following error during the installation attempt:

Cannot complete the install because one or more required items could not be found.
  Software being installed: C/C++ Development Tools 7.0.1.201009241320 (org.eclipse.cdt.feature.group 7.0.1.201009241320)
  Missing requirement: GDB Common 7.0.0.201006141710 (org.eclipse.cdt.gdb 7.0.0.201006141710) requires 'bundle org.eclipse.core.runtime 3.6.0' but it could not be found
  Missing requirement: GDB Common 7.0.0.201009141542 (org.eclipse.cdt.gdb 7.0.0.201009141542) requires 'bundle org.eclipse.core.runtime 3.6.0' but it could not be found
  Missing requirement: GDB Common 7.0.0.201009241320 (org.eclipse.cdt.gdb 7.0.0.201009241320) requires 'bundle org.eclipse.core.runtime 3.6.0' but it could not be found
  Cannot satisfy dependency:
    From: C/C++ Development Tools 7.0.1.201009241320 (org.eclipse.cdt.feature.group 7.0.1.201009241320)
    To: org.eclipse.cdt.gnu.dsf.feature.group [2.1.0.201009241320]
  Cannot satisfy dependency:
    From: C/C++ DSF GDB Debugger Integration 2.1.0.201009241320 (org.eclipse.cdt.gnu.dsf.feature.group 2.1.0.201009241320)
    To: org.eclipse.cdt.gdb 7.0.0

How to fix it?

Best regards, 

Flavio

Reproducible: Always

Steps to Reproduce:
1. Go to Help->Install new Software
2. Put http://download.eclipse.org/tools/cdt/releases/helios in the Work with field
3. select CDT Main Features -> C/C++ Development Tools
Comment 1 Remy Suen CLA 2010-11-26 17:37:00 EST
You are using Eclipse 3.5.x. CDT 7.0.x wants Eclipse 3.6.x. You need to update your Eclipse installation.
Comment 2 Flavio B CLA 2010-11-26 17:41:26 EST
(In reply to comment #1)
> You are using Eclipse 3.5.x. CDT 7.0.x wants Eclipse 3.6.x. You need to update
> your Eclipse installation.

Thank you for the reply. I actually installed a previous version of CDT and it worked, but the reason why I opened a bug is because I tried to install the CDT 7 onto another PC having exactly the same Build of eclipse I reported in the first post and it worked. I don't know how it is possible, but on both PCs, I have the 3.5.1 eclipse version and on the other PC it didn't do any problem.

Anyway, thanks a lot.
Comment 3 Curtis Windatt CLA 2010-11-29 10:55:12 EST
Marking as INVALID.

Depending on what repos were available when you installed on the other machine, other bundles were available to p2 at install time.  That's just a guess though.