Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 260056 - Cannot update from Ganymede repository
Summary: Cannot update from Ganymede repository
Status: RESOLVED WORKSFORME
Alias: None
Product: Equinox
Classification: Eclipse Project
Component: p2 (show other bugs)
Version: 3.5   Edit
Hardware: PC Linux
: P3 major (vote)
Target Milestone: ---   Edit
Assignee: P2 Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-01-06 11:00 EST by Paul Webster CLA
Modified: 2009-02-23 09:37 EST (History)
4 users (show)

See Also:


Attachments
Error log from the software update (46.58 KB, text/plain)
2009-01-06 11:00 EST, Paul Webster CLA
no flags Details
Error log from I20081217-1605 (46.57 KB, text/plain)
2009-01-06 13:07 EST, Paul Webster CLA
no flags Details
Error log on initial install (11.57 KB, application/octet-stream)
2009-01-14 14:45 EST, Miles Parker CLA
no flags Details
Repos Configure (13.08 KB, application/octet-stream)
2009-01-14 14:48 EST, Miles Parker CLA
no flags Details
Repos Metadata (11.02 KB, application/octet-stream)
2009-01-14 14:49 EST, Miles Parker CLA
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Paul Webster CLA 2009-01-06 11:00:00 EST
Created attachment 121638 [details]
Error log from the software update

I20090106-0800 

I start up eclipse with a new workspace, set Preferences>General>Network Connection to Direct (instead of Native) and restart.

Then I go Help>Install New Software.

I select Eclipse SDK releng tools, the EMF SDK, and the Graphical Modelling SDK from the list of available packages, and go through the Next>Next>agree to license, etc.

It fails saying it cannot find many of the plugins in the repository.

I believe this problem was introduced between I1216-0800 and I1217-1605.  I will run the same test on clean copies of this build and post my results.

PW
Comment 1 Paul Webster CLA 2009-01-06 13:07:07 EST
Created attachment 121664 [details]
Error log from I20081217-1605

I was able to do a clean install and update on I20081216-0800 but it failed with the error log on I20081217-1605

PW
Comment 2 Paul Webster CLA 2009-01-06 13:40:51 EST
Deleting all sites, and then adding back 

http://download.eclipse.org/releases/ganymede
http://download.eclipse.org/eclipse/updates/3.4

allows the build to be updated.

Susan suggested this was bug 236437 resurfacing.

PW
Comment 3 Miles Parker CLA 2009-01-14 14:45:05 EST
Created attachment 122569 [details]
Error log on initial install
Comment 4 Miles Parker CLA 2009-01-14 14:48:49 EST
Created attachment 122571 [details]
Repos Configure
Comment 5 Miles Parker CLA 2009-01-14 14:49:15 EST
Created attachment 122572 [details]
Repos Metadata
Comment 6 Miles Parker CLA 2009-01-14 14:49:23 EST
Yeah, I'm seeing this too. I deleted both repos and added the ganymede back in with a trailing slash works. (don't know why I thought that that would make a difference, but it sound like just adding the same repos back in works as well?)

I found that I needed to start with a unique keyring to avoid getting a different error (this profile is in use). If I do a clean install and try to grab say EMF SDK, I get No Repository found. Error log and .settings attached.
Comment 7 Miles Parker CLA 2009-01-14 14:52:40 EST
Forgot..

This is Build id: I20081211-1908 under MacOS Cocoa.

Clarification: I had to change keyring from default to reproduce original error. In order to accomplish workaround all I need to do is fresh install, remove repos from settings and add it back in.
Comment 8 John Arthorne CLA 2009-01-16 10:13:36 EST
This isn't bug 236437. I just had the error and the artifact repository is still present in my metadata. It's possible there is something wrong with the site itself, or one of its mirrors.
Comment 9 John Arthorne CLA 2009-02-11 10:52:51 EST
Looking at changes between I1216-0800 and I1217-1605, there were several changes made in core.net between these two builds: UnixyProxyProvider, ProxyBypass, ProxyProviderUtil, ProxyType, StringUtil, WinHTTPCurrentUserIEProxyConfig.

I didn't see any changes in p2 between these two builds that look related, so I suspect it is these proxy changes that are causing the problem.
Comment 10 Szymon Brandys CLA 2009-02-11 11:17:41 EST
I'm adding Pawel to comment on it.
Comment 11 Pawel Pogorzelski CLA 2009-02-17 05:40:23 EST
Proxy code in I20090106-0800 seems to work well, at least Direct setting.

Also, like Paul said in comment 2, deleting all sites, and then adding them back allows the build to be updated. This suggest it has nothing to do with proxy settings.

I noticed that the problem disappeared in 3.5M5, not sure why though. Could anybody confirm it?
Comment 12 Pawel Pogorzelski CLA 2009-02-17 05:46:05 EST
Changing abstract, the old value was "Error updating through proxy". And moving to back to p2.
Comment 13 John Arthorne CLA 2009-02-17 08:46:40 EST
Paul, are you still experiencing a problem here?
Comment 14 Paul Webster CLA 2009-02-23 09:27:56 EST
(In reply to comment #13)
> Paul, are you still experiencing a problem here?
> 

no, I just did an update from the default URLs provided with I20090217-2200 and it worked.  We can probably close this now.

PW
Comment 15 John Arthorne CLA 2009-02-23 09:37:16 EST
Thanks Paul. Please reopen if you encounter a problem again. It looks like there was possibly a regression introduced and then fixed.