Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 319882 - Unable to check for update nor install new software
Summary: Unable to check for update nor install new software
Status: CLOSED WORKSFORME
Alias: None
Product: Equinox
Classification: Eclipse Project
Component: p2 (show other bugs)
Version: 3.6   Edit
Hardware: Macintosh Mac OS X - Carbon (unsup.)
: P3 major (vote)
Target Milestone: ---   Edit
Assignee: P2 Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-07-14 12:40 EDT by Marco Giordano CLA
Modified: 2010-08-27 08:25 EDT (History)
2 users (show)

See Also:


Attachments
Configuration details (167.67 KB, text/plain)
2010-08-07 09:53 EDT, Marco Giordano CLA
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Marco Giordano CLA 2010-07-14 12:40:05 EDT
Build Identifier: I20100608-0911

When I try to use 'Check for Updates' or 'Install New software' even on a fresh new workspace I get this message: "Cannot complete the request. This installation has not been configured properly for software updates. See the error log for details".


Eclipse Helios on Mac OsX Leopard 10.5.8 up-to-date (but with Eclipse 3.5 I got the same problem).

I even tried to enable 'Classic Update' but get a connection problem message: "Network connection problem encountered during updates".
Here's what I find in the related details window:
Network connection problems encountered during search.
  Unable to access "http://download.eclipse.org/releases/helios".
    Unable to access site: "http://download.eclipse.org/releases/helios" [Server returned HTTP response code: "403 Forbidden" for URL: http://download.eclipse.org/releases/helios.]
    Server returned HTTP response code: "403 Forbidden" for URL: http://download.eclipse.org/releases/helios.
    Unable to access site: "http://download.eclipse.org/releases/helios" [Server returned HTTP response code: "403 Forbidden" for URL: http://download.eclipse.org/releases/helios.]
    Server returned HTTP response code: "403 Forbidden" for URL: http://download.eclipse.org/releases/helios.
  Unable to access "http://download.eclipse.org/eclipse/updates/3.6".
    Error parsing site stream. [The XML stream is not a valid default "site.xml" file. The root tag is not site.]
    The XML stream is not a valid default "site.xml" file. The root tag is not site.
    Error parsing site stream. [The XML stream is not a valid default "site.xml" file. The root tag is not site.]
    The XML stream is not a valid default "site.xml" file. The root tag is not site.


Reproducible: Always

Steps to Reproduce:
1.Install Eclipse Helios on Mac OsX 10.5.8
2.Open 'Help->Check for Updates' or 'Help->Install New Software'
Comment 1 Ian Bull CLA 2010-08-04 18:21:52 EDT
In you eclipse install directory, do you have a p2/ directory.

Also, what VM are you using?
Comment 2 Marco Giordano CLA 2010-08-05 06:49:11 EDT
(In reply to comment #1)
> In you eclipse install directory, do you have a p2/ directory.

Yes. It contains two other folders:
org.eclipse.equinox.core and
org.eclipse.equinox.engine

> 
> Also, what VM are you using?

As I look at my Java preferences I see that the order to check for the JVM to use is set as follows:

J2SE 5.0 32 bit
JAVA SE 6 64 bit
J2SE 5.0 64 bit

Is there a way to know which one Eclipse actually use?
Comment 3 Ian Bull CLA 2010-08-06 17:34:10 EDT
Those are the vm's that the Java projects your developing in Eclipse can / are using.  We need to determine which VM Eclipse is actually running on.

The best thing to do is probably 

Help -> About 
Installation Details
Then navigate to the Configuration tab

You can copy the contents of that, put it in a file, and attach the file to this bug report. I can look through that and see if I see anything odd.
Comment 4 Marco Giordano CLA 2010-08-07 09:53:52 EDT
Created attachment 176086 [details]
Configuration details

Configuration details taken from Help-About window
Comment 5 Marco Giordano CLA 2010-08-07 09:54:49 EDT
Well done.

Thanks.
Comment 6 Marco Giordano CLA 2010-08-27 08:25:04 EDT
After I installed Java 1.6 and updates for Java 1.5 (update 8 for Mac OSX 10.5.8) everything seems to work fine.