安裝的問題,我在Ubuntu安裝使用以下命令的NodeJS的NodeJS在Ubuntu
捲曲-SL https://deb.nodesource.com/setup_8.x |須藤-E慶典 - sudo易於得到安裝-y的NodeJS
然後給出了這樣的消息,
Reading package lists... Done
Building dependency tree
Reading state information... Done
nodejs is already the newest version.
0 upgraded, 0 newly installed, 0 to remove and 253 not upgraded.
W: Duplicate sources.list entry https://dl.bintray.com/sbt/debian/ Packages (/var/lib/apt/lists/dl.bintray.com_sbt_debian_Packages)
W: You may want to run apt-get update to correct these problems
當我執行 「sudo apt-get的更新」,我得到另一個錯誤,
W: Failed to fetch http://ppa.launchpad.net/chris-lea/node.js/ubuntu/dists/wily/main/binary-amd64/Packages 404 Not Found
W: Failed to fetch http://ppa.launchpad.net/chris-lea/node.js/ubuntu/dists/wily/main/binary-i386/Packages 404 Not Found
W: Failed to fetch http://ppa.launchpad.net/ole.wolf/rarcrack/ubuntu/dists/wily/main/binary-amd64/Packages 404 Not Found
W: Failed to fetch http://ppa.launchpad.net/ole.wolf/rarcrack/ubuntu/dists/wily/main/binary-i386/Packages 404 Not Found
E: Some index files failed to download. They have been ignored, or old ones used instead.
您能否讓我知道如何解決這個問題?發生
非常感謝您的回覆。不幸的是,這些文件不包含4個網址。你知道他們可能會被帶走嗎?再次感謝 – Imran
檢查'/ etc/apt/sources.list.d /'下的文件。也許你可以在那裏找到條目。我剛剛編輯帖子並添加了其他配置文件位置。 –