How can i get the repository? its failing ( http://askubuntu.com/a/42271/25165 )
root@e300diest:~# export http_proxy=http://54.x.x.x:8080/
root@e300diest:~# export https_proxy=http://54.x.x.x:8080/ root@e300diest:~# apt-get update root@e300diest:~# sudo add-apt-repository ppa:eugenesan/java Traceback (most recent call last): File "/usr/bin/add-apt-repository", line 128, in <module> ppa_info = get_ppa_info_from_lp(user, ppa_name) File "/usr/lib/python2.7/dist-packages/softwareproperties/ppa.py", line 84, in get_ppa_info_from_lp curl.perform() pycurl.error: (7, "couldn't connect to host")
EDIT: how do i install oracle java behind proxy and vpn ?
root@e300diest:~# sudo apt-get install oracle-java7-installer Reading package lists... Done Building dependency tree Reading state information... Done oracle-java7-installer is already the newest version. The following packages were automatically installed and are no longer required: libsm-dev libice-dev ttf-dejavu-extra libpthread-stubs0 libbeidlib3 beid-common x11proto-kb-dev xtrans-dev icedtea-netx-common x11proto-input-dev libxt-dev tzdata-java libxerces-c28 libxau-dev xorg-sgml-doctools libx11-dev libx11-doc libxcb1-dev x11proto-core-dev libxdmcp-dev libpthread-stubs0-dev Use 'apt-get autoremove' to remove them. 0 upgraded, 0 newly installed, 0 to remove and 340 not upgraded. 1 not fully installed or removed. After this operation, 0 B of additional disk space will be used. Do you want to continue [Y/n]? y Setting up oracle-java7-installer (7u3-0~eugenesan~precise4) ... Downloading... --2013-10-17 05:19:36-- http://download.oracle.com/otn-pub/java/jdk/7u3-b04/jdk-7u3-linux-x64.tar.gz Connecting to 54.x.x.x:8080... connected. Proxy request sent, awaiting response... 404 Not Found 2013-10-17 05:19:37 ERROR 404: Not Found. download failed Oracle JDK 7 is NOT installed. dpkg: error processing oracle-java7-installer (--configure): subprocess installed post-installation script returned error exit status 1 Errors were encountered while processing: oracle-java7-installer E: Sub-process /usr/bin/dpkg returned an error code (1)