What went wrong with my curl install?
- by Danjah
I'm fresher than the prince to Linux, I've been following the instructions here: http://chrisfulstow.com/running-node-js-on-windows-with-virtualbox-and-ubuntu (the link tells what I am generally trying to do).
I'm all up and running in VBox, and am at the curl install part, I may have done the curl part a week ago I forget. So I ran this command anyway:
danjah@danjah-VirtualBox:~$ sudo apt-get install curl
Result:
[sudo] password for danjah:
Reading package lists... Done
Building dependency tree
Reading state information... Done
curl is already the newest version.
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
Then:
$ curl http://npmjs.org/install.sh | sudo npm_install=rc sh
Result:
fetching: {
gzip: stdin: unexpected end of file
/bin/tar: Child returned status 1
/bin/tar: Error is not recoverable: exiting now
It failed
Should I be concerned? How can I test curl? How can I avoid these situations? Perhaps there's a generic way of checking to see if I've already installed packages/etc?
Case specific answers and general advice most appreciated.
cheers, d