我正在尝试更新 Ubuntu 服务器,当我运行 apt-get update 时,出现了许多错误,如下例所示(注意我在 http 后添加了一些空格)。
Err http ://no.archive.ubuntu.com natty/main Sources 404 Not Found
Err http ://no.archive.ubuntu.com natty/restricted Sources 404 Not Found
Run Code Online (Sandbox Code Playgroud)
和
W: Failed to fetch http ://no.archive.ubuntu.com/ubuntu/dists/natty/main/source/Sources 404 Not Found
W: Failed to fetch http ://no.archive.ubuntu.com/ubuntu/dists/natty/restricted/source/Sources 404 Not Found
I tried to replace all occurrences of http ://no.archive.ubuntu.com/ with http ://archive.ubuntu.com/
Run Code Online (Sandbox Code Playgroud)
但似乎所有这些档案都消失了......
Ubuntu 版本:lsb_release -a 没有可用的 LSB 模块。发行商 ID:Ubuntu 描述:Ubuntu 11.04 版本:11.04 代号:natty
我该如何清理这个烂摊子?感谢您的帮助!j