Estou tentando criar um aplicativo (código do Visual Studio) a partir do código-fonte no Debian. Ao tentar seguir instruções de construção, o Node-JS se recusou a instalar.
# apt-get install nodejs-dev
Reading package lists... Done
Building dependency tree
Reading state information... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:
The following packages have unmet dependencies:
nodejs-dev : Depends: libssl-dev (>= 1.0.0g) but it is not going to be installed
Depends: libc-ares-dev (>= 1.7.5) but it is not going to be installed
Eu tentei instalar dependências não satisfeitas uma por uma para encontrar a origem do problema:
# apt-get install libssl-dev
The following packages have unmet dependencies:
libssl-dev : Depends: libssl1.0.0 (= 1.0.1t-1+deb8u2) but 1.0.2d-1 is to be installed
Recommends: libssl-doc but it is not going to be installed
A e ...
# apt-get install libssl1.0.0
libssl1.0.0 is already the newest version (1.0.2d-1).
Lá.
Como eu vejo, eu tenho que instalar o libssl1.0.0
(para instalar o NodeJS), mantendo libssl1.0.2d-1
(para evitar a quebra de quaisquer dependências existentes). Como eu posso fazer isso? E, mais importante, não instalar duas versões da mesma biblioteca introduz erros?