错误:安装 ubuntu 14.1 后,sudo apt-get update 中某些索引文件下载失败

错误:安装 ubuntu 14.1 后,sudo apt-get update 中某些索引文件下载失败

我是 ubuntu 新手。我刚刚安装了 ubuntu 14.1 和 windows 10。我安装了 64 位 amd-64(ubuntu)。当我尝试安装 Git 或 Java 或任何软件时,我需要输入命令sudo apt-get update。但它会获取很多东西并在中途停止并出现一些错误,如下所示

    Ign http://in.archive.ubuntu.com utopic-updates/main Translation-en_IN
Ign http://in.archive.ubuntu.com utopic-updates/main Translation-en
Ign http://in.archive.ubuntu.com utopic-updates/multiverse Translation-en_IN
Ign http://in.archive.ubuntu.com utopic-updates/multiverse Translation-en
Ign http://in.archive.ubuntu.com utopic-updates/restricted Translation-en_IN
Ign http://in.archive.ubuntu.com utopic-updates/restricted Translation-en
Ign http://in.archive.ubuntu.com utopic-updates/universe Translation-en_IN
Ign http://in.archive.ubuntu.com utopic-updates/universe Translation-en
Err http://in.archive.ubuntu.com utopic-backports/restricted Sources
  404  Not Found [IP: 2001:67c:1560:8001::11 80]
Err http://in.archive.ubuntu.com utopic-backports/universe Sources
  404  Not Found [IP: 2001:67c:1560:8001::11 80]
Err http://in.archive.ubuntu.com utopic-backports/multiverse Sources
  404  Not Found [IP: 2001:67c:1560:8001::11 80]
Err http://in.archive.ubuntu.com utopic-backports/main Sources
  404  Not Found [IP: 2001:67c:1560:8001::11 80]
Err http://in.archive.ubuntu.com utopic-backports/restricted amd64 Packages
  404  Not Found [IP: 2001:67c:1560:8001::11 80]
Err http://in.archive.ubuntu.com utopic-backports/universe amd64 Packages
  404  Not Found [IP: 2001:67c:1560:8001::11 80]
Err http://in.archive.ubuntu.com utopic-backports/multiverse amd64 Packages
  404  Not Found [IP: 2001:67c:1560:8001::11 80]
Err http://in.archive.ubuntu.com utopic-backports/main amd64 Packages
  404  Not Found [IP: 2001:67c:1560:8001::11 80]
Err http://in.archive.ubuntu.com utopic-backports/restricted i386 Packages
  404  Not Found [IP: 2001:67c:1560:8001::11 80]
Err http://in.archive.ubuntu.com utopic-backports/universe i386 Packages
  404  Not Found [IP: 2001:67c:1560:8001::11 80]
Err http://in.archive.ubuntu.com utopic-backports/multiverse i386 Packages
  404  Not Found [IP: 2001:67c:1560:8001::11 80]
Err http://in.archive.ubuntu.com utopic-backports/main i386 Packages
  404  Not Found [IP: 2001:67c:1560:8001::11 80]
Ign http://in.archive.ubuntu.com utopic-backports/main Translation-en_IN
Ign http://in.archive.ubuntu.com utopic-backports/main Translation-en
Ign http://in.archive.ubuntu.com utopic-backports/multiverse Translation-en_IN
Ign http://in.archive.ubuntu.com utopic-backports/multiverse Translation-en
Ign http://in.archive.ubuntu.com utopic-backports/restricted Translation-en_IN
Ign http://in.archive.ubuntu.com utopic-backports/restricted Translation-en
Ign http://in.archive.ubuntu.com utopic-backports/universe Translation-en_IN
Ign http://in.archive.ubuntu.com utopic-backports/universe Translation-en
W: Failed to fetch http://security.ubuntu.com/ubuntu/dists/utopic-security/restricted/source/Sources  404  Not Found [IP: 2001:67c:1562::16 80]

W: Failed to fetch http://security.ubuntu.com/ubuntu/dists/utopic-security/main/source/Sources  404  Not Found [IP: 2001:67c:1562::16 80]

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

W: Failed to fetch http://security.ubuntu.com/ubuntu/dists/utopic-security/multiverse/source/Sources  404  Not Found [IP: 2001:67c:1562::16 80]

W: Failed to fetch http://security.ubuntu.com/ubuntu/dists/utopic-security/restricted/binary-amd64/Packages  404  Not Found [IP: 2001:67c:1562::16 80]

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

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

