Red Hat Bugzilla – Bug 814963
Package lets Eclipse update fail when installed
Last modified: 2012-05-07 09:12:47 EDT
Description of problem:
When installed, Eclipse update fails with the following message:
Cannot complete the install because one or more required items could not be found.
Software being installed: WST Server UI 18.104.22.168111171017 (org.eclipse.wst.server_ui.feature.feature.group 22.214.171.124111171017)
Missing requirement: WST Server Core 126.96.36.199111171017 (org.eclipse.wst.server_core.feature.feature.group 188.8.131.52111171017) requires 'org.eclipse.wst.server.core [1.1.303.201111171017]' but it could not be found
Cannot satisfy dependency:
From: WST Server UI 184.108.40.206111171017 (org.eclipse.wst.server_ui.feature.feature.group 220.127.116.11111171017)
To: org.eclipse.wst.server_core.feature.feature.group [18.104.22.168111171017]
Version-Release number of selected component (if applicable):
Steps to Reproduce:
Package eclipse-wtp-servertools-3.3.1-2.fc16.noarch is installed, start Eclipse and try to update. Problem disappears when uninstalling package and reappears again after installing it again.
Error message as show above. Must unselect WST Server Core, UI and User Documentation update boxes to have Eclipse update proceed.
No error message and no update for these components as they are distro supplied.
I've quite some Eclipse packages installed, including eclipse-wst-*
I've check that no old versions of this package are floating around. There are no non-distro files in /usr/share/eclipse/ subtree.
How do you try to update? Using the internal eclipse update? It's never a good idea do mix rpm and update site for the same plugin.
Yes, using the Eclipse intenal update. I was under the impression that the plugins installed as a package would simply be excluded from that internal update. Plugins from rpm packages should only get their updates from the yum repository.
A functional internal Eclipse update is needed as one might install additional plugins. In my case the Android plugin.
So in this case it's the org.eclipse.wst.server.ui missing from Fedora being the problem, right? Can you try on Fedora 17 as this should be fixed as I installed Android tools without a problem on F-17 alpha a month ago?
I can do that after next week. But I'm curious what that would bring. I don.t see any relation with the Android plugin. The problem is with the wst server tools on Fedora 16 and apparently not on 17. So maybe a quick compare between the fc16 and fc17 packages by an expert might reveal the problem (I'm currently travelling).
F17 seems fine here as well. So what worked on F17 should go to F16 as well.
This is not as easy as said because in F17 we have the whole eclipse stack updated and doing that for F16 will be major disruption because of the number of updates needed - every eclipse* package + a number of underlying libraries.
Closing the bug as next release as doing this kind of updates will actually make F16 become F17 from Java POV.
So there are basically two workarounds:
1) Deselect the packages in the Eclipse update dialog to be able to update non-packages eclipse plugins
2) Remove the package from the system when you don't need it.
(2a: one might install the package from a different source, untested)
Thanks for looking into this problem and giving the clarification for the closure.