I installed nodejs and npm via using this configuration script from here
http://apptob.org/ which installs 0.6.5 and npm 1.0.106.
However the install isn't functioning correctly and npm could not install packages. So I wanted to remove the installed packages and try a fresh install again.
So I did.
Code:
sayth@sayth-TravelMate-5740G:~$ sudo apt-get --purge remove node npm
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages were automatically installed and are no longer required:
libv8-3.1.8.22 libc-ares-dev libev4 libv8-dev libc-ares2 libev-dev
Use 'apt-get autoremove' to remove them.
The following packages will be REMOVED:
node* npm*
0 upgraded, 0 newly installed, 2 to remove and 0 not upgraded.
After this operation, 0 B of additional disk space will be used.
Do you want to continue [Y/n]? y
(Reading database ... 283764 files and directories currently installed.)
Removing node ...
Purging configuration files for node ...
Removing npm ...
Purging configuration files for npm ...
I also then completed apt-get autoremove.
However at the command line both node and npm still show as installed and return their version numbers.
Code:
sayth@sayth-TravelMate-5740G:~$ npm -v
1.0.106
sayth@sayth-TravelMate-5740G:~$ node -v
v0.6.5
But running the remove commands again states they are not installed.
Code:
sayth@sayth-TravelMate-5740G:~$ sudo apt-get --purge remove node
Reading package lists... Done
Building dependency tree
Reading state information... Done
Package node is not installed, so not removed
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
How can I get the 'not installed?' package to be uninstalled from my installation.
I am on ubuntu 11.10.