Cannot update Eclipse: missing repository for 2 google inject items [message #1774621] |
Wed, 18 October 2017 00:35  |
Eclipse User |
|
|
|
I have been getting the error msgs below for the past several weeks when I click on the update notification. The bundle must contain 20 line items/folders, but the missing repository error msg blocks all the updates, not just those relying on the com.google osgi's repository.
I was hoping that many people would be getting the same error msg, and that it would be fixed after a few days. So far that is not the case, so I have posted it here in the newby forum.
Thanks/Cheerss,
Marc
Eclipse version:
Version: Oxygen Release (4.7.0)
Build id: 20170620-1800
Error message:
An error occurred while collecting items to be installed
session context was:(profile=C__Users_marcs_java-oxygen2_eclipse, phase=org.eclipse.equinox.internal.p2.engine.phases.Collect, operand=, action=).
No repository found containing: osgi.bundle,com.google.inject,3.0.0.v201605172100
No repository found containing: osgi.bundle,com.google.inject.multibindings,3.0.0.v201605172100
|
|
|
|
Re: Cannot update Eclipse: missing repository for 2 google inject items [message #1777686 is a reply to message #1774621] |
Fri, 01 December 2017 14:35   |
Eclipse User |
|
|
|
This is what I did to fix it..
- Go into Help --> Install New Software
- Deselect the 'Contact all update sites during install to find required software (this might be optional.. haven't tested)
- Select the Oxygen (or your version of eclipse) site from the Work With.. drop-down
- Go through each section and each item and look for the update (looks like refresh) icon beside it.
- if it has an update icon beside it, select it.. there will be a few
- Install the checked items
Once this is done, you can do a normal update and things will hopefully be back to normal.
|
|
|
Re: Cannot update Eclipse: missing repository for 2 google inject items [message #1779072 is a reply to message #1777686] |
Tue, 02 January 2018 03:21   |
Eclipse User |
|
|
|
I had this problem as well. I have updated all other features / plugins / etc .. are are now only left with the following that cannot be updated:
Code Recommenders for Java Developers 2.5.0.v20171201-1623
Code Recommenders Mylyn Integration 2.5.0.v20171201-1623
An error occurred while collecting items to be installed
session context was:(profile=C__eclipse-jee-oxygen_eclipse, phase=org.eclipse.equinox.internal.p2.engine.phases.Collect, operand=, action=).
No repository found containing: osgi.bundle,com.google.inject,3.0.0.v201605172100
No repository found containing: osgi.bundle,com.google.inject.multibindings,3.0.0.v201605172100
The "Code Recommenders" is using the the following URL in the "Available Software Sites":
http://download.eclipse.org/recommenders/updates/stable/
.. and if you look at the plugins dir:
http://download.eclipse.org/recommenders/updates/stable/?dir=plugins
.. my understanding is that, It shows that the JARs are there ( at least on the meta-data ):
com.google.inject.source_3.0.0.v201605172100.jar
com.google.inject.multibindings_3.0.0.v201605172100.jar
... so should have NOT errored out. Just not sure what the "osgi.bundle," means in front of "com.google.inject,3.0.0.v201605172100"
What I did as a workaround it was to do what Stephen did above. Specifically, that is to deselect the "Contact all update sites during install to find required software" when installing the update for "Code Recommenders".
|
|
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.06764 seconds