title: Install Node.js on Ubuntu
body: <p>I'm trying install Node.js on <a href="https://en.wikipedia.org/wiki/Ubuntu_version_history#Ubuntu_12.10_.28Quantal_Quetzal.29" rel="noreferrer">Ubuntu 12.10</a> (Quantal Quetzal), but the terminal shows me an error about lost packages. I tried with this:</p>
  <pre><code>sudo apt-get install python-software-properties
  sudo add-apt-repository ppa:chris-lea/node.js
  sudo apt-get update
  sudo apt-get install nodejs npm
  </code></pre>
  <p>But when I came to the last line <code>sudo apt-get install nodejs npm</code> shows this error:</p>
  <pre class="lang-none prettyprint-override"><code>Failed to install some packages. This may mean that
  you requested an impossible situation or if you are using the distribution
  distribution that some required packages have not yet been created or been
  been moved out of Incoming.
  The following information may help to resolve the situation:
  The following packages have unmet dependencies:
  nodejs: Conflicts: npm
  E: Failed to correct problems, you have held broken packages.
  </code></pre>
  <p>Then I uninstalled the <code>ppa:chris-lea/node.js</code> and I was trying a second option:</p>
  <pre><code>sudo apt-get install node.js
  sudo apt-add-repository ppa:chris-lea/node.js
  sudo apt-get update
  sudo apt-get install nodejs npm
  </code></pre>
  <p>The same error, the terminal says <code>npm is the latest version</code>, but it also shows me the text I shown in the top. I think the problem is <code>ppa:chris-lea/node.js</code>, but I don't know how solve it.</p>