こんにちは私はubuntuにノードv4.2.6とnpm 3.5.2をインストールしましたが、最新のバージョンやnode6.xをインストールしようとすると端末にエラーが発生していますパッケージ404が見つかりません。私もスクリーンショットを添付しました。私はそれを修正する方法を教えてください?ubuntuにnode8と最新のnpmをインストールするには
私も試してみました: -
curl -sL https://deb.nodesource.com/setup_0.12 | sudo bash -
# Then install with:
sudo apt-get install -y nodejs
はまだ同じ出力を持って、私はコマンドを実行することにより、1つのミスをしたと思います: -
https://smyl.es/how-to-fix-ubuntudebian-apt-get-404-not-found-package-repository-errors-saucy-raring-quantal-oneiric-natty/
で述べたように
sudo sed -i -e 's/:\/\/(archive.ubuntu.com\|security.ubuntu.com)/old-releases.ubuntu.com/g' /etc/apt/sources.list
Here is the output of sudo apt-get update
:) –