
每當我跑步時,sudo apt-get update
結局總是不好
...
W: Failed to fetch https://deb.nodesource.com/node/dists/qiana/main/source/Sources HttpError404
W: Failed to fetch https://deb.nodesource.com/node/dists/qiana/main/binary-amd64/Packages HttpError404
W: Failed to fetch https://deb.nodesource.com/node/dists/qiana/main/binary-i386/Packages HttpError404
E: Some index files failed to download. They have been ignored, or old ones used instead.
有沒有辦法解決這個問題並刪除遺失的索引?我很確定我什至沒有使用它。從我跑步的那一刻起,這種情況就開始發生了curl -sL https://deb.nodesource.com/setup | sudo bash -
。
答案1
跑步
gksudo gedit /etc/apt/sources.list
在產生的 Gedit 中,將所有行變更https
為http
。
例如:https://deb.nodesource.com/node/dists/qiana/main/source/Sources
到http://deb.nodesource.com/node/dists/qiana/main/source/Sources
然後儲存並關閉文件
然後運行更新。