The following NEW packages will be installed:
0 upgraded, 1 newly installed, 0 to remove and 132 not upgraded.
1 not fully installed or removed.
Need to get 0 B/6,788 B of archives.
After this operation, 20.5 kB of additional disk space will be used.
Setting up oracle-java8-installer (8u151-1~webupd8~0) ...
Installing from local file /var/cache/oracle-jdk8-installer/jdk-8u151-linux-x64.tar.gz
Removing outdated cached downloads...
sha256sum mismatch jdk-8u151-linux-x64.tar.gz
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:
E: Sub-process /usr/bin/dpkg returned an error code (1)
I know the cause of the error and that is it is trying to install the latest version which is 151 and I have version 144 in the /var/cache/oracle-jdk8-installer folder. How can I tell it to use that 144 and not try to use the latest version.
gzip -cd < /var/cache/oracle-jdk8-ins
Trying to see the contents table of the archive.
The error seems to point to a signature mismatch.