私はnpm
パッケージをTravis-CIで動作するUbuntu 14にインストールしようとしています。私の地元のUbuntu 14インストールには罰金インストールが、トラヴィスに、それはエラーで失敗しTravis-CIの下でUbuntu 14にnpmをインストールするには
:私はこの問題を解決するにはどうすればよい
[127.0.0.1] out: dpkg: error processing archive /var/cache/apt/archives/npm_1.3.10~dfsg-1_all.deb (--unpack):
[127.0.0.1] out: trying to overwrite '/usr/bin/npm', which is also in package nodejs 0.12.7-rwky1~trusty
[127.0.0.1] out: Processing triggers for man-db (2.6.7.1-1ubuntu1) ...
[127.0.0.1] out: Errors were encountered while processing:
[127.0.0.1] out: /var/cache/apt/archives/npm_1.3.10~dfsg-1_all.deb
[127.0.0.1] out: E: Sub-process /usr/bin/dpkg returned an error code (1)
[127.0.0.1] out:
Fatal error: sudo() received nonzero return code 100 while executing!
Requested: apt-get update --fix-missing; DEBIAN_FRONTEND=noninteractive apt-get install --yes npm
Executed: sudo -S -p 'sudo password:' /bin/bash -l -c "apt-get update --fix-missing; DEBIAN_FRONTEND=noninteractive apt-get install --yes npm"
?