更新过程中出错

更新过程中出错

当我尝试更新我的 14.04 ubuntu 时

A problem occurred during the update. 
This is usually some sort of network problem, 
please check your network connection and retry.
W:Failed to fetch http://it.archive.ubuntu.com/ubuntu/dists/natty-backports/main/source/Sources  404  Not Found [IP: 193.206.139.34 80]
, W:Failed to fetch http://it.archive.ubuntu.com/ubuntu/dists/natty-backports/restricted/source/Sources  404  Not Found [IP: 193.206.139.34 80]
, W:Failed to fetch http://it.archive.ubuntu.com/ubuntu/dists/natty-backports/universe/source/Sources  404  Not Found [IP: 193.206.139.34 80]
, W:Failed to fetch http://it.archive.ubuntu.com/ubuntu/dists/natty-backports/multiverse/source/Sources  404  Not Found [IP: 193.206.139.34 80]
, E:Some index files failed to download. They have been ignored, or old ones used instead.

我几年前用 11.04 磁盘安装了它,我认为它在 EOL 更新方面存在一些问题...有人知道如何修复它吗?

谢谢!!

答案1

您必须先删除旧的 apt列表来自此路径的文件:

/var/lib/apt/lists/

然后更新apt:

sudo apt-get update

相关内容