W: Failed to fetch http://security.ubuntu.com/ubuntu/dists/utopic-security/multiverse/binary-amd64/Packages  404  Not Found [IP: 2001:67c:1562::16 80]

W: Failed to fetch http://security.ubuntu.com/ubuntu/dists/utopic-security/restricted/binary-i386/Packages  404  Not Found [IP: 2001:67c:1562::16 80]

W: Failed to fetch http://security.ubuntu.com/ubuntu/dists/utopic-security/main/binary-i386/Packages  404  Not Found [IP: 2001:67c:1562::16 80]

W: Failed to fetch http://security.ubuntu.com/ubuntu/dists/utopic-security/universe/binary-i386/Packages  404  Not Found [IP: 2001:67c:1562::16 80]

W: Failed to fetch http://security.ubuntu.com/ubuntu/dists/utopic-security/multiverse/binary-i386/Packages  404  Not Found [IP: 2001:67c:1562::16 80]

W: Failed to fetch http://in.archive.ubuntu.com/ubuntu/dists/utopic/restricted/source/Sources  404  Not Found [IP: 2001:67c:1560:8001::11 80]

W: Failed to fetch http://in.archive.ubuntu.com/ubuntu/dists/utopic/main/source/Sources  404  Not Found [IP: 2001:67c:1560:8001::11 80]

W: Failed to fetch http://in.archive.ubuntu.com/ubuntu/dists/utopic/universe/source/Sources  404  Not Found [IP: 2001:67c:1560:8001::11 80]

W: Failed to fetch http://in.archive.ubuntu.com/ubuntu/dists/utopic/multiverse/source/Sources  404  Not Found [IP: 2001:67c:1560:8001::11 80]

W: Failed to fetch http://in.archive.ubuntu.com/ubuntu/dists/utopic/restricted/binary-amd64/Packages  404  Not Found [IP: 2001:67c:1560:8001::11 80]

W: Failed to fetch http://in.archive.ubuntu.com/ubuntu/dists/utopic/main/binary-amd64/Packages  404  Not Found [IP: 2001:67c:1560:8001::11 80]

W: Failed to fetch http://in.archive.ubuntu.com/ubuntu/dists/utopic/universe/binary-amd64/Packages  404  Not Found [IP: 2001:67c:1560:8001::11 80]

W: Failed to fetch http://in.archive.ubuntu.com/ubuntu/dists/utopic/multiverse/binary-amd64/Packages  404  Not Found [IP: 2001:67c:1560:8001::11 80]

W: Failed to fetch http://in.archive.ubuntu.com/ubuntu/dists/utopic/restricted/binary-i386/Packages  404  Not Found [IP: 2001:67c:1560:8001::11 80]

W: Failed to fetch http://in.archive.ubuntu.com/ubuntu/dists/utopic/main/binary-i386/Packages  404  Not Found [IP: 2001:67c:1560:8001::11 80]

W: Failed to fetch http://in.archive.ubuntu.com/ubuntu/dists/utopic/universe/binary-i386/Packages  404  Not Found [IP: 2001:67c:1560:8001::11 80]

W: Failed to fetch http://in.archive.ubuntu.com/ubuntu/dists/utopic/multiverse/binary-i386/Packages  404  Not Found [IP: 2001:67c:1560:8001::11 80]

W: Failed to fetch http://in.archive.ubuntu.com/ubuntu/dists/utopic-updates/restricted/source/Sources  404  Not Found [IP: 2001:67c:1560:8001::11 80]

W: Failed to fetch http://in.archive.ubuntu.com/ubuntu/dists/utopic-updates/main/source/Sources  404  Not Found [IP: 2001:67c:1560:8001::11 80]

W: Failed to fetch http://in.archive.ubuntu.com/ubuntu/dists/utopic-updates/universe/source/Sources  404  Not Found [IP: 2001:67c:1560:8001::11 80]

W: Failed to fetch http://in.archive.ubuntu.com/ubuntu/dists/utopic-updates/multiverse/source/Sources  404  Not Found [IP: 2001:67c:1560:8001::11 80]

W: Failed to fetch http://in.archive.ubuntu.com/ubuntu/dists/utopic-updates/restricted/binary-amd64/Packages  404  Not Found [IP: 2001:67c:1560:8001::11 80]

W: Failed to fetch http://in.archive.ubuntu.com/ubuntu/dists/utopic-updates/main/binary-amd64/Packages  404  Not Found [IP: 2001:67c:1560:8001::11 80]

W: Failed to fetch http://in.archive.ubuntu.com/ubuntu/dists/utopic-updates/universe/binary-amd64/Packages  404  Not Found [IP: 2001:67c:1560:8001::11 80]

