Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

In-place upgrade STS-4.10 to STS-4.12 failing #691

Closed
space88man opened this issue Sep 30, 2021 · 3 comments
Closed

In-place upgrade STS-4.10 to STS-4.12 failing #691

space88man opened this issue Sep 30, 2021 · 3 comments
Labels
for: eclipse something that is specific for Eclipse type: bug type: install-issue

Comments

@space88man
Copy link

space88man commented Sep 30, 2021

Describe the bug
I am trying to upgrade an STS 4.10 directory to STS 4.12 and failing at "Check for Updates".
Platform is Linux.

To Reproduce

Error

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.springframework.boot.ide.branding,4.12.0.202109130635-RELEASE
No repository found containing: org.eclipse.update.feature,org.springframework.boot.ide.branding.feature,4.12.0.202109130635
No repository found containing: binary,org.springframework.boot.ide.branding.sts4.executable.gtk.linux.x86_64,4.12.0.202109130635```

Screenshot from 2021-09-30 18-27-41
Screenshot from 2021-09-30 18-29-53

@space88man
Copy link
Author

I saw this: https://stackoverflow.com/questions/69214960/cannot-satisfy-dependency-in-sts4-org-springframework-boot-ide-branding-sts4-4-1.

However this is not an existing Eclipse installation - it is sts-4.10.0.RELEASE trying to move to sts-4.12.0.RELEASE.

@space88man
Copy link
Author

space88man commented Sep 30, 2021

Well to my surprise this method worked:

  • add two more update sites
  • duplicate Eclipse site and replace /latest with /2021-09
  • duplicate STS 4 site replace /latest with /e4.21

Then the in-place upgrade works.

@martinlippert
Copy link
Member

Glad to hear you found a solution for this. My guess is that this is related to stale cache data for the repositories, so deleting the update sites from the preferences, restarting the IDE, and adding them back should have worked as well. Looks like your added update sites worked around this as well... :-)

Ideally, you don't need all those update sites. This one should be enough:

https://download.springsource.com/release/TOOLS/sts4/update/latest/

It refers to the latest Eclipse release as well as the latest matching STS4 release for that Eclipse version, so updating from that should keep you up-to-date with the latest Eclipse and STS4 - in case you want to clean up your preferences... :-)

@martinlippert martinlippert added for: eclipse something that is specific for Eclipse type: install-issue and removed status: waiting-for-triage labels Jan 10, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
for: eclipse something that is specific for Eclipse type: bug type: install-issue
Projects
None yet
Development

No branches or pull requests

2 participants