STS 4.2.0.RELEASE fails to update with "An error occurred while collecting items to be installed"
See original GitHub issueSimilar to #79, STS fails to update with below error. I have tried the “Reload” suggestion in #79, but still the issue persists. Find also below the contents of “Available Software Sites”. I’m not clear on which should be there, or can be removed or re-instated as #79 somewhat suggests.
Ultimately, I just wish to upgrade to 4.2.2 using the “Help | Check for Updates” menu as I have done in the past.
Win10 x64 launched via Java 8 Oracle JDK.

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: osgi.bundle,org.eclipse.lsp4e,0.9.1.201904121104 No repository found containing: osgi.bundle,org.eclipse.xtext.xbase.lib,2.18.0.v20190408-0319 No repository found containing: osgi.bundle,org.springframework.boot.ide.branding,4.2.1.201904170946-RELEASE No repository found containing: osgi.bundle,org.springframework.ide.eclipse.beans.ui.live,3.9.9.201904162228-CI-B2221 No repository found containing: osgi.bundle,org.springframework.ide.eclipse.boot,3.9.9.201904162228-CI-B2221 No repository found containing: osgi.bundle,org.springframework.ide.eclipse.boot.dash,3.9.9.201904162228-CI-B2221 No repository found containing: osgi.bundle,org.springframework.ide.eclipse.boot.launch,3.9.9.201904162228-CI-B2221 No repository found containing: osgi.bundle,org.springframework.ide.eclipse.boot.refactoring,3.9.9.201904162228-CI-B2221 No repository found containing: osgi.bundle,org.springframework.ide.eclipse.boot.restart,3.9.9.201904162228-CI-B2221 No repository found containing: osgi.bundle,org.springframework.ide.eclipse.boot.templates,3.9.9.201904162228-CI-B2221 No repository found containing: osgi.bundle,org.springframework.ide.eclipse.boot.validation,3.9.9.201904162228-CI-B2221 No repository found containing: osgi.bundle,org.springframework.ide.eclipse.boot.wizard,3.9.9.201904162228-CI-B2221 No repository found containing: osgi.bundle,org.springframework.ide.eclipse.buildship20,3.9.9.201904162228-CI-B2221 No repository found containing: osgi.bundle,org.springframework.ide.eclipse.buildship30,3.9.9.201904162228-CI-B2221 No repository found containing: osgi.bundle,org.springframework.ide.eclipse.cloudfoundry.manifest.editor,3.9.9.201904162228-CI-B2221 No repository found containing: osgi.bundle,org.springframework.ide.eclipse.editor.support,3.9.9.201904162228-CI-B2221 No repository found containing: osgi.bundle,org.springframework.ide.eclipse.imports,3.9.9.201904162228-CI-B2221 No repository found containing: osgi.bundle,org.springframework.tooling.boot.ls,1.6.0.201904170912 No repository found containing: osgi.bundle,org.springframework.tooling.bosh.ls,1.6.0.201904170912 No repository found containing: osgi.bundle,org.springframework.tooling.cloudfoundry.manifest.ls,1.6.0.201904170912 No repository found containing: osgi.bundle,org.springframework.tooling.cloudfoundry.manifeast.ls.integration,4.2.1.201904170912 No repository found containing: osgi.bundle,org.springframework.tooling.concourse.ls,1.6.0.201904170912 No repository found containing: osgi.bundle,org.springframework.tooling.jdt.ls.commons,4.2.1.201904170912 No repository found containing: osgi.bundle,org.springframework.tooling.ls.eclipse.commons,4.2.1.201904170912 No repository found containing: osgi.bundle,org.springframework.tooling.ls.eclipse.gotosymbol,4.2.1.201904170912 No repository found containing: osgi.bundle,org.springsource.ide.eclipse.commons.cloudfoundry.client.v2,3.9.9.201904162228-CI-B2221 No repository found containing: osgi.bundle,org.springsource.ide.eclipse.commons.core,3.9.9.201904121913-CI-B463 No repository found containing: osgi.bundle,org.springsource.ide.eclipse.commons.frameworks.core,3.9.9.201904121913-CI-B463 No repository found containing: osgi.bundle,org.springsource.ide.eclipse.commons.frameworks.ui,3.9.9.201904121913-CI-B463 No repository found containing: osgi.bundle,org.springsource.ide.eclipse.commons.jdk_tools,3.9.9.201904121913-CI-B463 No repository found containing: osgi.bundle,org.springsource.ide.eclipse.commons.livexp,3.9.9.201904121913-CI-B463 No repository found containing: osgi.bundle,org.springsource.ide.eclipse.commons.quicksearch,3.9.9.201904121913-CI-B463 No repository found containing: osgi.bundle,org.springsource.ide.eclipse.commons.ui,3.9.9.201904121913-CI-B463 No repository found containing: org.eclipse.update.feature,org.springframework.boot.ide.branding.feature,4.2.1.201904170946-RELEASE No repository found containing: binary,org.springframework.boot.ide.branding.sts4.executable.win32.win32.x86_64,4.2.1.201904170946-RELEASE No repository found containing: org.eclipse.update.feature,org.springframework.boot.ide.main.feature,4.2.1.201904170946-RELEASE No repository found containing: binary,org.springframework.boot.ide.main.feature_root,4.2.1.201904170946-RELEASE No repository found containing: org.eclipse.update.feature,org.springframework.ide.eclipse.boot.dash.feature,3.9.9.201904162228-CI-B2221 No repository found containing: org.eclipse.update.feature,org.springframework.tooling.boot.ls.feature,4.2.1.201904170912 No repository found containing: org.eclipse.update.feature,org.springframework.tooling.bosh.ls.feature,4.2.1.201904170912 No repository found containing: org.eclipse.update.feature,org.springframework.tooling.cloudfoundry.manifest.ls.feature,4.2.1.201904170912 No repository found containing: org.eclipse.update.feature,org.springframework.tooling.cloudfoundry.manifest.ls.integration.feature,4.2.1.201904170912 No repository found containing: org.eclipse.update.feature,org.springframework.tooling.concourse.ls.feature,4.2.1.201904170912 No repository found containing: org.eclipse.update.feature,org.springsource.ide.eclipse.commons.quicksearch.feature,3.9.9.201904121913-CI-B463
Issue Analytics
- State:
- Created 4 years ago
- Comments:10 (5 by maintainers)

