cancel
Showing results for 
Search instead for 
Did you mean: 

Error updating to STM32CubeIde 1.10.0

RHerm.3
Associate III

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.

0693W00000QKCwpQAH.jpgOther updates have worked fine from 1.6.00 to 1.9.00.

Any suggestions would be appreciated.

1 ACCEPTED SOLUTION

Accepted Solutions
RHerm.3
Associate III

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.

View solution in original post

7 REPLIES 7
Julien D
ST Employee

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:

0693W00000QKGApQAP.pngYou 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

RHerm.3
Associate III

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.

Tried to update at home, same errors.

Julien D
ST Employee

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 ?

I tried to update my home PC from 1.9 to 1.10. It worked fine using the same network connection that failed with my work PC. Looks like something missing from my work PC.

I will uninstall STM32CubeIde and re-install.

The log from the last failed upgrade is attached.

Thanks for the help.

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...

RHerm.3
Associate III

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.