← Back to team overview

openjdk team mailing list archive

[Bug 541482] Re: eclipse unable to 'install new software'

 

Could someone affected by this bug please,

1) Install the openjdk-6 version from the PPA:
https://launchpad.net/~openjdk/+archive/ppa

2) Verify that openjdk-6 is set as the java alternative; # java -version  outputs:
OpenJDK Runtime Environment (IcedTea6 1.8pre) (6b18~pre3-0ubuntu1~ppa1)

3) Launch 'eclipse' without using the '-Djava.net.preferIPv4Stack=true'
workaround.

4a) If, still unable to update or 'install new software' within Eclipse, change this bug status to Confirmed.
4b) Else, report that the issue has been fixed.

Thanks. :)

-- 
eclipse unable to 'install new software'
https://bugs.launchpad.net/bugs/541482
You received this bug notification because you are a member of OpenJDK,
which is subscribed to openjdk-6 in ubuntu.

Status in “eclipse” package in Ubuntu: Invalid
Status in “openjdk-6” package in Ubuntu: New

Bug description:
Binary package hint: eclipse

Install eclipse via aptitude, run eclipse.

===========================================
eclipse -> Help -> Install New Software...

Error Popup: Problem Occurred
Content: Some sites could not be found. See the error log for more detail.

Details:
Some sites could not be found.  See the error log for more detail.
  No repository found at http://download.eclipse.org/technology/epp/packages/galileo.
  No repository found at http://download.eclipse.org/eclipse/updates/3.5.
  No repository found at http://download.eclipse.org/releases/galileo.

Error Log:
java.net.ConnectException: Invalid argument
at java.net.PlainSocketImpl.socketConnect(Native Method)
at java.net.AbstractPlainSocketImpl.doConnect(AbstractPlainSocketImpl.java:310)
at java.net.AbstractPlainSocketImpl.connectToAddress(AbstractPlainSocketImpl.java:176)
at java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:163)
at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:384)
at java.net.Socket.connect(Socket.java:542)
at org.eclipse.ecf.provider.filetransfer.events.socket.SocketEventCreateUtil.createSocket(SocketEventCreateUtil.java:43)
at org.eclipse.ecf.internal.provider.filetransfer.httpclient.ECFHttpClientProtocolSocketFactory.createSocket(ECFHttpClientProtocolSocketFactory.java:81)
at org.eclipse.ecf.internal.provider.filetransfer.httpclient.ECFHttpClientProtocolSocketFactory.createSocket(ECFHttpClientProtocolSocketFactory.java:73)
at org.eclipse.ecf.internal.provider.filetransfer.httpclient.ECFHttpClientProtocolSocketFactory.createSocket(ECFHttpClientProtocolSocketFactory.java:65)
at org.apache.commons.httpclient.HttpConnection.open(HttpConnection.java:707)
at org.apache.commons.httpclient.MultiThreadedHttpConnectionManager$HttpConnectionAdapter.open(MultiThreadedHttpConnectionManager.java:1361)
at org.apache.commons.httpclient.HttpMethodDirector.executeWithRetry(HttpMethodDirector.java:387)
at org.apache.commons.httpclient.HttpMethodDirector.executeMethod(HttpMethodDirector.java:171)
at org.apache.commons.httpclient.HttpClient.executeMethod(HttpClient.java:397)
at org.apache.commons.httpclient.HttpClient.executeMethod(HttpClient.java:346)
at org.eclipse.ecf.provider.filetransfer.httpclient.HttpClientRetrieveFileTransfer.performConnect(HttpClientRetrieveFileTransfer.java:1017)
at org.eclipse.ecf.provider.filetransfer.httpclient.HttpClientRetrieveFileTransfer.openStreams(HttpClientRetrieveFileTransfer.java:610)
at org.eclipse.ecf.provider.filetransfer.retrieve.AbstractRetrieveFileTransfer.sendRetrieveRequest(AbstractRetrieveFileTransfer.java:808)
at org.eclipse.ecf.provider.filetransfer.retrieve.AbstractRetrieveFileTransfer.sendRetrieveRequest(AbstractRetrieveFileTransfer.java:506)
at org.eclipse.ecf.provider.filetransfer.retrieve.MultiProtocolRetrieveAdapter.sendRetrieveRequest(MultiProtocolRetrieveAdapter.java:98)
at org.eclipse.equinox.internal.p2.repository.FileReader.sendRetrieveRequest(FileReader.java:317)
at org.eclipse.equinox.internal.p2.repository.FileReader.readInto(FileReader.java:263)
at org.eclipse.equinox.internal.p2.repository.RepositoryTransport.download(RepositoryTransport.java:71)
at org.eclipse.equinox.internal.p2.repository.RepositoryTransport.download(RepositoryTransport.java:127)
at org.eclipse.equinox.internal.provisional.spi.p2.artifact.repository.SimpleArtifactRepositoryFactory.load(SimpleArtifactRepositoryFactory.java:72)
at org.eclipse.equinox.internal.p2.artifact.repository.ArtifactRepositoryManager.factoryLoad(ArtifactRepositoryManager.java:62)
at org.eclipse.equinox.internal.p2.repository.helpers.AbstractRepositoryManager.loadRepository(AbstractRepositoryManager.java:669)
at org.eclipse.equinox.internal.p2.repository.helpers.AbstractRepositoryManager.loadRepository(AbstractRepositoryManager.java:617)
at org.eclipse.equinox.internal.p2.repository.helpers.AbstractRepositoryManager.basicRefreshRepository(AbstractRepositoryManager.java:186)
at org.eclipse.equinox.internal.p2.artifact.repository.ArtifactRepositoryManager.refreshRepository(ArtifactRepositoryManager.java:97)
at org.eclipse.equinox.internal.provisional.p2.ui.operations.ProvisioningUtil.refreshArtifactRepositories(ProvisioningUtil.java:266)
at org.eclipse.equinox.internal.provisional.p2.ui.dialogs.RepositoryManipulationPage$20.run(RepositoryManipulationPage.java:555)
at org.eclipse.jface.operation.ModalContext$ModalContextThread.run(ModalContext.java:121)

===========================================
eclipse -> Window -> Preferences -> Install/Update -> Available Software Sites

Listed entries:
http://download.eclipse.org/technology/epp/packages/galileo
http://download.eclipse.org/eclipse/updates/3.5
http://download.eclipse.org/releases/galileo

Select any entry -> Test connection

Error Popup: Problem Occurred
Unable to connect to repository http://download.eclipse.org/releases/galileo/site.xml

org.eclipse.equinox.internal.provisional.p2.core.ProvisionException
===========================================

Just started using eclipse, so pretty much vanilla settings.
Internet connection is functional for everything else; not behind a proxy.
On: 
ubuntu lucid 10.04
eclipse 3.5.1+repack~3-0ubuntu2

ProblemType: Bug
Architecture: i386
Date: Thu Mar 18 16:10:00 2010
DistroRelease: Ubuntu 10.04
InstallationMedia: Ubuntu 9.10 "Karmic Koala" - Release i386 (20091028.5)
NonfreeKernelModules: nvidia
Package: eclipse 3.5.1+repack~3-0ubuntu2
PackageArchitecture: all
ProcEnviron:
 LANG=en_US.utf8
 SHELL=/bin/bash
ProcVersionSignature: Ubuntu 2.6.32-16.25-generic
SourcePackage: eclipse
Uname: Linux 2.6.32-16-generic i686