所以我在做apt-get升级时遇到这个错误
Setting up nodejs (0.10.30-1chl1~trusty1) ...
update-alternatives: error: alternative link /usr/bin/node is already managed by nodejs
dpkg: error processing package nodejs (--configure): subprocess installed post-installation script returned error exit status 2
Errors were encountered while processing: nodejs
E: Sub-process /usr/bin/dpkg returned an error code (1)
Run Code Online (Sandbox Code Playgroud)
注意:"nodejs --version"工作,我得到一个干净的"v0.10.30",但"node --version"没有,因为没有链接.
到目前为止,我尝试过: