2022-06-30 09:01 AM
When I attempts to update STM32CubeIde 1.9.0 to 1.10.0 I get the following errors
An error occurred while collecting items to be installed
session context was:(profile=STM32CubeIDE, phase=org.eclipse.equinox.internal.p2.engine.phases.Collect, operand=, action=).
No repository found containing: osgi.bundle,com.google.gson,2.8.9.v20220111-1409
No repository found containing: osgi.bundle,com.st.stm32cube.common.ecosystemintegration,2.0.100.202204251147
No repository found containing: osgi.bundle,com.st.stm32cube.common.ecosystemintegration.stinsider,2.0.100.202204251147
These are the first three errors - many similar errors follow.
It appears that it can't find osgi.bundle.com.
Available Software Sites settings shown below.
Other updates have worked fine from 1.6.00 to 1.9.00.
Any suggestions would be appreciated.
Solved! Go to Solution.
2022-07-06 08:27 AM
Uninstalled Cube, reinstalled v1.9.0, was able to upgrade to v1.10.0.
Issue was my PC, not sure why but it works fine now.
Problem solved. Thanks for the help Julian.
2022-07-01 01:26 AM
You get this error because STM32CubeIDE can't fetch some plugins (com.google.gson and com.st.stm32cube.common.ecosystemintegration*).
Anyway those plugins are well part of sw-center repository:
You probably had network issues during the fetch, or maybe a corrupted cache in the application.
In Preferences > Install/Update > Available Software Sites, can you press the Reload button on the repository https://sw-center.st.com/stm32cubeide/updatesite1, and try again to update (Help > Check for Updates).
If it fails, stop STM32CubeIDE, delete the following cache folders, and try again to update.
INSTALL_LOC\STM32CubeIDE\p2\org.eclipse.equinox.p2.core\cache
INSTALL_LOC\STM32CubeIDE\p2\org.eclipse.equinox.p2.repository\cache
2022-07-01 08:35 AM
I tried reloading and deleting cache folder.
Still have the same problem.
I will try from another network this weekend to rule out network issues.
2022-07-02 10:08 AM
Tried to update at home, same errors.
2022-07-03 11:29 PM
You could maybe retry by keeping only sw-center URLs into Available Software Sites preference page to eliminated any possible conflict between repos.
If it fails again, can you attach your workspace log file (WORKSPACE_LOC/.metadata/.log) to this thread ?
2022-07-05 08:38 AM
2022-07-05 08:49 AM
There are many similar errors for all repositories you have defined in Available Software Sites:
No repository found at https://sw-center.st.com/stm32cubeide/openstlinux/updatesite1
No repository found at https://sw-center.st.com/stm32cubeide/updatesite1
No repository found at https://subclipse.github.io/updates/subclipse/4.3.x/
No repository found at http://download.eclipse.org/mylyn/releases/latest
No repository found at https://download.eclipse.org/releases/2021-12
No repository found at https://download.eclipse.org/releases/2021-12/202112081000
Since it works for another non IT-managed PC on the same network I wonder if your work PC could have custom IT policy and rules preventing those connections... That's said I must admit that it would be strange that the Reload works but not the upgrade...
2022-07-06 08:27 AM
Uninstalled Cube, reinstalled v1.9.0, was able to upgrade to v1.10.0.
Issue was my PC, not sure why but it works fine now.
Problem solved. Thanks for the help Julian.