Questions tagged «ubuntu-13.04»

1
以下软件包具有未满足的依赖项:nodejs:冲突:npm
我遵循了这个要旨https://gist.github.com/Goddard/5500157来安装nodejs和npm,但是运行它之后,既不能运行node --version也不可以运行npm --version,从而导致找不到命令错误。我能够卸载nodejs,但是必须进入脚本中描述的temp目录并进行make卸载才能使npm离开。 现在,尝试再次安装nodejs和npm时,我改用此链接http://www.andreagrandi.it/2013/02/08/how-to-install-latest-stable-node-js-on-ubuntu/,但是,如果我尝试同时安装nodejs和npm,则会收到此错误消息。 sudo apt-get install nodejs npm The following packages have unmet dependencies: nodejs : Conflicts: npm E: Unable to correct problems, you have held broken packages. 如果我只是安装nodejs,那可以正常工作。 sudo apt-get install nodejs node --version v0.10.15 但是现在,如果我尝试安装npm,则会显示此错误消息 sudo apt-get install npm The following packages have unmet dependencies: npm : …
By using our site, you acknowledge that you have read and understand our Cookie Policy and Privacy Policy.
Licensed under cc by-sa 3.0 with attribution required.