更新期間出錯

更新期間出錯

當我嘗試更新我的 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

相關內容