问题描述
我尝试在 debian nodejs
中安装,我正在按照以下步骤操作 how-to-install-node-js-on-ubuntu 但是当我运行 sudo bash nodesource_setup.sh
下面的错误显示给我,有人帮我解决吗?
I trying to install in debian nodejs
, I am following these steps how-to-install-node-js-on-ubuntu but when I run sudo bash nodesource_setup.sh
the errors below showed for me, anyone help me to solve it ?
W: The repository 'http://ppa.launchpad.net/ubuntu-x-swat/x-updates/ubuntu maverick 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.
W: The repository 'http://ppa.launchpad.net/videolan/stable-daily/ubuntu artful 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: Falhou ao buscar http://ppa.launchpad.net/ubuntu-x-swat/x-updates/ubuntu/dists/maverick/main/binary-amd64/Packages 403 Forbidden
E: Falhou ao buscar http://ppa.launchpad.net/videolan/stable-daily/ubuntu/dists/artful/main/binary-amd64/Packages 404 Not Found
E: Falhou o download de alguns ficheiros de índice. Foram ignorados ou os antigos foram usados em seu lugar.
Error executing command, exiting
推荐答案
这与 NodeJS 的包没有任何关系.
This is not related to NodeJS's package in any way.
真正的问题是:
存储库 basic_all_your_repos 没有发布文件.
您的 ppa 条目已损坏.删除所有抛出错误的 ppa 条目,然后运行 apt-get update
.我猜安装一开始就失败了,当 (sudo) apt-get update 发出时.您可以在此处查看如何删除ppa.
Your ppa entries are corrupted. Delete all ppa entries which throw errors and then run apt-get update
. I'm guessing the installation fails at the beginning, when (sudo) apt-get update is issued. You can check out how to remove ppas here.
这篇关于在 debian 中安装节点 js 时出错的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!