sha256sum mismatch jdk-11.0.5_linux-x64_bin.tar.gz
by Dain_Bramage from LinuxQuestions.org on (#4VQST)
I am running Ubuntu 19.04. Whenever I do anything with apt I get this message:
Code:Setting up oracle-java11-installer-local (11.0.5-1~linuxuprising0) ...
Before installing this package,
please download the Oracle JDK 11 .tar.gz file
with the same version as this package (version 11.0.4),
and place it in /var/cache/oracle-jdk11-installer-local,
E.g.:
sudo mkdir -p /var/cache/oracle-jdk11-installer-local
sudo cp jdk-11.0.4_linux-x64_bin.tar.gz /var/cache/oracle-jdk11-installer-local/
sha256sum mismatch jdk-11.0.5_linux-x64_bin.tar.gz
Oracle JDK 11 is NOT installed.
dpkg: error processing package oracle-java11-installer-local (--configure):
installed oracle-java11-installer-local package post-installation script subprocess returned error exit status 1
Errors were encountered while processing:
oracle-java11-installer-local
E: Sub-process /usr/bin/dpkg returned an error code (1)I have downloaded jdk-11.0.5_linux-x64_bin.tar.gz from the Oracle website and placed it in /var/cache/oracle-jdk11-installer-local to no avail.
Does anyone know how I can make this error message go away?


Code:Setting up oracle-java11-installer-local (11.0.5-1~linuxuprising0) ...
Before installing this package,
please download the Oracle JDK 11 .tar.gz file
with the same version as this package (version 11.0.4),
and place it in /var/cache/oracle-jdk11-installer-local,
E.g.:
sudo mkdir -p /var/cache/oracle-jdk11-installer-local
sudo cp jdk-11.0.4_linux-x64_bin.tar.gz /var/cache/oracle-jdk11-installer-local/
sha256sum mismatch jdk-11.0.5_linux-x64_bin.tar.gz
Oracle JDK 11 is NOT installed.
dpkg: error processing package oracle-java11-installer-local (--configure):
installed oracle-java11-installer-local package post-installation script subprocess returned error exit status 1
Errors were encountered while processing:
oracle-java11-installer-local
E: Sub-process /usr/bin/dpkg returned an error code (1)I have downloaded jdk-11.0.5_linux-x64_bin.tar.gz from the Oracle website and placed it in /var/cache/oracle-jdk11-installer-local to no avail.
Does anyone know how I can make this error message go away?