Хтось знає, як це виправити?
Спочатку я зробив:
sudo add-apt-repository ppa:webupd8team/java
Тоді я зробив:
sudo apt-get update
І потім:
$ sudo apt-get install oracle-java8-installer
Reading package lists... Done
Building dependency tree
Reading state information... Done
oracle-java8-installer is already the newest version.
The following packages were automatically installed and are no longer required:
antlr3 libdb6.0 libdb6.0-java-jni libice-dev
libjakarta-taglibs-standard-java libjnr-netdb-java libjstl1.1-java
liblivetribe-jsr223-java libpthread-stubs0-dev libsm-dev
libstringtemplate-java libx11-dev libx11-doc libxau-dev libxcb1-dev
libxdmcp-dev libxt-dev wine-compholio wine-compholio-amd64
wine-compholio-i386:i386 x11proto-core-dev x11proto-input-dev
x11proto-kb-dev xorg-sgml-doctools xtrans-dev
Use 'apt-get autoremove' to remove them.
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
2 not fully installed or removed.
After this operation, 0 B of additional disk space will be used.
Do you want to continue? [Y/n] y
The file is already fully retrieved; nothing to do.
Download done.
Removing outdated cached downloads...
sha256sum mismatch jdk-8u25-linux-x64.tar.gz
Oracle JDK 8 is NOT installed.
No apport report written because the error message indicates its a followup error from a previous failure.
dpkg: error processing package oracle-java8-installer (--configure):
subprocess installed post-installation script returned error exit status 1
dpkg: dependency problems prevent configuration of oracle-java8-set-default:
oracle-java8-set-default depends on oracle-java8-installer; however:
Package oracle-java8-installer is not configured yet.
dpkg: error processing package oracle-java8-set-default (--configure):
dependency problems - leaving unconfigured
Errors were encountered while processing:
oracle-java8-installer
oracle-java8-set-default
E: Sub-process /usr/bin/dpkg returned an error code (1)