Connecting to edelivery.oracle.com (edelivery.oracle.com)|23.57.214.140|:443… failed












4















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.










share|improve this question





























    4















    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.










    share|improve this question



























      4












      4








      4


      1






      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.










      share|improve this question
















      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






      share|improve this question















      share|improve this question













      share|improve this question




      share|improve this question








      edited Mar 10 '15 at 12:35









      Sylvain Pineau

      49k16107150




      49k16107150










      asked Mar 10 '15 at 12:28









      Siddhartha BanerjeeSiddhartha Banerjee

      2113




      2113






















          2 Answers
          2






          active

          oldest

          votes


















          3














          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





          share|improve this answer
























          • Great, worked like a charm for me!

            – The Godfather
            Nov 6 '17 at 8:21



















          2














          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";





          share|improve this answer

























            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
            });


            }
            });














            draft saved

            draft discarded


















            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









            3














            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





            share|improve this answer
























            • Great, worked like a charm for me!

              – The Godfather
              Nov 6 '17 at 8:21
















            3














            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





            share|improve this answer
























            • Great, worked like a charm for me!

              – The Godfather
              Nov 6 '17 at 8:21














            3












            3








            3







            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





            share|improve this answer













            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






            share|improve this answer












            share|improve this answer



            share|improve this answer










            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



















            • 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













            2














            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";





            share|improve this answer






























              2














              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";





              share|improve this answer




























                2












                2








                2







                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";





                share|improve this answer















                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";






                share|improve this answer














                share|improve this answer



                share|improve this answer








                edited Jan 27 at 13:56









                tovmeod

                1033




                1033










                answered Jan 26 '16 at 11:37









                user497891user497891

                312




                312






























                    draft saved

                    draft discarded




















































                    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.




                    draft saved


                    draft discarded














                    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





















































                    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







                    Popular posts from this blog

                    How to reconfigure Docker Trusted Registry 2.x.x to use CEPH FS mount instead of NFS and other traditional...

                    is 'sed' thread safe

                    How to make a Squid Proxy server?