So I've tried to fix this my self for a couple hours and I feel I've made 
it worse. I am running Kbuntu 12.10, and trying to install nodejs and npm 
as a user not root so I can install the game closure framework. I had a 
version of node and npm installed as root. Then tried to install it again 
(without removing the old) via these instructions: 
http://tnovelli.net/blog/blog.2011-08-27.node-npm-user-install.html

Now when I type which npm I get nothing. However when I type which node i 
get/home/myusername/.local/bin/node. So I am assuming node is installed 
correctly.

also when I type npm -v

I get:

The program 'npm' is currently not installed. You can install it by typing:
sudo apt-get install npm

So I type sudo apt-get install npm

and the response is:

Reading package lists... DoneBuilding dependency tree       Reading state 
information... DoneSome packages could not be installed. This may mean that you 
have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.The following information may help to resolve the 
situation:
The following packages have unmet dependencies:
npm : Depends: nodejs (>= 0.6.19~dfsg1-3) but it is not going to be installed
   Depends: nodejs-dev
   Depends: node-node-uuid but it is not going to be installed
   Depends: node-request but it is not going to be installed
   Depends: node-mkdirp but it is not going to be installed
   Depends: node-minimatch but it is not going to be installed
   Depends: node-semver but it is not going to be installed
   Depends: node-ini but it is not going to be installed
   Depends: node-graceful-fs but it is not going to be installed
   Depends: node-abbrev but it is not going to be installed
   Depends: node-nopt but it is not going to be installed
   Depends: node-fstream but it is not going to be installed
   Depends: node-rimraf but it is not going to be installed
   Depends: node-tar but it is not going to be installed
   Depends: node-which but it is not going to be installed
E: Unable to correct problems, you have held broken packages.

How can I fix this so I can install npm according to the link above?

EDIT: after searching some more i tried sudo apt-get clean && sudo apt-get 
update and even after that I still get the same message after attempting to 
apt-get npm

-- 
-- 
Job Board: http://jobs.nodejs.org/
Posting guidelines: 
https://github.com/joyent/node/wiki/Mailing-List-Posting-Guidelines
You received this message because you are subscribed to the Google
Groups "nodejs" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/nodejs?hl=en?hl=en

--- 
You received this message because you are subscribed to the Google Groups 
"nodejs" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to