Eu tenho o Ubuntu 17.10 (eu sou novo no Ubuntu e Linux) e agora eu instalei a versão java jdk "1.8.0_144"
java -version
java version "1.8.0_144"
Java(TM) SE Runtime Environment (build 1.8.0_144-b01)
Java HotSpot(TM) 64-Bit Server VM (build 25.144-b01, mixed mode)
Quando eu digito: sudo apt-get upgrade
eu recebo essas informações.
sudo apt-get upgrade
Reading package lists... Done
Building dependency tree
Reading state information... Done
Calculating upgrade... Done
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
1 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
Setting up oracle-java8-installer (8u144-1~webupd8~0) ...
Installing from local file /var/cache/oracle-jdk8-installer/jdk-8u152-linux-x64.tar.gz
Removing outdated cached downloads...
mv: cannot move 'jdk1.8.0_152' to 'java-8-oracle/jdk1.8.0_152': Directory not empty
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)
Por que recebo este erro e como removê-lo? Agora todo meu projeto está em
v. 1.8.0_144 mas se eu quiser atualizar não sei como vou fazer isso. Eu tentei remover pasta / var / cache, mas quando eu digito sudo apt-get upgrade
é aparecer novamente.