Top Related StackOverflow Question
Issue resolved following suggestion around clearing the list of sites. Steps were as below
One question though … I left the below “e4.8” entry relating to the language server. Should I remove this also? Below is all the entries relating to “springsource”.
<site url="https://download.springsource.com/release/TOOLS/sts4/update/latest" selected="true" name="Spring Tool Suite 4"/><site url="https://download.springsource.com/release/TOOLS/sts4-language-servers/e4.8" selected="true" name="Spring Tooling Language Servers for Eclipse"/><site url="https://download.springsource.com/release/TOOLS/sts4-language-server-integrations" selected="true" name="Spring Tools 4 Language Servers for Eclipse"/>In case you already tried the “Reload” option and that didn’t help, I would recommend to export all the update sites to a file, then delete them from the list in Eclipse/STS, and restart Eclipse/STS. Then re-import the list of update sites from the file again (there are buttons for that to the right of that list on the preference page). That should wipe out the stale cache data entirely.
In addition to that you should also remove the
e4.9ande4.10versions of the Spring Tools 4 update site from the list of available update sites first. As long as you have thelatestin there, it is fine and you should always get the latest release.The latest release version is 4.2.1 at the moment, btw. That is why I am a bit confused about your comment mentioning version 4.2.2. We currently work on that version. If you want to update to the latest nightly build of that, you could do that, too, but keep in mind that it is a continuous integration build, so you would always get the latest build, not the latest release. The p2 repo URLs for the nightly builds can be found here: https://dist.springsource.com/snapshot/STS4/nightly-distributions.html