Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Newcomers » Newcomers » Cannot update Eclipse: missing repository for 2 google inject items(No repository found containing: osgi.bundle,com.google.inject,3.0.0.v201605172100)
Cannot update Eclipse: missing repository for 2 google inject items [message #1774621] Wed, 18 October 2017 00:35 Go to next message
Marc Sherman is currently offline Marc ShermanFriend
Messages: 5
Registered: October 2017
Junior Member
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 #1774628 is a reply to message #1774621] Wed, 18 October 2017 06:55 Go to previous messageGo to next message
Ed Merks is currently offline Ed MerksFriend
Messages: 33216
Registered: July 2009
Senior Member
Those bundles are in Neon and Oxygen update sites, e.g., in http://download.eclipse.org/releases/oxygen

Is that enabled in Window -> Preferences -> Install/Update -> Available Software Sites?


Ed Merks
Professional Support: https://www.macromodeling.com/
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 Go to previous messageGo to next message
Stephen Prokopchuk is currently offline Stephen ProkopchukFriend
Messages: 1
Registered: December 2017
Junior Member
This is what I did to fix it..


  1. Go into Help --> Install New Software
  2. Deselect the 'Contact all update sites during install to find required software (this might be optional.. haven't tested)
  3. Select the Oxygen (or your version of eclipse) site from the Work With.. drop-down
  4. Go through each section and each item and look for the update (looks like refresh) icon beside it.
  5. if it has an update icon beside it, select it.. there will be a few
  6. 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 Go to previous messageGo to next message
John Salvo is currently offline John SalvoFriend
Messages: 3
Registered: December 2017
Junior Member
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".



Re: Cannot update Eclipse: missing repository for 2 google inject items [message #1785278 is a reply to message #1774628] Thu, 12 April 2018 00:32 Go to previous messageGo to next message
Marc Sherman is currently offline Marc ShermanFriend
Messages: 5
Registered: October 2017
Junior Member
Sorry it has taken me so long to respond, guess I need to enable ECF notifications
Yes that repository is there
Re: Cannot update Eclipse: missing repository for 2 google inject items [message #1785279 is a reply to message #1777686] Thu, 12 April 2018 01:34 Go to previous messageGo to next message
Marc Sherman is currently offline Marc ShermanFriend
Messages: 5
Registered: October 2017
Junior Member
This worked for me too! Started getting same error message with Oxygen April 2018 release, and that is what brought me back to the forum.
Thanks Stephen!
Cheers,
Marc
Re: Cannot update Eclipse: missing repository for 2 google inject items [message #1790505 is a reply to message #1774621] Tue, 12 June 2018 03:20 Go to previous messageGo to next message
Frank Schulten is currently offline Frank SchultenFriend
Messages: 4
Registered: June 2018
Junior Member
I had problems updating recommenders all since Oxygen 3A.

What I did now for the update 2.5.2 -> 2.5.3 is to uninstall recommenders from the marketplace "Installed" tab, restarted eclipse, got the notification that recommenders is missing, installed it again and afterwards the update went through.

Re: Cannot update Eclipse: missing repository for 2 google inject items [message #1790579 is a reply to message #1790505] Wed, 13 June 2018 08:32 Go to previous message
Marc Sherman is currently offline Marc ShermanFriend
Messages: 5
Registered: October 2017
Junior Member
I tried Frank's solution for the Recommenders update June2018.
It did not work for me, but Stephen's original answer with respect to <--(wrt) osgi bundles at google problem, did work again wrt the Recommenders update
Previous Topic:can not install off-line
Next Topic:How do I Localizing Text in Column Headings of table in BIRT report?
Goto Forum:
  


Current Time: Sun Sep 22 23:46:10 GMT 2024

Powered by FUDForum. Page generated in 0.07915 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top