阿里云服务器安装nodejs失败

Building dependency tree
Reading state information... Done
The following extra packages will be installed:
  libicu52 rlwrap
The following NEW packages will be installed:
  libicu52 nodejs rlwrap
0 upgraded, 3 newly installed, 0 to remove and 146 not upgraded.
Need to get 6,802 kB/13.6 MB of archives.
After this operation, 61.6 MB of additional disk space will be used.
Get:1 https://deb.nodesource.com/node_4.x/ trusty/main nodejs amd64 4.2.2-2nodes
ource1~trusty1 [6,802 kB]
Err https://deb.nodesource.com/node_4.x/ trusty/main nodejs amd64 4.2.2-2nodesou
rce1~trusty1
  Operation too slow. Less than 10 bytes/sec transferred the last 3 seconds
E: Failed to fetch https://deb.nodesource.com/node_4.x/pool/main/n/nodejs/nodejs
_4.2.2-2nodesource1~trusty1_amd64.deb  Operation too slow. Less than 10 bytes/se
c transferred the last 3 seconds

E: Unable to fetch some archives, maybe run apt-get update or try with --fix-missing?
阅读 5.8k
1 个回答

apt-get 版本太旧了 apt-get update 后在 apt-get install node

建议在官网下载在源码,然后编译安装

链接描述

撰写回答
你尚未登录,登录后可以
  • 和开发者交流问题的细节
  • 关注并接收问题和回答的更新提醒
  • 参与内容的编辑和改进,让解决方法与时俱进
推荐问题