Error when I install Yarn on Ubuntu: "Unable to correct problems, you have held broken packages"
<p>To install Yarn, I ran the following commands:</p>

<pre><code>sudo apt-key adv --keyserver pgp.mit.edu --recv D101F7899D41F3C3
echo "deb http://dl.yarnpkg.com/debian/ stable main" | sudo tee /etc/apt/sources.list.d/yarn.list
</code></pre>

<p>I have Node.js version 6.6.0 installed, yet I get the error:</p>

<pre><code>yarn : Depends: nodejs (&gt;= 4.0.0) but 0.10.25~dfsg2-2ubuntu1 is to be installed 
E: Unable to correct problems, you have held broken packages.
</code></pre>