我正在尝试安装 node jshttps://nodejs.org/en/download/package-manager/
安装后curl
,python-software-properties
我遇到了此命令的问题:
curl -sL https://deb.nodesource.com/setup_6.x | sudo -E bash -
我有这个输出:
...
Err:8 https://cli-assets.heroku.com/branches/stabile/apt ./ Packages
404 Not Found
...
W: The repository 'https://cli-assets.heroku.com/branches/stabile/apt ./ Release' does not have a Release file.
N: Data from such a repository can't be authenticated and is therefore potentially dangerous to use.
N: See apt-secure(8) manpage for repository creation and user configuration details.
E: Failed to fetch https://cli-assets.heroku.com/branches/stabile/apt/./Packages 404 Not Found
E: Some index files failed to download. They have been ignored, or old ones used instead.
Error executing command, exiting
我该如何修复它?
答案1
您可以前往System Settings->Software & Updates
。然后选择Ubuntu Software
选项卡并取消选中带有链接的项目:
http://ppa.launchpad.net/fossfreedom/packagefixes/ubuntu xenial Release
http://ppa.launchpad.net/thefanclub/grive-tools/ubuntu xenial Release
http://ppa.launchpad.net/boomaga/ppa/ubuntu xenial InRelease
http://ppa.launchpad.net/ubuntu-audio-dev/ppa/ubuntu xenial Release
http://ppa.launchpad.net/me-davidsansome/clementine-dev/ubuntu xenial InRelease
取消选中后,您运行sudo apt update
即可更新系统。
欲了解更多详细信息,您可以阅读链接:当我使用 PPA 或更新我的软件包列表时,如何修复 404 错误?