Eu tentei instalar o JDK e o JRE convertendo em .deb
file de .rpm
using alien.
É assim
(Reading database ... 209313 files and directories currently installed.)
Preparing to unpack jdk1.8.0-112_1.8.0112-fcs-1_amd64.deb ...
Unpacking jdk1.8.0-112 (1.8.0112-fcs-1) over (1.8.0112-fcs-1) ...
/var/lib/dpkg/info/jdk1.8.0-112.postrm: line 586: /usr/sbin/alternatives: No such file or directory
/var/lib/dpkg/info/jdk1.8.0-112.postrm: line 598: /usr/sbin/alternatives: No such file or directory
dpkg: warning: subprocess old post-removal script returned error exit status 127
dpkg: trying script from the new package instead ...
find: '/usr/java/*': No such file or directory
/var/lib/dpkg/tmp.ci/postrm: line 586: /usr/sbin/alternatives: No such file or directory
/var/lib/dpkg/tmp.ci/postrm: line 598: /usr/sbin/alternatives: No such file or directory
dpkg: error processing archive jdk1.8.0-112_1.8.0112-fcs-1_amd64.deb (--install):
subprocess new post-removal script returned error exit status 127
find: '/usr/java/*': No such file or directory
/var/lib/dpkg/tmp.ci/postrm: line 586: /usr/sbin/alternatives: No such file or directory
/var/lib/dpkg/tmp.ci/postrm: line 598: /usr/sbin/alternatives: No such file or directory
dpkg: error while cleaning up:
subprocess new post-removal script returned error exit status 127
Errors were encountered while processing:
jdk1.8.0-112_1.8.0112-fcs-1_amd64.deb*
Descompacta e diz
E: The package jdk1.8.0-112 needs to be reinstalled, but I can't find an archive for it
Uma vez eu parei a conversão de .rpm para .deb repentinamente e tentei instalar esse arquivo .deb parcialmente convertido. Isso causa problemas? O que fazer ..? **