| Summary: | "Updates" window works improperly when associateSitesURL update site attribute is used | ||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Product: | [Eclipse Project] Platform | Reporter: | Lukáš Petrovický <lukas> | ||||||||||
| Component: | Update (deprecated - use Eclipse>Equinox>p2) | Assignee: | Platform-Update-Inbox <platform-update-inbox> | ||||||||||
| Status: | RESOLVED WONTFIX | QA Contact: | |||||||||||
| Severity: | major | ||||||||||||
| Priority: | P3 | CC: | a.gurov, eclipse | ||||||||||
| Version: | 3.3.1 | ||||||||||||
| Target Milestone: | --- | ||||||||||||
| Hardware: | PC | ||||||||||||
| OS: | All | ||||||||||||
| Whiteboard: | obsolete | ||||||||||||
| Attachments: |
|
||||||||||||
|
Description
Lukáš Petrovický
Created attachment 88384 [details]
1- The update manager
This happens right after update manager finishes searching for updates.
Created attachment 88385 [details]
2 - "Show the latest..."
This happens after I click the "Show the latest version of a feature only" checkbox.
Created attachment 88386 [details]
3 - Arrow clicked
And this is what happens when I click the arrow near "Mylyn (Prerequisites)" on the previous screen, trying to unfold it.
Just adding that I get the exact same s.it. It has been so for about a month, and since I have the automatic updates on, I get this empty thing every day, stating "0 of 3 selected", without ANY possibility to actually select anything. Created attachment 89149 [details]
Updates window under Windows XP
It looks like problem relates to update manager. As workaround I will recommend you to use "Install new features" option. The "install" window works fine in difference to "Updates". We use the associateSitesURL option in order to reference the Mylyn project update site from the Subversive update site because we have dependency from the Mylyn plug-ins. Unfortunately "Updates" window looks ugly when the option is used. It is possible to avoid the problem somehow without removing associateSitesURL option? I'm so fed up with this shit now that I'm trying to remove the entire Mylyn gore to get rid of this OBVIOUS ERROR that no-one seems to care about. It seems to be blocking any other update as well - I can't believe the amount of time passed without a single update to any other component. I managed to remove the current install - but when restarting and trying to do update again, I still got that IDIOTIC, SUPER-ANNOYING window as the attachments to this bug show. So by clicking that "entrance forbidden"-like icon on the configuration management console thingy, I got to see that there are about a dozillion updates to mylyn. I managed to get rid of everything down to the apparently original install, which apparently is impossible to delete, even though I've now enabled them again, hoping that that would enable me to delete them.. I now got "8 updates" to the Mylyn Prerequisites, instead of the 3 and 4 I've gotten before. Still looking exactly the same as the screen shots that Lukáš Petrovický have uploaded. I didn't get the Install new features "workaround" to work - it didn't come up with any new features to install (I guess there's only available updates to existing, not any new). I'm now trying again, since I've deleted everything I could manage of Mylyn... If that whatever "associateSitesURL option" is to blame, then don't f.cking use it. Turn it off this moment. It doesn't make the "Updates window looks ugly", it makes it completely unusable. And this happens every night, since I've enabled that automatic update thing. (As a totally off-topic side note, I wonder why the update manager is so god-damn slow? It might be that Norwegian mirror's fault, "[Norway] University of Oslo/UNINETT (ftp)". I've always experienced this, and even gotten timeouts and whatnots.) (In reply to comment #8) > I managed to remove the current install - but when restarting and trying to do > update again, I still got that IDIOTIC, SUPER-ANNOYING window as the > attachments to this bug show. Removing Mylyn does not help. You need to wipe out Subversive to make the update manager work. By the way, "Updates window works improperly" is a bad title for this bug - the window does not "work improperly", it just "doesn't work." People with Subversive simly aren't able to update any part of their Eclipse because of that. *Subversive*??? Due to a bit over-eager feature installation on my 3.2 install with some ensuing problems, I this 3.3 time tried to go for a completely clean and basic install (+ only Eclipse Monkey, Subversive and TestNG). Seems like that didn't help a bit - the update process of Eclipse just seem to suck no matter.. So, how did you find out that it was Subversive's fault, and what is the bug# that covers this?? (In reply to comment #10) > So, how did you find out that it was Subversive's fault, and what is the bug# > that covers this?? Take a look at my initial description of the bug - it clearly indicates that adding Subversive update site to my configuration triggered this issue. Of course, it's been identified later as a more general problem - but removing the update site that uses the associateSitesURL "solves" that. And that update site (in my case) was Subversive's - sorry for mentioning it in my previous comment, it's just my test case. Oh, sorry - you are totally correct. I realize that I must have just skimmed the initial report.. I got these problems a long time ago (probably basically right away after installing 3.3, since I set up Subversive pretty much right away), and when the problem didn't clear in a couple of weeks, I started googling for "Mylyn" and "update" and such, and came to this bug. I probably latched onto the mention of Mylyn and the screenshots which are identical to what I get. I've now found out that the workaround of using the "Install new features", as mentioned by Alexander Gurov, work IF you uncheck the box "Show the latest version of a feature only": The dialog only showed me three "Patch x" features on the "The Eclipse Project Updates" folder. When selecting them, I got the following error: " Eclipse RCP Patch 1 for 3.3.1 (3.3.1.v20071002_331) requires feature "org.eclipse.rcp (3.3.1.R33x_r20070802-8y8eE8sEV3Fz0z0GlHJrXvTAUS) ". (Same goes for "Patch 2" and "Patch 3" if unselecting the former). But by unchecking mentioned box, I suddenly got a bunch of updates available (actually, three full sets). So after lots of downloading and restarting, I'm apparently now running on 3.3.1.1.. Subversive folks: you must remove the usage of associateSitesURL right away! See, it is impossible to _update_ anything of Eclipse when this is used, including, obviously, the possibility of updating Eclipse to actually handle associateSitesURL!! It is very strange for me that proposed workaround does not work for you because I checked this workaround for every Subversive build which I have installed into my Eclipse 3.3.1. But regarding to your proposal I've removed the associateSitesURL from site.xml until this issue is fixed in Eclipse IDE. So, next Subversive build will not contain this option. @Alexander: In the post above your reply, I did acknowledge that you're correct: your suggested workaround WORKS AROUND! - GIVEN that one uncheck the box "Show the latest version of a feature only". The reason for this, at least for me, was that I had gotten so far behind on the updates (due to this bug) that I apparently had lots of earlier AND later pending updates which pretty much blocked each other, which again apparently hindered me from seeing the updates in question (I just saw three patches, but these couldn't be selected, as they depended on some earlier updates that I didn't see). Once this box was unchecked, I got a clearer view of what I'd missed, and just installed every single update and patch (one apparent "set" per round, with eclipse-reboot in between - no one shall accuse me of doing this in a to hasty way!), and finally I was up-to-date. I do however find this workaround rather .. workaround-ish: If you don't start googling like a maniac, and don't come by this exact bug, reading every comment, you'd never know this. I gather that the next Subversion build has not been pushed _quite yet_, as I still get the exact same problem as before..? AND IT WORKS (again)!! "No updates for the currently installed feature(s) found, try again later." The associateSitesURL option was removed from existing update site. All future versions also will not have this option. Our project (Subversive) contains dependencies from the Mylyn project and without this feature installation process is not too easy for users. So, severity increased to major because now all projects with external dependencies must not use this feature due to described problem. We hope fixing this will not take too much time and fix could be included into Ganymede. The Eclipse Update component is no longer under development, and no longer exists in the Eclipse Platform 4.x stream. If this problem still occurs in Eclipse Platform 4.2 or later, please enter a new bug report against Equinox p2. |