要安装 Yarn,我运行了以下命令:
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
我安装了 Node.js 版本 6.6.0,但出现错误:
yarn : Depends: nodejs (>= 4.0.0) but 0.10.25~dfsg2-2ubuntu1 is to be installed
E: Unable to correct problems, you have held broken packages.