Community
Participate
Working Groups
Created attachment 259986 [details] log I just updated the my eclipse installation from mars update site and when i restarted the ide it didn't open and told me to check the log file(attached) in my workspace metadata folder. However even if i remove the workspace the error persists. Please help, p.s. I am using a secure network which blocks many unauthorized connections.
Comment on attachment 259986 [details] log appears to be a "text" document
Created attachment 259987 [details] .log
(In reply to David Williams from comment #1) > Comment on attachment 259986 [details] > log > > appears to be a "text" document i'm sorry about that, i re-uploaded the file.
From reading your log you have a lot of problems! (Sorry, I do not mean to "rub it in".) The fact that there are some issues such as "Bakik not found in dropins" And some things not installed "because a more recent version is already installed", makes me think that you may not be able to get a "clean upgrade". If I had to guess, I suspect near the end of the update process, there was a message that Eclipse or p2 said it could not satisfy the request, and so the request was modified". Still guessing, it probably gave you 3 choices and you may have just "clicked" not paying attention to what the messages said? And thus, you have ended up with a "mixed install" where some things were omitted and some down-leveled. I am just guessing. Do you recall anything like that? You might try running eclipse once (and only once) with the -clean option. (Some "package dependency relationships" are cached, and normally equinox knows very well when that cache needs to be re-computed. But, in the case of a "mixed install", it might not. If that does not work all I know to suggest it to start with a fresh download of Mars.2 (whichever package you are using) and re-install those things that do not come with the package. Hope that helps, at least, a little.
(In reply to can lekili from comment #3) > (In reply to David Williams from comment #1) > > Comment on attachment 259986 [details] > > log > > > > appears to be a "text" document > > i'm sorry about that, i re-uploaded the file. The second one also appears to be a text file, not "application/octet-stream". Are you setting that mime-type, or is bugzilla guessing wrong?
bugzilla is guessing it. but it is curious because the second one i see as "application/octet-stream". I'm afraid i have already tried running eclipse with the -clean option. It yielded the same. I think you might be right about the not being able to get a clean update because my network administrator shuts down many network connections eclipse is trying to establish. Thank you,
I also noticed that one of the URLs in the log is not a reachable p2 repo: http://download.eclipse.org/stats/releases/mars/org.eclipse.modisco.infra.omg.feature_feature-0.13.2.201601200708 However, I would like to know: 1. Before the restart, did Eclipse notified that he could not update correctly? 2. Do you think your system could have shut down some network connections while Eclipse was downloading? 3. Are you suggesting that Eclipse needs a mechanism to recover from this kind of errors? A response to any of the above will help in defining a fix for this "blocker" here is my thought: If 1=Yes or 2=Yes -> We could add a patch to prevent Eclipse from completing the update in case of warnings or download errors. If 3=Yes -> we could make a "hidden backup" of all the changing files in a "temp folder", and restore them in the case of an unsuccesseful restart.
As last resort, maybe you could revert the update using p2 director via Command Line: https://wiki.eclipse.org/FAQ_Revert_an_Update_or_Installation_with_p2
(In reply to Patrik Suzzi from comment #8) > As last resort, maybe you could revert the update using p2 director via > Command Line: > > https://wiki.eclipse.org/FAQ_Revert_an_Update_or_Installation_with_p2 Thank you for replying, i've already re installed eclipse and i don't have the old installation anymore.