Workaround for “Installing Software has encountered a problem” in Eclipse


I wanted to install an update in Eclipse with Help > Install new Software or Help > Check for updates. I pointed to the update site, selected what I wanted to install, but then during installation I received an error dialog like this:

Installing Software has encountered a problem

Installing Software has encountered a problem

😦

It reported this details text:

An error occurred while collecting items to be installed
 session context was:(profile=DefaultProfile, phase=org.eclipse.equinox.internal.p2.engine.phases.Collect, operand=, action=).
 No repository found containing: org.eclipse.update.feature,com.freescale.processorexpert.pex-for-kinetis-patch1.sp,1.0.0.b150505
 No repository found containing: binary,com.freescale.processorexpert.pex-for-kinetis-patch1.sp_root,1.0.0.b150505

It happened to me especially with Kinetis Design Studio v3.0.0, trying to update with the latest patches and features from the Freescale web site. It turned out that some sites somehow had that problem, but not every Eclipse update site. But what helped was to disable  the option ‘Contact all update sites during install to find required software‘:

Disabled Contact all update sites during install to finid required software

Disabled Contact all update sites during install to find required software

So this option is not only to disable for better installation performance (see “Reduce Eclipse ‘Install New Software’ Installation Time“), but as well to fix some strange installation problems too :-).

It looks like this is a known problem in Eclipse, see http://stackoverflow.com/questions/6470802/what-to-do-about-eclipses-no-repository-found-containing-error-messages.

Happy Installing 🙂

3 thoughts on “Workaround for “Installing Software has encountered a problem” in Eclipse

  1. Pingback: Going to Mars: Building a DIY Eclipse IDE for ARM Embedded Microcontrollers | MCU on Eclipse

What do you think?

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s