Ubuntu 14.10 上的 sudo apt-get 更新错误

sudo apt-get update error on Ubuntu 14.10

我刚刚在数据中心获得了一台新服务器 运行ning Ubuntu 14.10。我尝试用 sudo apt-get install vsftpd 安装 FTP,这给了我一个无法获取的错误,它告诉我 运行 sudo apt-get update。所以我尝试这样做,然后收到以下错误消息。

csvuser@k2521s002:~$ sudo apt-get update
Ign http://security.ubuntu.com utopic-security InRelease
Ign http://archive.ubuntu.com utopic InRelease
Ign http://security.ubuntu.com utopic-security Release.gpg
Ign http://archive.ubuntu.com utopic-updates InRelease
Ign http://security.ubuntu.com utopic-security Release
Ign http://archive.ubuntu.com utopic Release.gpg
Ign http://archive.ubuntu.com utopic-updates Release.gpg
Ign http://archive.ubuntu.com utopic Release
Ign http://security.ubuntu.com utopic-security/main amd64 Packages/DiffIndex
Ign http://archive.ubuntu.com utopic-updates Release
Ign http://security.ubuntu.com utopic-security/universe amd64 Packages/DiffIndex
Ign http://archive.ubuntu.com utopic/main amd64 Packages/DiffIndex
Ign http://archive.ubuntu.com utopic/universe amd64 Packages/DiffIndex
Ign http://archive.ubuntu.com utopic-updates/main amd64 Packages/DiffIndex
Ign http://archive.ubuntu.com utopic-updates/universe amd64 Packages/DiffIndex
Err http://security.ubuntu.com utopic-security/main Sources
  404  Not Found [IP: 91.189.91.13 80]
Err http://security.ubuntu.com utopic-security/universe Sources
  404  Not Found [IP: 91.189.91.13 80]
Ign http://security.ubuntu.com utopic-security/main Translation-en_US
Ign http://security.ubuntu.com utopic-security/main Translation-en
Ign http://security.ubuntu.com utopic-security/universe Translation-en_US
Ign http://security.ubuntu.com utopic-security/universe Translation-en
Err http://security.ubuntu.com utopic-security/main amd64 Packages
  404  Not Found [IP: 91.189.91.13 80]
Err http://security.ubuntu.com utopic-security/universe amd64 Packages
  404  Not Found [IP: 91.189.91.13 80]
Err http://archive.ubuntu.com utopic/main Sources
  404  Not Found [IP: 91.189.91.24 80]
Err http://archive.ubuntu.com utopic/universe Sources
  404  Not Found [IP: 91.189.91.24 80]
Ign http://archive.ubuntu.com utopic/main Translation-en_US
Ign http://archive.ubuntu.com utopic/main Translation-en
Ign http://archive.ubuntu.com utopic/universe Translation-en_US
Ign http://archive.ubuntu.com utopic/universe Translation-en
Err http://archive.ubuntu.com utopic-updates/main Sources
  404  Not Found [IP: 91.189.91.24 80]
Err http://archive.ubuntu.com utopic-updates/universe Sources
  404  Not Found [IP: 91.189.91.24 80]
Ign http://archive.ubuntu.com utopic-updates/main Translation-en_US
Ign http://archive.ubuntu.com utopic-updates/main Translation-en
Ign http://archive.ubuntu.com utopic-updates/universe Translation-en_US
Ign http://archive.ubuntu.com utopic-updates/universe Translation-en
Err http://archive.ubuntu.com utopic/main amd64 Packages
  404  Not Found [IP: 91.189.91.24 80]
Err http://archive.ubuntu.com utopic/universe amd64 Packages
  404  Not Found [IP: 91.189.91.24 80]
Err http://archive.ubuntu.com utopic-updates/main amd64 Packages
  404  Not Found [IP: 91.189.91.24 80]
Err http://archive.ubuntu.com utopic-updates/universe amd64 Packages
  404  Not Found [IP: 91.189.91.24 80]
W: Failed to fetch http://security.ubuntu.com/ubuntu/dists/utopic-security/main/source/Sources  404  Not Found [IP: 91.189.91.13 80]

W: Failed to fetch http://security.ubuntu.com/ubuntu/dists/utopic-security/universe/source/Sources  404  Not Found [IP: 91.189.91.13 80]

W: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/utopic/main/source/Sources  404  Not Found [IP: 91.189.91.24 80]

W: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/utopic/universe/source/Sources  404  Not Found [IP: 91.189.91.24 80]

W: Failed to fetch http://security.ubuntu.com/ubuntu/dists/utopic-security/main/binary-amd64/Packages  404  Not Found [IP: 91.189.91.13 80]

W: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/utopic-updates/main/source/Sources  404  Not Found [IP: 91.189.91.24 80]

W: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/utopic-updates/universe/source/Sources  404  Not Found [IP: 91.189.91.24 80]

W: Failed to fetch http://security.ubuntu.com/ubuntu/dists/utopic-security/universe/binary-amd64/Packages  404  Not Found [IP: 91.189.91.13 80]

W: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/utopic/main/binary-amd64/Packages  404  Not Found [IP: 91.189.91.24 80]

W: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/utopic/universe/binary-amd64/Packages  404  Not Found [IP: 91.189.91.24 80]

W: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/utopic-updates/main/binary-amd64/Packages  404  Not Found [IP: 91.189.91.24 80]

W: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/utopic-updates/universe/binary-amd64/Packages  404  Not Found [IP: 91.189.91.24 80]

E: Some index files failed to download. They have been ignored, or old ones used instead.


我做了一些研究,但找不到真正的解决方案。 谢谢!

编辑 1: 我尝试安装的所有东西都会给我这个 404 Not Found [IP: 91.189.88.149 80] 错误。它无法在 ubuntu 网站上找到某些文件。

您可能想要编辑 /etc/apt/sources.list 并替换所有出现的“archive.”或“security." 在定义的 URL 中由 "old-archives." - 然后 运行 sudo apt-get update 它应该可以正常工作。

Source for this advice