我正在尝试使用 ubuntu 17 安装节点 js。我不断收到此错误。我不知道这意味着什么。
curl -sL https://deb.nodesource.com/setup_7.x | sudo -E bash -
.
Repository 'http://ppa.launchpad.net/ondrej/php/ubuntu artful InRelease' changed its 'Label' value from '***** The main PPA for PHP (5.6, 7.0, 7.1) with many PECL extensions *****' to '***** The main PPA for supported PHP versions with many PECL extensions *****'
N: This must be accepted explicitly before updates for this repository can be applied. See apt-secure(8) manpage for details.
不得不说,我不太了解Ubuntu的这些特性,所以所描述的解决方案可能会对您的系统造成损害。
根据apt-secure 联机帮助页,这是一项安全功能,可防止安装受损或可能有害的软件包。
我遇到了同样的问题并运行sudo apt-get update --allow-releaseinfo-change
了几次,直到我摆脱了错误。
之后我用
curl -sL https://deb.nodesource.com/setup_7.x | sudo -E bash -
最后
sudo apt-get install nodejs
更新我的节点安装。
本文收集自互联网,转载请注明来源。
如有侵权,请联系[email protected] 删除。
我来说两句