Erros Apt-get Java JRE

1

Sou um pouco novo no Ubuntu e no Linux em geral, e não consigo me acostumar com algumas coisas. Quando estou tentando usar o apt-get para remover pacotes, recebo isto:

After this operation, 90.1 kB disk space will be freed.
Do you want to continue? [Y/n] y
(Reading database ... 207189 files and directories currently installed.)
Removing cowsay (3.03+dfsg1-6) ...
Processing triggers for man-db (2.6.7.1-1ubuntu1) ...
Setting up jre1.8.0-101 (1.8.0101-1) ...
Error: unpack200 - command could not be found.

Please refer to the Troubleshooting section of theInstallation Instructions
on the download page.
update-alternatives: error: alternative path /usr/java/jre1.8.0_101/bin/java doesn't exist
dpkg: error processing package jre1.8.0-101 (--configure):
 subprocess installed post-installation script returned error exit status 2
Errors were encountered while processing:
 jre1.8.0-101
E: Sub-process /usr/bin/dpkg returned an error code (1)

E para instalar, eu recebo isto:

After this operation, 0 B of additional disk space will be used.
Do you want to continue? [Y/n] y
Setting up jre1.8.0-101 (1.8.0101-1) ...
Error: unpack200 - command could not be found.

Please refer to the Troubleshooting section of theInstallation Instructions
on the download page.
update-alternatives: error: alternative path /usr/java/jre1.8.0_101/bin/java doesn't exist
dpkg: error processing package jre1.8.0-101 (--configure):
 subprocess installed post-installation script returned error exit status 2
Errors were encountered while processing:
 jre1.8.0-101
E: Sub-process /usr/bin/dpkg returned an error code (1)

Quando eu chamo java -version, recebo:

java version "1.8.0_101"
Java(TM) SE Runtime Environment (build 1.8.0_101-b13)
Java HotSpot(TM) 64-Bit Server VM (build 25.101-b13, mixed mode)

Qualquer ajuda seria apreciada.

Obrigado.

    
por user2965071 14.09.2016 / 20:26

0 respostas