What to do about Eclipse's "No repository found containing: ..." error messages?
EclipseEclipse PluginEclipse Problem Overview
I'm running Eclipse's Helios EE bundle on Linux to which I added the subversive plugins, the m2e Maven integration and the Mylin connector for Trac. For the last couple of weeks I've been trying to install updates, and every time I get back a message like
No repository found containing <something or other>
The latest one was
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=).
No repository found containing: osgi.bundle,org.eclipse.team.svn,0.7.9.I20110318-1700
No repository found containing: osgi.bundle,org.eclipse.team.svn.core,0.7.9.I20110523-1700
No repository found containing: osgi.bundle,org.eclipse.team.svn.help,0.7.9.I20110318-1700
No repository found containing: osgi.bundle,org.eclipse.team.svn.mylyn,0.7.9.I20110318-1700
No repository found containing: osgi.bundle,org.eclipse.team.svn.ui,0.7.9.I20110523-1700
No repository found containing: org.eclipse.update.feature,org.eclipse.team.svn,0.7.9.I20110523-1700
No repository found containing: org.eclipse.update.feature,org.eclipse.team.svn.mylyn,0.7.9.I20110523-1700
No repository found containing: org.eclipse.update.feature,org.eclipse.team.svn.resource.ignore.rules.jdt,0.7.9.I20110523-1700
What does it all mean and how do I fix that? If Eclipse has been able to contact the repositories to check for new files, why isn't it able to download those files from those some repositories? Or does the error message mean something entirely different?
Eclipse Solutions
Solution 1 - Eclipse
Quick answer
Go to Help → Install new software → Here uncheck “Contact all update sites during install to find required software”
Eclipse will prompt that the content isn't authorized or something like that. just ignore and continue. then everything will be OK.
At least this trick resolved my problems similar like this:
> 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=). No repository found containing: > osgi.bundle,org.eclipse.emf,2.6.0.v20120917-0436 No repository found > containing: osgi.bundle,org.eclipse.emf.ant,2.7.0.v20120917-0436 No > repository found containing: > osgi.bundle,org.eclipse.emf.codegen,2.8.0.v20120917-0436 No repository > found containing: > osgi.bundle,org.eclipse.emf.codegen.ecore,2.8.1.v20120917-0436 No > repository found containing: > osgi.bundle,org.eclipse.emf.codegen.ecore.ui,2.8.0.v20120917-0436 No > repository found containing: > osgi.bundle,org.eclipse.emf.codegen.ui,2.6.0.v20120917-0436 No > repository found containing: > osgi.bundle,org.eclipse.emf.common,2.8.0.v20120911-0500 No repository > found containing: > osgi.bundle,org.eclipse.emf.common.ui,2.7.0.v20120917-0436 No > repository found containing: > osgi.bundle,org.eclipse.emf.converter,2.5.0.v20120917-0436 No > repository found containing: > osgi.bundle,org.eclipse.emf.databinding,1.2.0.v20120917-0436 No > repository found containing: > osgi.bundle,org.eclipse.emf.databinding.edit,1.2.0.v20120917-0436 No > repository found containing: > osgi.bundle,org.eclipse.emf.ecore,2.8.1.v20120911-0500 No repository > found containing: > osgi.bundle,org.eclipse.emf.ecore.change,2.8.0.v20120911-0500 No > repository found containing: > osgi.bundle,org.eclipse.emf.ecore.change.edit,2.5.0.v20120917-0436 No > repository found containing: > osgi.bundle,org.eclipse.emf.ecore.edit,2.8.0.v20120917-0436 No > repository found containing: > osgi.bundle,org.eclipse.emf.ecore.editor,2.8.0.v20120917-0436 No > repository found containing: > osgi.bundle,org.eclipse.emf.ecore.xmi,2.8.0.v20120911-0500 No > repository found containing: > osgi.bundle,org.eclipse.emf.edit,2.8.0.v20120917-0436 No repository > found containing: > osgi.bundle,org.eclipse.emf.edit.ui,2.8.0.v20120917-0436 No repository > found containing: > osgi.bundle,org.eclipse.emf.exporter,2.6.0.v20120917-0436 No > repository found containing: > osgi.bundle,org.eclipse.emf.importer,2.7.0.v20120917-0436 No > repository found containing: > osgi.bundle,org.eclipse.emf.importer.ecore,2.6.0.v20120917-0436 No > repository found containing: > osgi.bundle,org.eclipse.emf.importer.java,2.6.0.v20120917-0436 No > repository found containing: > osgi.bundle,org.eclipse.emf.importer.rose,2.6.0.v20120917-0436 No > repository found containing: > osgi.bundle,org.eclipse.emf.mapping,2.7.0.v20120917-0436 No repository > found containing: > osgi.bundle,org.eclipse.emf.mapping.ecore,2.6.0.v20120917-0436 No > repository found containing: > osgi.bundle,org.eclipse.emf.mapping.ecore.editor,2.6.0.v20120917-0436 > No repository found containing: > osgi.bundle,org.eclipse.emf.mapping.ecore2ecore,2.7.0.v20120917-0436 > No repository found containing: > osgi.bundle,org.eclipse.emf.mapping.ecore2ecore.editor,2.5.0.v20120917-0436 > No repository found containing: > osgi.bundle,org.eclipse.emf.mapping.ecore2xml,2.7.0.v20120917-0436 No > repository found containing: > osgi.bundle,org.eclipse.emf.mapping.ecore2xml.ui,2.6.0.v20120917-0436 > No repository found containing: > osgi.bundle,org.eclipse.emf.mapping.ui,2.6.0.v20120917-0436 No > repository found containing: > osgi.bundle,org.eclipse.wst.common.project.facet.core,1.4.300.v201111030424 > No repository found containing: > osgi.bundle,org.eclipse.wst.common.project.facet.ui,1.4.300.v201111030424 > No repository found containing: > org.eclipse.update.feature,org.eclipse.emf.codegen.ecore,2.8.1.v20120917-0436 > No repository found containing: > org.eclipse.update.feature,org.eclipse.emf.codegen.ecore.ui,2.8.0.v20120917-0436 > No repository found containing: > org.eclipse.update.feature,org.eclipse.emf.codegen,2.8.0.v20120917-0436 > No repository found containing: > org.eclipse.update.feature,org.eclipse.emf.codegen.ui,2.7.0.v20120917-0436 > No repository found containing: > org.eclipse.update.feature,org.eclipse.emf.common,2.8.0.v20120911-0500 > No repository found containing: > org.eclipse.update.feature,org.eclipse.emf.common.ui,2.7.0.v20120917-0436 > No repository found containing: > org.eclipse.update.feature,org.eclipse.emf.converter,2.8.0.v20120917-0436 > No repository found containing: > org.eclipse.update.feature,org.eclipse.emf.databinding.edit,1.2.0.v20120917-0436 > No repository found containing: > org.eclipse.update.feature,org.eclipse.emf.databinding,1.2.0.v20120917-0436 > No repository found containing: > org.eclipse.update.feature,org.eclipse.emf.ecore.edit,2.8.0.v20120917-0436 > No repository found containing: > org.eclipse.update.feature,org.eclipse.emf.ecore.editor,2.8.0.v20120917-0436 > No repository found containing: > org.eclipse.update.feature,org.eclipse.emf.ecore,2.8.1.v20120911-0500 > No repository found containing: > org.eclipse.update.feature,org.eclipse.emf.edit,2.8.0.v20120917-0436 > No repository found containing: > org.eclipse.update.feature,org.eclipse.emf.edit.ui,2.8.0.v20120917-0436 > No repository found containing: > org.eclipse.update.feature,org.eclipse.emf,2.8.1.v20120917-0436 No > repository found containing: > org.eclipse.update.feature,org.eclipse.emf.mapping.ecore.editor,2.7.0.v20120917-0436 > No repository found containing: > org.eclipse.update.feature,org.eclipse.emf.mapping.ecore,2.7.0.v20120917-0436 > No repository found containing: > org.eclipse.update.feature,org.eclipse.emf.mapping,2.7.0.v20120917-0436 > No repository found containing: > org.eclipse.update.feature,org.eclipse.emf.mapping.ui,2.7.0.v20120917-0436 > No repository found containing: > org.eclipse.update.feature,org.eclipse.wst.common.fproj,3.4.0.v201202292300-377F8N8s735555393B7B
Solution 2 - Eclipse
Thanks to Fredrik for pointing to the original bug in Eclipse. A comment by Richard Shu there describes several available solutions:
> 1. As Mauro said: "you have to remove and re-add the Eclipse Project Update > site, so that its metadata are re-calculated." - works as workaround > > 2. Another workaround I found, is to edit the pre-defined URL link by adding > just a trailing “/” to the update site URL. > > 3. The third workaround I discoverd accidentaly is to do nothing, but to > uncheck the 'Contact all update sites during install to find required software' > before checking the URL link.
Option #2 worked for me. I went to Window > Preferences > Install/Update > Available Software Sites
, then for each enabled site I added a /
to the end of the URL (if it wasn't there already), then clicked Reload
.
Solution 3 - Eclipse
What you most likely has encountered is a bug in Eclipse.
Luckily the solution is simple enough, remove the update site and install it again.
Solution 4 - Eclipse
Me helped the following solution:
- Go to Help->Software Updates, then select the Available Software tab and click the Manage Sites button
- Use the Export button to export the sites to a bookmarks.xml file
- Open the bookmarks.xml file in your favorite text editor, and add a trailing “/” to any of the site urls which are missing the “/” or remove on the end. Save the changes.
- Back in the Manage Sites window within Eclipse, select all of the sites and click the Remove button
- Now, click Import and load in the edited bookmarks.xml file
It was taken from this link Devon Hillard's Digital Sanctuary
Solution 5 - Eclipse
The updates that Eclipse has found have dependencies that need to be downloaded during the installation but which cannot currently be found. This may be a temporary network problem or some repo server being down (if you're lucky). But unfortunately, sometimes this simply means that the dependencies are not contained in the repositories that Eclipse is trying to download them from, at least that is what i have encountered every now and then (not annoyingly often though).
So either the failure is temporary and you should try again or you are out of luck and may have to use a manual installation procedure (download and unpack in plugins folder).
Maybe you can increase your success rate by adding the repositories that supposedly contain the artifacts in the 'Available Software Sites' dialogue.
I'm not 100% sure of that though. In fact, I would like to find a 'perfect' answer to this question myself.
What usually works quite well is installing plugins via the Eclipse Marketplace.
Oh and sometimes this helps: Uncheck some options (like OSGI in your case).
Solution 6 - Eclipse
Simple!!!!!!!!
Right click on eclipse folder and go to properties. Uncheck checkbox "read only" if checked. apply changes.click oK.
after go to Help>Install new software>Uncheck “Contact all update sites during install to find required software”.
Solution 7 - Eclipse
What I did was:
- I went to Window > Preferences > Install/Update > Available Software Sites, then for each enabled site I added a / to the end of the URL (if it wasn't there already), then clicked Reload as per @Hunternif answer. But the problem still persisted.
- Then I disabled all the software sites and re-enalbed them one by one and ran updates to keep only those that worked. After step 2. the problem was solved. Now I have enabled only the update sites that do not give the error and updates work.
Solution 8 - Eclipse
I am trying to make an update for Spring STS 3.6.3 to the version 3.6.4 in Eclipse Luna (4.4.1) and I tried the following solution and it worked for me:
- go to Help > Install new Softwares > Available software sites
- Uncheck all and check only the sites SpringSource Update Site for Eclipse 4.4 it means that you check only the update site for your version of eclipse
- And validate and make your update
Solution 9 - Eclipse
None of the other answers worked for me (Windows 10, Eclipse Neon). Running Eclipse as Administrator fixed it.
Solution 10 - Eclipse
I've had the same issue since mid 2018. Performing a search, this issue has been reported since 2011. I'm surprised workarounds are proposed for this. Unfortunately they havent't worked for me, currently the only fix seems to completely reinstall Eclipse. As the most upvoted suggestion here, many of the suggestions are contradicting, suggesting trial-error guesses.
Besides these workarounds, IMHO this requires a fix. We're in 2019 now, surely there is a way to fix this recurring issue? How can there not be a simple fix i.e. if repo URL not found: skip and continue with next URL / update (without aborting as critical error and preventing any other update)?
Solution 11 - Eclipse
On Juno (Build id: 20130225-0426), exporting update sites from 'Available software Sites", fixing the trailing "/" in the exported xml as described above, removing all sites and importing the fixed xml worked for me. Described here
Solution 12 - Eclipse
I had the same issue with the bellow error:
session context was:(profile=DefaultProfile, phase=org.eclipse.equinox.internal.p2.engine.phases.Collect, operand=, action=).
No repository found containing: osgi.bundle,oracle.eclipse.tools.rest.lib,8.4.0.201510191754
And the solution is to disable Oracle Enterprise Pack for eclipse
Solution 13 - Eclipse
Eclipse Kepler (at least) allows to specifically reload a software site in the Preferences > Install/Update > Available Software Sites dialog.
It is a cleaner / simpler solution than the workaround explained above (add trailing slash) and it worked for me...
Note: a link to this dialog is also available in the Install New Software dialog.
Solution 14 - Eclipse
The workaround I found, is to edit the pre-defined URL link by adding just a trailing “/” to the update site URL.
Option #2 worked for me. I went to Window > Preferences > Install/Update > Available Software Sites, then for each enabled site I added a / to the end of the URL (if it wasn't there already), then clicked Reload.
Solution 15 - Eclipse
I got this error (September 2020) during an automatic upgrade.
The solution was to add:
http://download.eclipse.org/releases/2020-09
to the list of Available Software Sites.
I also disabled:
http://download.eclipse.org/eclipse/updates/4.15
and several more with release numbers earlier than 4.15, but I don't think that was the important part.
Solution 16 - Eclipse
As many already said it is an issue related to the update sites, for me disabling Help → Install new software → “Contact all update sites during install to find required software" fixed the issue for install Sirius. Put for installing epsilon I disable update site as in the picture
Solution 17 - Eclipse
I had the same problem but while doing updates. I solved it by
- In Window->Preferences->Install/Updates->Available Software Sites, mark the site that is causing the problem and hit the Reload button.
Solution 18 - Eclipse
For Eclipse Neon I had the mentioned error for Mylyn.
To make it work I had to enable the Mylyn Sites that were disabled in the Available Software Sites preference pane. They were unnamed (empty name) but recognizable by their Location column.
After saving, updating Mylyn and restarting eclipse, the Available Software Sites looked like this:
Solution 19 - Eclipse
Probably, my experience with this bug will be needed for someone (including myself too... :) ).
So, I could to add one thing to the mentioned here answers. I mean playing with the trailing "/" symbol in the options, because playing with it does not work in my case. But when I have deleted the .eclipse/org.eclipse.oomph.p2/cache
and the .eclipse/org.eclipse.oomph.setup/cache
dirs (names are given relatively to the home dir) and then have done the well known procedure with "/", it started to work.
Solution 20 - Eclipse
I had a few repository URL's saved with HTTPS. I changed them to HTTP and the error was gone.
You can adapt the URL's in the settings: Preferences -> Install/Update -> Available Software Sites
Solution 21 - Eclipse
2019 Eclipse/CCS
After trying many of the above techniques described here I noticed this post by Edwin landwealths
The long and short of it is to add the infamous tail "/" and ALSO change "http" to "https". This fixed my issue immediately.
Solution 22 - Eclipse
In my case, the only solution was a manual installation (the plugin's page explained how to install it from the Eclipse's Help menu and, as an alternative, were to unpack the zip manually).
Solution 23 - Eclipse
Tried to install Google App Engine SDK, and received similar errors.
None of the answers worked for me.
I noticed download hangs around 999K, while the full download was about 100MB.
Somehow after trying for the sixth or seventh time, the problem fixed itself :)
So if none of these work for you.. try at least several times, maybe server is overloaded :)
Solution 24 - Eclipse
Updating from Kepler SR1 to Kepler SR2 solved this for me. I've just installed over the existing installation, so none of my settings were harmed.
Win8.1, 64bit
Solution 25 - Eclipse
In the end, something does have to be removed. I would like to add to the other answers: be sure to check for conflicts. For me, the EMF (Eclipse Modeling Framework) had somehow gotten out of hand as I had multiple versions listed in windows/preferences. Removing the conflict allowed for my updates to proceed as normal.
Solution 26 - Eclipse
In my case I was getting the above mentioned errors only for a particular update site and eclipse-java-mars-R. Other update sites were allowing me to update, and, using other versions of Eclipse I was able to install from the update site which was causing problems for my Java Mars R Eclipse.
Deleting the cache folder in /Users/myname/.eclipse/org.eclipse.oomph.p2 solved the problem (my coworker, not me, came up with this solution)
Solution 27 - Eclipse
I just got it when installing Maven support in Eclipse for Java EE developers Helios. Solution was just to run Eclipse as Administrator, update went fine after
Solution 28 - Eclipse
In my case I was selecting
> Work with: --All Available Sites--
Choosing instead only one specific site from the list did the trick (Neon.2 64bit on Windows)
Solution 29 - Eclipse
I had the same problem on windows 10. My eclipse version was installed from an exe, downloaded from eclipse site.
What solved for me was to use the zip version instead: http://www.eclipse.org/downloads/eclipse-packages/
Solution 30 - Eclipse
Me helped the following solution:
Go to Help->Software Updates, then select the Available Software tab and click the Manage Sites button Use the Export button to export the sites to a bookmarks.xml file Open the bookmarks.xml file in your favorite text editor, and add a trailing “/” to any of the site urls which are missing the “/” or remove on the end. Save the changes. Back in the Manage Sites window within Eclipse, select all of the sites and click the Remove button Now, click Import and load in the edited bookmarks.xml file
Solution 31 - Eclipse
For Oxygen, see Eclipse Community Forums:
"In my case Oxygen had update URL for Buidship as: http://download.eclipse.org/buildship/updates/e46/releases/2.x
Note: that e46 is Neon version per https://github.com/eclipse/buildship/blob/master/docs/user/Installation.md
once I updated URL to Oxygen version (e47): http://download.eclipse.org/buildship/updates/e47/releases/2.x
update was successful"
Solution 32 - Eclipse
I am using lubuntu( like ubuntu) and I found that when I install ccs, I used sudo cmd, so some file can't be changed by another user, that's why the problem comes up. So in the place I installed ccs, I run the cmd
sudo chown -R username:groupname *
with username
and groupname
are the same as my computer account.
Solution 33 - Eclipse
For me I had Spring IDE installed on Eclipse Oxygen. During check for updates it would find updates, then it would fail with the above error.
I then went to the Eclipse Marketplace, clicked on Installed tab and noticed Spring did not come up (it was there before and is currently installed).
Then I searched for Spring IDE (Tools) clicked install, then it notified that some packages were already installed and just needed to be updated.
After completing the install of Spring Tools and restarting, I was able to check for updates and complete the normal software updates.
Solution 34 - Eclipse
Install the latest STS, export its site list and import it into yours.
Solution 35 - Eclipse
Some of the above solutions worked to resolve some of my errors... it seems that after a while update connections just get corrupted and there is no silver-bullet. Managing updates through the marketplace (Help > Marketplace > 'show updates') allowed me to narrow down the packages with failed dependencies.
Here's what I tried (taken from posts above):
- switching https to http for software sites
- running Eclipse as administrator
- 'disabling' obviously outdated software sites
- 'enabling' all software sites
- adding backslashes to the end of software site urls
- uninstalling and re-installing troublesome software
I was still left with some Mylyn wikitext errors despite trying the suggestions here
Eclipse IDE for JavaScript and Web Developers
Version: 2019-09 R (4.13.0) Build id: 20190917-1200
Solution 36 - Eclipse
Issue seems to be with the outdated sites listed in the Window -> Preferences -> Available Software Sites
. In this window just update the location of the Buildship site.
For the Buildship, the correct url for different versions can be found from this main site : https://download.eclipse.org/buildship/updates/
For specific versions, navigate further down until you reach the specific version. For example: https://download.eclipse.org/buildship/updates/e416/releases/3.x/
For the latest updates, use url https://download.eclipse.org/buildship/updates/latest/
Solution 37 - Eclipse
For those who encounter this problem when installing Eclipse Code Recommenders, you could try the advice from the Eclipse Community Forums:
Go to Help -> Install new software...
Add a repository:
Name: Code Recommenders
Location: https://repo.eclipse.org/content/shadows/releases.unzip/org/eclipse/recommenders/stable/2.5.4/stable-2.5.4.zip-unzip/
I guess this approach can be used for other archived projects, too.
Solution 38 - Eclipse
See this may be the issue from the publisher side or may be the URL is inactive
you can install it via install new software feature
If you are stuck with eclipse color theme from marketplace then you just need to replace .com to .io from URL as .com URL doesn't exist
to see how to install properly using this feature check this out
Solution 39 - Eclipse
As Mauro said: "you have to remove and re-add the Eclipse Project Update site, so that its metadata are re-calculated." - works as workaround