它建议我运行sudo apt-get -f install,但出现错误。

发布于 2018-05-14 19:36:38
如果你想在ubuntu中安装Node.js。你可以查看Node installation on ubuntu
curl -sL https://deb.nodesource.com/setup_8.x | sudo -E bash -
sudo apt-get install -y nodejs
sudo apt-get update
sudo apt-get install npm
sudo npm install npm --global发布于 2018-05-14 19:43:20
如果要安装Node.js v6.9.0 - 6.10.0之间的任何版本,请使用以下命令
$ curl -o- https://raw.githubusercontent.com/creationix/nvm/v0.33.2/install.sh | bash
$ nvm ls
$ nvm安装v6.9.5
检查npm和节点版本的
$ npm -v
$ node -v
发布于 2018-05-14 19:40:06
由一个软件包flashplugin-installer引起的错误,我们可以清楚地看到下面这行:
dpkg:处理软件包flashplugin-安装程序时出错(--configure)
运行以下命令将其删除:
apt-get purge remove flashplugin-installer然后尝试重新安装,如果遇到另一个错误,则进行注释
https://stackoverflow.com/questions/50329224
复制相似问题