我正在尝试重新安装节点。我正在尝试下载更新的版本。
所以要卸载我清除了里面的 node 和 node_module 部分usr/local/bin/ and usr/local/src
按照这些说明
https://github.com/joysent/node/wiki/Installing-Node.js-via-package-manager#ubuntu-mint
当我跑
xx.x@x:~/src/node-v0.10.18$ checkinstall
我明白了
dpkg: regarding .../node_0.10.18-1_i386.deb containing node:
nodejs conflicts with node
node (version 0.10.18-1) is to be installed.
node provides node and is to be installed.
dpkg: error processing /home/hassan/src/node-v0.10.18/node_0.10.18-1_i386.deb (--install):
conflicting packages - not installing node
Errors were encountered while processing:
/home/hassan/src/node-v0.10.18/node_0.10.18-1_i386.deb
(END)
我不确定我还应该做什么。我尝试了其他一些东西。
:(
更多细节
这是命令行上显示的内容
Copying files to the temporary directory...OK
Stripping ELF binaries and libraries...OK
Compressing man pages...OK
Building file list...OK
Building Debian package...OK
Installing Debian package... FAILED!
*** Failed to install the package
Do you want to see the log file? [y]: y
*** SIGINT received ***
Restoring overwritten files from backup...OK
Cleaning up...OK
Bye.
哦,我解决了!我通过突触删除了所有与节点相关的文件!:D!