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:
😦
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‘:
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 🙂
Pingback: Going to Mars: Building a DIY Eclipse IDE for ARM Embedded Microcontrollers | MCU on Eclipse
Wow thanks worked for me while trying to install JSHint!
LikeLike
Thanks! It worked.
LikeLike
dont work with me … why? and what does must do ?
LikeLike
What are you trying to install?
LikeLike
Maybe it is about the handshake/encryption problem discussed here: https://community.nxp.com/thread/445975 ?
LikeLike
thanks…….!
its worked
LikeLike
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
LikeLike
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
LikeLike
Thank you!
LikeLike
An error occurred while collecting items to be installed
session context was:(profile=epp.package.jee, phase=org.eclipse.equinox.internal.p2.engine.phases.Collect, operand=, action=).
Multiple problems occurred while downloading.
Unknown Host: http://download.jboss.org/jbosstools/static/targetplatforms/jbosstoolstarget/4.63.0.Final/REPO/plugins/org.eclipse.sapphire.modeling_9.1.0.201609301330.jar.pack.gz
download.jboss.org
Unknown Host: http://download.jboss.org/jbosstools/static/targetplatforms/jbosstoolstarget/4.63.0.Final/REPO/plugins/org.eclipse.sapphire.modeling_9.1.0.201609301330.jar
download.jboss.org
Unknown Host: http://download.jboss.org/jbosstools/static/targetplatforms/jbosstoolstarget/4.63.0.Final/REPO/features/org.eclipse.sapphire.osgi_9.1.0.201609301330.jar
download.jboss.org
Multiple problems occurred while downloading.
Unknown Host: http://download.jboss.org/jbosstools/static/targetplatforms/jbosstoolstarget/4.63.0.Final/REPO/plugins/org.eclipse.sapphire.platform_9.1.0.201609301330.jar.pack.gz
download.jboss.org
Unknown Host: http://download.jboss.org/jbosstools/static/targetplatforms/jbosstoolstarget/4.63.0.Final/REPO/plugins/org.eclipse.sapphire.platform_9.1.0.201609301330.jar
download.jboss.org
Unknown Host: http://download.jboss.org/jbosstools/static/targetplatforms/jbosstoolstarget/4.63.0.Final/REPO/features/org.eclipse.sapphire.platform_9.1.0.201609301330.jar
download.jboss.org
Multiple problems occurred while downloading.
Unknown Host: http://download.jboss.org/jbosstools/static/targetplatforms/jbosstoolstarget/4.63.0.Final/REPO/plugins/org.eclipse.sapphire.ui_9.1.0.201609301330.jar.pack.gz
download.jboss.org
Unknown Host: http://download.jboss.org/jbosstools/static/targetplatforms/jbosstoolstarget/4.63.0.Final/REPO/plugins/org.eclipse.sapphire.ui_9.1.0.201609301330.jar
download.jboss.org
Unknown Host: http://download.jboss.org/jbosstools/static/targetplatforms/jbosstoolstarget/4.63.0.Final/REPO/features/org.eclipse.sapphire.ui_9.1.0.201609301330.jar
download.jboss.org
Multiple problems occurred while downloading.
Unknown Host: http://download.jboss.org/jbosstools/static/targetplatforms/jbosstoolstarget/4.63.0.Final/REPO/plugins/org.eclipse.sapphire.ui.swt.xml.editor_9.1.0.201609301330.jar.pack.gz
download.jboss.org
Unknown Host: http://download.jboss.org/jbosstools/static/targetplatforms/jbosstoolstarget/4.63.0.Final/REPO/plugins/org.eclipse.sapphire.ui.swt.xml.editor_9.1.0.201609301330.jar
download.jboss.org
Unknown Host: http://download.jboss.org/jbosstools/static/targetplatforms/jbosstoolstarget/4.63.0.Final/REPO/features/org.eclipse.sapphire.ui.swt.xml.editor_9.1.0.201609301330.jar
download.jboss.org
Multiple problems occurred while downloading.
Unknown Host: http://download.jboss.org/jbosstools/static/targetplatforms/jbosstoolstarget/4.63.0.Final/REPO/plugins/org.eclipse.sapphire.workspace_9.1.0.201609301330.jar.pack.gz
download.jboss.org
Unknown Host: http://download.jboss.org/jbosstools/static/targetplatforms/jbosstoolstarget/4.63.0.Final/REPO/plugins/org.eclipse.sapphire.workspace_9.1.0.201609301330.jar
download.jboss.org
Multiple problems occurred while downloading.
Unknown Host: http://download.jboss.org/jbosstools/static/targetplatforms/jbosstoolstarget/4.63.0.Final/REPO/plugins/org.eclipse.sapphire.workspace.ui_9.1.0.201609301330.jar.pack.gz
download.jboss.org
Unknown Host: http://download.jboss.org/jbosstools/static/targetplatforms/jbosstoolstarget/4.63.0.Final/REPO/plugins/org.eclipse.sapphire.workspace.ui_9.1.0.201609301330.jar
download.jboss.org
LikeLike
It looks like jboss.org was down during your download request. Have you tried it again?
LikeLike
You are my hero!!! Thank you!
LikeLike
great 🙂
LikeLike
thanks a lot !!!! It worked like a magic
LikeLike
good to hear it helped you 🙂
LikeLike
help me its showing error while installing pydev
plz give any solution
LikeLike
I cannot give a solution, only a suggestion: start with a fresh Eclipse installation for Python.
LikeLike
An error occurred while collecting items to be installed
session context was:(profile=_Users_mike_eclipse_java-2020-065_Eclipse.app_Contents_Eclipse, phase=org.eclipse.equinox.internal.p2.engine.phases.Collect, operand=, action=).
Unable to read repository at http://web-cat.org/eclipse/plugins/net.sf.eclipsecs.checkstyle_6.8.0.201507251301.jar.
Premature end of Content-Length delimited message body (expected: 4,445,947; received: 685,995)
Unable to read repository at http://web-cat.org/eclipse/plugins/net.sourceforge.pmd.eclipse.plugin_4.0.7.v20150522-1709.jar.
Premature end of Content-Length delimited message body (expected: 33,477,128; received: 678,392)
LikeLike
It sounds that your network connection just ended in the middle of the transfer. The reason could be a wireless access point not stable enough. Use a wired connection instead. And check your firewall settings: if in doubt, disable it during the connection. Hopefully this helps.
LikeLike
I’m trying it and hope to succed.
LikeLike
Crossing fingers! report back if it does or not.
LikeLike
This helped me a lot, thank you very much!!
LikeLiked by 1 person
Thanks for reporting back, appreciated!
LikeLike
Still encounter the issue after doing this.
An error occurred while collecting items to be installed
session context was:(profile=C__Users_P101CSPH1_eclipse_java-2021-03_eclipse, phase=org.eclipse.equinox.internal.p2.engine.phases.Collect, operand=, action=).
Problems downloading artifact: osgi.bundle,org.apache.poi,3.9.0.v201405241750.
SHA-256 hash is not as expected. Expected: 3d5f2dd7f26d27782497675cda0585b99b95c8f27b6c4706f2b67b05b53511e5 and found 9a5a14b788cdbc2c41e4eff1f6512599f73636da9893b604a6e08d3307a95399.
Problems downloading artifact: osgi.bundle,org.apache.poi.ooxml.schemas,3.9.0.v201405241750.
SHA-256 hash is not as expected. Expected: 6beeb8dee4190749f216a7872ac1b129051adfba1cff54ae6b69c8cc0a741593 and found cc66ec84ccb78f955d93e64d1783c96f0080d2ee8afd29f3c172179b3c118630.
LikeLike
Your problem seems to be a different one, as the hash is not matching. It looks like you have a really bad network connection causing corrupted packets somehow. If you are on a wireless connection, try switching to a wired one.
LikeLike
It Doesn’t solve the issue, I facing same error.
LikeLike
In that case you need to contact the owner of the Eclipse updater/package repository you want to use: it is probably setup in a wrong way with the wrong checksum/hash.
LikeLike