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 🙂

Advertisements

10 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

  2. I am facing problem when I am going to add ABAP on Perspective option in hana studio.In the below am giving the problem screen short.If you kindly provide me the right solution.Thanks in advance.
    The message is :
    An error occurred while uninstalling
    session context was:(profile=hdbstudio, phase=org.eclipse.equinox.internal.p2.engine.phases.Uninstall, operand=[R]com.sap.ide.support.feature_root.win32.win32.x86 1.13.6 –> null, action=org.eclipse.equinox.internal.p2.touchpoint.natives.actions.CleanupzipAction).
    Backup of file C:\Program Files (x86)\SAP\hdbstudio\collectSupportInformation.bat failed.
    File that was copied to backup could not be deleted: C:\Program Files (x86)\SAP\hdbstudio\collectSupportInformation.bat

    Like

    • I believe you don’t have enough access rights. It tries to write to c:\program files and you probably are not running the IDE in administrator mode.
      I hope this helps,
      Erich

      Like

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 )

Google+ photo

You are commenting using your Google+ 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 )

Connecting to %s

This site uses Akismet to reduce spam. Learn how your comment data is processed.