删除无效索引

删除无效索引

每次我逃跑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 中,将所有带有 的行更改httpshttp

https://deb.nodesource.com/node/dists/qiana/main/source/Sources例如:http://deb.nodesource.com/node/dists/qiana/main/source/Sources

然后保存并关闭文件

然后运行更新。

相关内容