Page 1 of 6 123 ... LastLast
Results 1 to 10 of 57

Thread: Webupd8, PPA for Oracle Java8, 404, error exit

  1. #1
    Join Date
    Apr 2008
    Location
    West Coast USA
    Beans
    32
    Distro
    Ubuntu 20.04 Focal Fossa

    Webupd8, PPA for Oracle Java8, 404, error exit

    Please forgive me if this is in the wrong forum (or even the wrong BBS). I don't know where else to ask.
    --

    The Webupd8 Oracle-java8-installer is failing to download (and thus install Java) on my Ubuntu 16.04.3 computer tonight Oct 17. I successfully used this same Java8 installer on this same machine a few weeks ago.

    – >> I took a look at the Oracle website and apparently there is a new version released. Java8 Update151. Released Oct 17, 2017 << -

    Is the PPA installer hard coded to a specific Java version?

    I guess all I can do is watch the PPA to see when the installer for 8u151 replaces installer for 8u144 ? Then try again?

    When it failed it left me with “broken package(s)”. I think by doing a “complete removal” (synaptic) those are gone now.

    I have downloaded the new Java8 update151, however a manual install by me may really screw things up.

    I am not complaining. I’m thankful for the PPA.

    PS: The above was after doing a bare metal install, today, followed by installing all updates.

    ==
    Connecting to download.oracle.com (download.oracle.com)|23.61.195.115|:80... connected.
    HTTP request sent, awaiting response... 404 Not Found
    2017-10-17 22:05:25 ERROR 404: Not Found.

    download failed
    Oracle JDK 8 is NOT installed.
    dpkg: error processing package oracle-java8-installer (--configure):
    subprocess installed post-installation script returned error exit status 1
    ===
    Last edited by QIII; October 20th, 2017 at 12:48 AM.

  2. #2
    Join Date
    Oct 2017
    Beans
    1

    Re: Webupd8, PPA for Oracle Java8, 404, error exit

    I am also facing the same problem since yesterday. It was working a day before.

    Location: http://download.oracle.com/otn-pub/j...af9df2429fe4d0 [following]
    --2017-10-18 06:58:42-- http://download.oracle.com/otn-pub/j...af9df2429fe4d0
    Connecting to download.oracle.com (download.oracle.com)|23.220.203.10|:80... connected.
    HTTP request sent, awaiting response... 404 Not Found
    2017-10-18 06:58:43 ERROR 404: Not Found.


    download failed
    Oracle JDK 8 is NOT installed.
    dpkg: error processing package oracle-java8-installer (--configure):
    subprocess installed post-installation script returned error exit status 1
    Errors were encountered while processing:
    oracle-java8-installer
    E: Sub-process /usr/bin/dpkg returned an error code (1)

  3. #3
    Join Date
    Oct 2017
    Beans
    1

    Re: Webupd8, PPA for Oracle Java8, 404, error exit

    Same issue here.

    Resolving download.oracle.com (download.oracle.com)... 23.219.92.200, 23.219.92.226
    Connecting to download.oracle.com (download.oracle.com)|23.219.92.200|:80... connected.
    HTTP request sent, awaiting response... 302 Moved Temporarily
    Location: https://edelivery.oracle.com/otn-pub...nux-x64.tar.gz [following]
    --2017-10-18 07:54:57-- https://edelivery.oracle.com/otn-pub...nux-x64.tar.gz
    Resolving edelivery.oracle.com (edelivery.oracle.com)... 104.96.237.225, 2600:1408:10:297::2d3e, 2600:1408:10:286::2d3e
    Connecting to edelivery.oracle.com (edelivery.oracle.com)|104.96.237.225|:443... connected.
    HTTP request sent, awaiting response... 302 Moved Temporarily
    Location: http://download.oracle.com/otn-pub/j...020f5d016135c6 [following]
    --2017-10-18 07:54:57-- http://download.oracle.com/otn-pub/j...020f5d016135c6
    Connecting to download.oracle.com (download.oracle.com)|23.219.92.200|:80... connected.
    HTTP request sent, awaiting response... 404 Not Found
    2017-10-18 07:54:57 ERROR 404: Not Found.

    download failed
    Oracle JDK 8 is NOT installed.
    dpkg: error processing package oracle-java8-installer (--configure):

  4. #4
    Join Date
    Mar 2017
    Beans
    1,018

    Re: Webupd8, PPA for Oracle Java8, 404, error exit

    JRE Expiration Date
    The JRE expires whenever a new release with security vulnerability fixes becomes available.
    Critical patch updates, which contain security vulnerability fixes, are announced one year in advance on Critical Patch Updates, Security Alerts and Third Party Bulletin.
    This JRE (version 8u144) will expire with the release of the next critical patch update scheduled for October 17, 2017.
    Seems to be hardcoded in the installer.
    Code:
    PARTNER_URL=http://download.oracle.com/otn-pub/java/jdk/8u144-b01/090f390dda5b47b9b721c7dfaa008135/$FILENAME #must be modified for each release
    May have to wait for Andrew to update the deb to point latest release.
    Be patient.
    WebUpd8 is currently managed by one man: Andrew
    (this includes: writing articles and testing, managing the WebUpd8 PPAs and pages on Facebook, Google+, etc.).
    Last edited by again?; October 18th, 2017 at 10:08 AM.

  5. #5
    Join Date
    Oct 2017
    Beans
    1

    Re: Webupd8, PPA for Oracle Java8, 404, error exit

    I am having the exact same problem as well.

    Looks like the problem is that the PPA is trying to download java8U144 which is now an archived version so the URL is different (accessible via http://download.oracle.com/otn/ not http://download.oracle.com/otn-pub/)
    The only versions that aren't archived and accessible via otn-pub are 151 and 152.

    Like you said I think the oracle-java8-installer package is tied to u144 so if you want to use that installed from the PPA then we have to wait for them to update the version it is trying to install, or manually install Java ourselves (or use openJDK)

  6. #6
    Join Date
    Oct 2017
    Beans
    3

    Re: Webupd8, PPA for Oracle Java8, 404, error exit

    As a temporary workaround I've patched installer:


    Code:
    sudo sed -i 's|JAVA_VERSION=8u144|JAVA_VERSION=8u152|' oracle-java8-installer.*
    sudo sed -i 's|PARTNER_URL=http://download.oracle.com/otn-pub/java/jdk/8u144-b01/090f390dda5b47b9b721c7dfaa008135/|PARTNER_URL=http://download.oracle.com/otn-pub/java/jdk/8u152-b16/aa0333dd3019491ca4f6ddbe78cdb6d0/|' oracle-java8-installer.*
    sudo sed -i 's|SHA256SUM_TGZ="e8a341ce566f32c3d06f6d0f0eeea9a0f434f538d22af949ae58bc86f2eeaae4"|SHA256SUM_TGZ="218b3b340c3f6d05d940b817d0270dfe0cfd657a636bad074dcabe0c111961bf"|' oracle-java8-installer.*
    sudo sed -i 's|J_DIR=jdk1.8.0_144|J_DIR=jdk1.8.0_152|' oracle-java8-installer.*

  7. #7
    Join Date
    Oct 2017
    Beans
    1

    Re: Webupd8, PPA for Oracle Java8, 404, error exit

    Quote Originally Posted by g1zmo2 View Post
    As a temporary workaround I've patched installer:
    Code:
    sudo sed -i 's|JAVA_VERSION=8u144|JAVA_VERSION=8u152|' oracle-java8-installer.*
    sudo sed -i 's|PARTNER_URL=http://download.oracle.com/otn-pub/java/jdk/8u144-b01/090f390dda5b47b9b721c7dfaa008135/|PARTNER_URL=http://download.oracle.com/otn-pub/java/jdk/8u152-b16/aa0333dd3019491ca4f6ddbe78cdb6d0/|' oracle-java8-installer.*
    sudo sed -i 's|SHA256SUM_TGZ="e8a341ce566f32c3d06f6d0f0eeea9a0f434f538d22af949ae58bc86f2eeaae4"|SHA256SUM_TGZ="218b3b340c3f6d05d940b817d0270dfe0cfd657a636bad074dcabe0c111961bf"|' oracle-java8-installer.*
    sudo sed -i 's|J_DIR=jdk1.8.0_144|J_DIR=jdk1.8.0_152|' oracle-java8-installer.*
    for anybody wondering from where those commands should be executed:
    Code:
    cd /var/lib/dpkg/info

  8. #8
    Join Date
    Oct 2017
    Beans
    1

    Re: Webupd8, PPA for Oracle Java8, 404, error exit

    Thank you guys so much. I thought I botched a script I wrote to auto install this as this was the first day I gave it a test run. Luckily I found this before I pulled out any hair.

    Thanks again g1zmo2 and polentino911.

  9. #9
    Join Date
    Apr 2008
    Location
    West Coast USA
    Beans
    32
    Distro
    Ubuntu 20.04 Focal Fossa

    Re: Webupd8, PPA for Oracle Java8, 404, error exit

    So,... could the script(s) be modified to download all needed components >> before << starting the install?

    Then the message would have been, "No changes were made to your system because we were unable to gather/download/locate all necessary components"

    Personally, I'm still not sure what other changes the PPA script made to my system before it aborted on the download error.

  10. #10
    Join Date
    Oct 2017
    Beans
    1

    Re: Webupd8, PPA for Oracle Java8, 404, error exit

    After running this in /var/lib/dpkg/info I'm still running into problems; it looks to be a sha256 mismatch, however I've even tried modifying your third sed command with the sha256sum that I have received to no avail. Getting the following error:

    As a temporary workaround I've patched installer:

    Code:
    sudo sed -i 's|JAVA_VERSION=8u144|JAVA_VERSION=8u152|' oracle-java8-installer.*
    sudo sed -i 's|PARTNER_URL=http://download.oracle.com/otn-pub/java/jdk/8u144-b01/090f390dda5b47b9b721c7dfaa008135/|PARTNER_URL=http://download.oracle.com/otn-pub/java/jdk/8u152-b16/aa0333dd3019491ca4f6ddbe78cdb6d0/|' oracle-java8-installer.*
    sudo sed -i 's|SHA256SUM_TGZ="e8a341ce566f32c3d06f6d0f0eeea9a0f434f538d22af949ae58bc86f2eeaae4"|SHA256SUM_TGZ="218b3b340c3f6d05d940b817d0270dfe0cfd657a636bad074dcabe0c111961bf"|' oracle-java8-installer.*
    sudo sed -i 's|J_DIR=jdk1.8.0_144|J_DIR=jdk1.8.0_152|' oracle-java8-installer.*
    Code:
    sha256sum mismatch jdk-8u152-linux-arm64-vfp-hflt.tar.gz

    Last edited by pizzapoindexter; October 18th, 2017 at 10:45 PM. Reason: Forgot to quote sed scripts

Page 1 of 6 123 ... LastLast

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •