Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

(Eclipse SDK update error) An error occur while collecting items to be installed

I just updated ADK and I encountered exactly the same problem (the same version of upgrade) as this guy (Cannot update ADT from 22.3.0. to 22.6.1, no updates were found)

I followed their comments, yet I did not see the dialog mentioned in step 4 (4. You should see a dialog that says "this software is already installed, an update will be performed instead". Clicking ok will lead to 22.6.1 being installed.)

Instead, I have the error message that titled

Problem occurred

It says

Installing Software has encountered a problem. An error occurred while collecting items to be installed

And a chunk of details is followed, which I do not understand (See below). Could someone help? Thx so much

An error occurred while collecting items to be installed session context was:(profile=profile, phase=org.eclipse.equinox.internal.p2.engine.phases.Collect, operand=, action=). No repository found containing: osgi.bundle,com.android.ide.eclipse.adt,22.6.2.v201403212031-1085508 No repository found containing: osgi.bundle,com.android.ide.eclipse.adt.package,22.6.2.v201403212031-1085508 No repository found containing: osgi.bundle,com.android.ide.eclipse.base,22.6.2.v201403212031-1085508 No repository found containing: osgi.bundle,com.android.ide.eclipse.ddms,22.6.2.v201403212031-1085508 No repository found containing: osgi.bundle,com.android.ide.eclipse.gldebugger,22.6.2.v201403212031-1085508 No repository found containing: osgi.bundle,com.android.ide.eclipse.hierarchyviewer,22.6.2.v201403212031-1085508 No repository found containing: osgi.bundle,com.android.ide.eclipse.traceview,22.6.2.v201403212031-1085508 No repository found containing: osgi.bundle,overlay.com.android.ide.eclipse.adt.overlay,22.6.2.v201403212031-1085508 No repository found containing: org.eclipse.update.feature,com.android.ide.eclipse.adt,22.6.2.v201403212031-1085508 No repository found containing: org.eclipse.update.feature,com.android.ide.eclipse.ddms,22.6.2.v201403212031-1085508 No repository found containing: org.eclipse.update.feature,com.android.ide.eclipse.gldebugger,22.6.2.v201403212031-1085508 No repository found containing: org.eclipse.update.feature,com.android.ide.eclipse.hierarchyviewer,22.6.2.v201403212031-1085508 No repository found containing: org.eclipse.update.feature,com.android.ide.eclipse.traceview,22.6.2.v201403212031-1085508

like image 443
Derekyy Avatar asked Apr 21 '14 16:04

Derekyy


2 Answers

I recently had a problem very similar to this. And the answer from @ChrisNoldus did not work for me. However I did find this link:

Basically, there seems to be a problem when an available update site doesn't have a trailing '/' in its link.

I did not need to export anything to a file, but simply changed the configurations in Window->Preferences->Install/Update->Available Software Sites

like image 182
J.Makela Avatar answered Oct 29 '22 16:10

J.Makela


As per jonesw's link https://stackoverflow.com/a/14896322/621481 all you need to do is make sure you have unchecked 'Contact all update sites during install to find required software' from the eclipse install software screen.

like image 31
Chris Noldus Avatar answered Oct 29 '22 15:10

Chris Noldus