W: Failed to fetch http://in.archive.ubuntu.com/ubuntu/dists/utopic-updates/multiverse/binary-amd64/Packages  404  Not Found [IP: 2001:67c:1560:8001::11 80]

W: Failed to fetch http://in.archive.ubuntu.com/ubuntu/dists/utopic-updates/restricted/binary-i386/Packages  404  Not Found [IP: 2001:67c:1560:8001::11 80]

W: Failed to fetch http://in.archive.ubuntu.com/ubuntu/dists/utopic-updates/main/binary-i386/Packages  404  Not Found [IP: 2001:67c:1560:8001::11 80]

W: Failed to fetch http://in.archive.ubuntu.com/ubuntu/dists/utopic-updates/universe/binary-i386/Packages  404  Not Found [IP: 2001:67c:1560:8001::11 80]

W: Failed to fetch http://in.archive.ubuntu.com/ubuntu/dists/utopic-updates/multiverse/binary-i386/Packages  404  Not Found [IP: 2001:67c:1560:8001::11 80]

W: Failed to fetch http://in.archive.ubuntu.com/ubuntu/dists/utopic-backports/restricted/source/Sources  404  Not Found [IP: 2001:67c:1560:8001::11 80]

W: Failed to fetch http://in.archive.ubuntu.com/ubuntu/dists/utopic-backports/universe/source/Sources  404  Not Found [IP: 2001:67c:1560:8001::11 80]

W: Failed to fetch http://in.archive.ubuntu.com/ubuntu/dists/utopic-backports/multiverse/source/Sources  404  Not Found [IP: 2001:67c:1560:8001::11 80]

W: Failed to fetch http://in.archive.ubuntu.com/ubuntu/dists/utopic-backports/main/source/Sources  404  Not Found [IP: 2001:67c:1560:8001::11 80]

W: Failed to fetch http://in.archive.ubuntu.com/ubuntu/dists/utopic-backports/restricted/binary-amd64/Packages  404  Not Found [IP: 2001:67c:1560:8001::11 80]

W: Failed to fetch http://in.archive.ubuntu.com/ubuntu/dists/utopic-backports/universe/binary-amd64/Packages  404  Not Found [IP: 2001:67c:1560:8001::11 80]

W: Failed to fetch http://in.archive.ubuntu.com/ubuntu/dists/utopic-backports/multiverse/binary-amd64/Packages  404  Not Found [IP: 2001:67c:1560:8001::11 80]

W: Failed to fetch http://in.archive.ubuntu.com/ubuntu/dists/utopic-backports/main/binary-amd64/Packages  404  Not Found [IP: 2001:67c:1560:8001::11 80]

W: Failed to fetch http://in.archive.ubuntu.com/ubuntu/dists/utopic-backports/restricted/binary-i386/Packages  404  Not Found [IP: 2001:67c:1560:8001::11 80]

W: Failed to fetch http://in.archive.ubuntu.com/ubuntu/dists/utopic-backports/universe/binary-i386/Packages  404  Not Found [IP: 2001:67c:1560:8001::11 80]

W: Failed to fetch http://in.archive.ubuntu.com/ubuntu/dists/utopic-backports/multiverse/binary-i386/Packages  404  Not Found [IP: 2001:67c:1560:8001::11 80]

W: Failed to fetch http://in.archive.ubuntu.com/ubuntu/dists/utopic-backports/main/binary-i386/Packages  404  Not Found [IP: 2001:67c:1560:8001::11 80]

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

我已经看到了很多解决方案,但都没有用。请帮我找到可能的解决方案。提前谢谢

答案1

Ubuntu Utopic Unicorn 是生命尽头,不再支持。它已经停产两年多了。

从镜像中删除存储库是为了节省磁盘空间,因为无论如何都不会添加新的更新。

解决方案是更新到较新的版本,可以使用图形工具,也可以sudo do-release-upgrade在终端中执行。一个好的选择可能是重新安装较新的版本,因为这可能花费的时间更少。

如果您想要一个长期支持的环境,请考虑支持五年的 LTS 版本,而不是支持十个月的常规版本。

要成功地从 Utopic 更新到当前版本,请/etc/apt/sources.list以 root 身份使用您最喜欢的编辑器编辑您的。

替换http://in.archive.ubuntu.com/ubuntuhttp://old-releases.ubuntu.com/ubuntu。完成此操作后,运行sudo apt-get update,然后您就可以尝试sudo do-release-upgrade

当前的 LTS 16.04 预计将于 2021 年终止使用。

相关内容