Connecting to edelivery.oracle.com (edelivery.oracle.com)|23.57.214.140|:443… failed
I am running the following command
sudo apt-get install oracle-java7-installer
however I am receiving the following error
Downloading Oracle Java 7...
--2015-03-10 08:13:35-- http://download.oracle.com/otn-pub/java/jdk/7u76-b13/jdk-7u76-linux-i586.tar.gz
Connecting to 10.226.33.153:6050... connected.
Proxy request sent, awaiting response... 302 Moved Temporarily
Resolving edelivery.oracle.com (edelivery.oracle.com)... 23.57.214.140
Connecting to edelivery.oracle.com (edelivery.oracle.com)|23.57.214.140|:443... failed: Connection refused.
download failed
Oracle JDK 7 is NOT installed.
dpkg: error processing package 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)
However i am able to get updates using sudo apt-get update
which was possible after setting my proxy ip:port in /etc/apt/apt.conf.d/80proxy
file, but it seems it is connecting to a bad url. So I am guessing this is not a proxy related issue.
I have tried purging and retrying the installation - it is again giving the same error.
software-installation java jdk oracle
add a comment |
I am running the following command
sudo apt-get install oracle-java7-installer
however I am receiving the following error
Downloading Oracle Java 7...
--2015-03-10 08:13:35-- http://download.oracle.com/otn-pub/java/jdk/7u76-b13/jdk-7u76-linux-i586.tar.gz
Connecting to 10.226.33.153:6050... connected.
Proxy request sent, awaiting response... 302 Moved Temporarily
Resolving edelivery.oracle.com (edelivery.oracle.com)... 23.57.214.140
Connecting to edelivery.oracle.com (edelivery.oracle.com)|23.57.214.140|:443... failed: Connection refused.
download failed
Oracle JDK 7 is NOT installed.
dpkg: error processing package 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)
However i am able to get updates using sudo apt-get update
which was possible after setting my proxy ip:port in /etc/apt/apt.conf.d/80proxy
file, but it seems it is connecting to a bad url. So I am guessing this is not a proxy related issue.
I have tried purging and retrying the installation - it is again giving the same error.
software-installation java jdk oracle
add a comment |
I am running the following command
sudo apt-get install oracle-java7-installer
however I am receiving the following error
Downloading Oracle Java 7...
--2015-03-10 08:13:35-- http://download.oracle.com/otn-pub/java/jdk/7u76-b13/jdk-7u76-linux-i586.tar.gz
Connecting to 10.226.33.153:6050... connected.
Proxy request sent, awaiting response... 302 Moved Temporarily
Resolving edelivery.oracle.com (edelivery.oracle.com)... 23.57.214.140
Connecting to edelivery.oracle.com (edelivery.oracle.com)|23.57.214.140|:443... failed: Connection refused.
download failed
Oracle JDK 7 is NOT installed.
dpkg: error processing package 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)
However i am able to get updates using sudo apt-get update
which was possible after setting my proxy ip:port in /etc/apt/apt.conf.d/80proxy
file, but it seems it is connecting to a bad url. So I am guessing this is not a proxy related issue.
I have tried purging and retrying the installation - it is again giving the same error.
software-installation java jdk oracle
I am running the following command
sudo apt-get install oracle-java7-installer
however I am receiving the following error
Downloading Oracle Java 7...
--2015-03-10 08:13:35-- http://download.oracle.com/otn-pub/java/jdk/7u76-b13/jdk-7u76-linux-i586.tar.gz
Connecting to 10.226.33.153:6050... connected.
Proxy request sent, awaiting response... 302 Moved Temporarily
Resolving edelivery.oracle.com (edelivery.oracle.com)... 23.57.214.140
Connecting to edelivery.oracle.com (edelivery.oracle.com)|23.57.214.140|:443... failed: Connection refused.
download failed
Oracle JDK 7 is NOT installed.
dpkg: error processing package 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)
However i am able to get updates using sudo apt-get update
which was possible after setting my proxy ip:port in /etc/apt/apt.conf.d/80proxy
file, but it seems it is connecting to a bad url. So I am guessing this is not a proxy related issue.
I have tried purging and retrying the installation - it is again giving the same error.
software-installation java jdk oracle
software-installation java jdk oracle
edited Mar 10 '15 at 12:35
Sylvain Pineau
49k16107150
49k16107150
asked Mar 10 '15 at 12:28
Siddhartha BanerjeeSiddhartha Banerjee
2113
2113
add a comment |
add a comment |
2 Answers
2
active
oldest
votes
if you are using proxy, try to add -E before apt-get and it will force environment to use proxy:
sudo -E apt-get install oracle-java7-installer
Great, worked like a charm for me!
– The Godfather
Nov 6 '17 at 8:21
add a comment |
You need to redirect HTTPS to your proxy too, add this to your /etc/apt/apt.conf:
Acquire::HTTP::proxy "http://127.0.0.1:3128";
Acquire::HTTPS::proxy "http://127.0.0.1:3128";
add a comment |
Your Answer
StackExchange.ready(function() {
var channelOptions = {
tags: "".split(" "),
id: "89"
};
initTagRenderer("".split(" "), "".split(" "), channelOptions);
StackExchange.using("externalEditor", function() {
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled) {
StackExchange.using("snippets", function() {
createEditor();
});
}
else {
createEditor();
}
});
function createEditor() {
StackExchange.prepareEditor({
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
imageUploader: {
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
},
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
});
}
});
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f595033%2fconnecting-to-edelivery-oracle-com-edelivery-oracle-com23-57-214-140443%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
2 Answers
2
active
oldest
votes
2 Answers
2
active
oldest
votes
active
oldest
votes
active
oldest
votes
if you are using proxy, try to add -E before apt-get and it will force environment to use proxy:
sudo -E apt-get install oracle-java7-installer
Great, worked like a charm for me!
– The Godfather
Nov 6 '17 at 8:21
add a comment |
if you are using proxy, try to add -E before apt-get and it will force environment to use proxy:
sudo -E apt-get install oracle-java7-installer
Great, worked like a charm for me!
– The Godfather
Nov 6 '17 at 8:21
add a comment |
if you are using proxy, try to add -E before apt-get and it will force environment to use proxy:
sudo -E apt-get install oracle-java7-installer
if you are using proxy, try to add -E before apt-get and it will force environment to use proxy:
sudo -E apt-get install oracle-java7-installer
answered Feb 2 '17 at 12:34
Fardin BehboudiFardin Behboudi
311
311
Great, worked like a charm for me!
– The Godfather
Nov 6 '17 at 8:21
add a comment |
Great, worked like a charm for me!
– The Godfather
Nov 6 '17 at 8:21
Great, worked like a charm for me!
– The Godfather
Nov 6 '17 at 8:21
Great, worked like a charm for me!
– The Godfather
Nov 6 '17 at 8:21
add a comment |
You need to redirect HTTPS to your proxy too, add this to your /etc/apt/apt.conf:
Acquire::HTTP::proxy "http://127.0.0.1:3128";
Acquire::HTTPS::proxy "http://127.0.0.1:3128";
add a comment |
You need to redirect HTTPS to your proxy too, add this to your /etc/apt/apt.conf:
Acquire::HTTP::proxy "http://127.0.0.1:3128";
Acquire::HTTPS::proxy "http://127.0.0.1:3128";
add a comment |
You need to redirect HTTPS to your proxy too, add this to your /etc/apt/apt.conf:
Acquire::HTTP::proxy "http://127.0.0.1:3128";
Acquire::HTTPS::proxy "http://127.0.0.1:3128";
You need to redirect HTTPS to your proxy too, add this to your /etc/apt/apt.conf:
Acquire::HTTP::proxy "http://127.0.0.1:3128";
Acquire::HTTPS::proxy "http://127.0.0.1:3128";
edited Jan 27 at 13:56
tovmeod
1033
1033
answered Jan 26 '16 at 11:37
user497891user497891
312
312
add a comment |
add a comment |
Thanks for contributing an answer to Ask Ubuntu!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f595033%2fconnecting-to-edelivery-oracle-com-edelivery-oracle-com23-57-214-140443%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown