-
Notifications
You must be signed in to change notification settings - Fork 2
Node.Js
Error: Redis connection to xxx.xxx.xx.xxx:6379 failed - connect ETIMEDOUT at RedisClient.on_error (/home/rsa-key-20150224/nodebb/node_modules/redis/index.js:185:24) at Socket.<anonymous> (/home/rsa-key-20150224/nodebb/node_modules/redis/index.js:95:14) at Socket.emit (events.js:95:17) at net.js:441:14 at process._tickCallback (node.js:442:13)
ooof:sudo apt-get purge nodejs nodejs-legacy npm Reading package lists… Done Building dependency tree Reading state information… Done E: Unable to locate package npm ooof:sudo apt-get remove nodejs nodejs-legacy npm Reading package lists… Done Building dependency tree Reading state information… Done E: Unable to locate package npm ooof:sudo rm -rf /etc/apt/sources.list.d/chris-lea-node_js-wheezy.list chris-lea-node_js-wheezy.list chris-lea-node_js-wheezy.list.save ooof:sudo rm -rf /etc/apt/sources.list.d/chris-lea-node_js-trusty.list ooof:sudo su root@theparty:/home/rsa-key-20150224# curl -sL https://deb.nodesource.com/setup | bash -
## Populating apt-get cache…
+ apt-get update Get:1 http://security.debian.org wheezy/updates Release.gpg [836 B] Hit http://gce_debian_mirror.storage.googleapis.com wheezy Release.gpg Get:2 http://security.debian.org wheezy/updates Release [102 kB] Get:3 http://gce_debian_mirror.storage.googleapis.com wheezy-updates Release.gpg [836 B] Ign http://ppa.launchpad.net wheezy Release.gpg Get:4 http://ftp.us.debian.org wheezy-backports Release.gpg [836 B] Get:5 http://security.debian.org wheezy/updates/main Sources [158 kB] Get:6 http://ftp.us.debian.org wheezy-backports Release [147 kB] Get:7 http://gce_debian_mirror.storage.googleapis.com wheezy-backports Release.g pg [836 B] Ign http://ppa.launchpad.net wheezy Release Hit http://http.debian.net wheezy Release.gpg Get:8 http://security.debian.org wheezy/updates/contrib Sources [14 B] Hit http://gce_debian_mirror.storage.googleapis.com wheezy Release Get:9 http://security.debian.org wheezy/updates/non-free Sources [14 B] Get:10 http://security.debian.org wheezy/updates/main amd64 Packages [269 kB] Get:11 http://gce_debian_mirror.storage.googleapis.com wheezy-updates Release [1 24 kB] Hit http://ftp.us.debian.org wheezy-backports/main amd64 Packages/DiffIndex Get:12 http://http.debian.net wheezy-backports Release.gpg [836 B] Get:13 http://gce_debian_mirror.storage.googleapis.com wheezy-backports Release [147 kB] Hit http://ftp.us.debian.org wheezy-backports/main Translation-en/DiffIndex Hit http://gce_debian_mirror.storage.googleapis.com wheezy/main Sources Hit http://http.debian.net wheezy Release Get:14 http://security.debian.org wheezy/updates/contrib amd64 Packages [14 B] Hit http://gce_debian_mirror.storage.googleapis.com wheezy/contrib Sources Get:15 http://security.debian.org wheezy/updates/non-free amd64 Packages [14 B] Hit http://gce_debian_mirror.storage.googleapis.com wheezy/non-free Sources Hit http://gce_debian_mirror.storage.googleapis.com wheezy/main amd64 Packages Get:16 http://security.debian.org wheezy/updates/contrib Translation-en [14 B] Get:17 http://http.debian.net wheezy-backports Release [147 kB] Hit http://gce_debian_mirror.storage.googleapis.com wheezy/contrib amd64 Package s Hit http://gce_debian_mirror.storage.googleapis.com wheezy/non-free amd64 Packag es Get:18 http://security.debian.org wheezy/updates/main Translation-en [152 kB] Hit http://gce_debian_mirror.storage.googleapis.com wheezy/contrib Translation-e n Hit http://gce_debian_mirror.storage.googleapis.com wheezy/main Translation-en Hit http://gce_debian_mirror.storage.googleapis.com wheezy/non-free Translation- en Hit http://gce_debian_mirror.storage.googleapis.com wheezy-updates/main Sources Get:19 http://security.debian.org wheezy/updates/non-free Translation-en [14 B] Hit http://gce_debian_mirror.storage.googleapis.com wheezy-updates/contrib Sourc es Hit http://gce_debian_mirror.storage.googleapis.com wheezy-updates/non-free Sour ces Hit http://gce_debian_mirror.storage.googleapis.com wheezy-updates/main amd64 Pa ckages/DiffIndex Hit http://http.debian.net wheezy/main Sources Hit http://http.debian.net wheezy/main amd64 Packages Hit http://gce_debian_mirror.storage.googleapis.com wheezy-updates/contrib amd64 Packages Hit http://gce_debian_mirror.storage.googleapis.com wheezy-updates/non-free amd6 4 Packages Hit http://http.debian.net wheezy/main Translation-en Hit http://gce_debian_mirror.storage.googleapis.com wheezy-updates/contrib Trans lation-en Hit http://http.debian.net wheezy-backports/main Sources/DiffIndex Hit http://gce_debian_mirror.storage.googleapis.com wheezy-updates/main Translat ion-en/DiffIndex Hit http://gce_debian_mirror.storage.googleapis.com wheezy-updates/non-free Tran slation-en Hit http://gce_debian_mirror.storage.googleapis.com wheezy-backports/main Source s/DiffIndex Hit http://gce_debian_mirror.storage.googleapis.com wheezy-backports/main amd64 Packages/DiffIndex Hit http://gce_debian_mirror.storage.googleapis.com wheezy-backports/main Transl ation-en/DiffIndex Hit http://http.debian.net wheezy-backports/main amd64 Packages/DiffIndex Hit http://http.debian.net wheezy-backports/main Translation-en/DiffIndex Err http://ppa.launchpad.net wheezy/main Sources 404 Not Found Err http://ppa.launchpad.net wheezy/main amd64 Packages 404 Not Found Ign http://ppa.launchpad.net wheezy/main Translation-en_US Ign http://ppa.launchpad.net wheezy/main Translation-en Fetched 1,250 kB in 3s (370 kB/s) W: Failed to fetch http://ppa.launchpad.net/chris-lea/node.js/ubuntu/dists/wheez y/main/source/Sources 404 Not Found
W: Failed to fetch http://ppa.launchpad.net/chris-lea/node.js/ubuntu/dists/wheez y/main/binary-amd64/Packages 404 Not Found
E: Some index files failed to download. They have been ignored, or old ones used instead. Error executing command, exiting root@theparty:/home/rsa-key-20150224# exit ooof:sudo apt-get install -y nodejs nodejs-legacy Reading package lists… Done Building dependency tree Reading state information… Done nodejs is already the newest version. The following NEW packages will be installed: nodejs-legacy 0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded. Need to get 0 B/80.4 kB of archives. After this operation, 103 kB of additional disk space will be used. Selecting previously unselected package nodejs-legacy. (Reading database … 31804 files and directories currently installed.) Unpacking nodejs-legacy (from …/nodejs-legacy_0.10.29dfsg-1bpo70+1_all.deb) … Processing triggers for man-db … Setting up nodejs-legacy (0.10.29dfsg-1bpo70+1) … ooof:sudo apt-get install -y build-essential Reading package lists… Done Building dependency tree Reading state information… Done build-essential is already the newest version. 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. ooof:npm -bash: npm: command not found ooof:node --version v0.10.29 ooof: ooof: ooof: ooof:npm -bash: npm: command not found ooof: