우분투 12.04에 nodejs와 npm을 설치하려고했습니다. 나는 구글하고 그것을했다. 이제 컴퓨터에 npm을 설치할 수 없습니다.
sudo apt-get install npm
나에게 이것을주는
The following packages have unmet dependencies:
npm : Depends: nodejs but it is not going to be installed
Depends: nodejs-dev
Depends: node-request but it is not going to be installed
Depends: node-mkdirp but it is not going to be installed
Depends: node-minimatch but it is not going to be installed
Depends: node-semver but it is not going to be installed
Depends: node-ini but it is not going to be installed
Depends: node-graceful-fs but it is not going to be installed
Depends: node-abbrev but it is not going to be installed
Depends: node-nopt but it is not going to be installed
Depends: node-fstream but it is not going to be installed
Depends: node-rimraf but it is not going to be installed
Depends: node-tar but it is not going to be installed
Depends: node-which but it is not going to be installed
E: Unable to correct problems, you have held broken packages.
apt-get install npm
피해야합니다 (!). 있는지 확인npm -v
(MarcoCerpi의 대답 @에서 더 아래를 참조) .... 설치하려고하기 전에이