apt-get update: "E: Some index files failed to download."

人氣點閱:9536
發表人
apt-get update: "E: Some index files failed to download." 2015-01-23 20:28
/ / /

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





Solution:
(1) sudo vim /etc/apt/sources.list
(2) Change all 404 Not found address to US archive
e.g. tw.archive.ubuntu.com --> change to --> us.archive.ubuntu.com
(3) save and quit vim
(4) run sudo apt-get update again



代碼:


http://tw.archive.ubuntu.com trusty/universe Translation-en_US
Get:6 http://tw.archive.ubuntu.com trusty/universe Translation-en [5,063 kB]
Fetched 11.0 MB in 6min 8s (29.9 kB/s)
W: Failed to fetch http://tw.archive.ubuntu.com/ubuntu/dists/trusty/multiverse/binary-amd64/Packages  404  Not Found [IP: 120.119.118.1 80]

W: Failed to fetch http://tw.archive.ubuntu.com/ubuntu/dists/trusty/main/binary-i386/Packages  404  Not Found [IP: 120.119.118.1 80]

W: Failed to fetch http://tw.archive.ubuntu.com/ubuntu/dists/trusty/restricted/binary-i386/Packages  404  Not Found [IP: 120.119.118.1 80]

W: Failed to fetch http://tw.archive.ubuntu.com/ubuntu/dists/trusty/universe/binary-i386/Packages  404  Not Found [IP: 120.119.118.1 80]

W: Failed to fetch http://tw.archive.ubuntu.com/ubuntu/dists/trusty/multiverse/binary-i386/Packages  404  Not Found [IP: 120.119.118.1 80]

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

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

W: Failed to fetch http://tw.archive.ubuntu.com/ubuntu/dists/trusty-updates/multiverse/source/Sources  404  Not Found [IP: 120.119.118.1 80]

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

W: Failed to fetch http://tw.archive.ubuntu.com/ubuntu/dists/trusty-updates/restricted/binary-amd64/Packages  404  Not Found [IP: 120.119.118.1 80]

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

W: Failed to fetch http://tw.archive.ubuntu.com/ubuntu/dists/trusty-updates/multiverse/binary-amd64/Packages  404  Not Found [IP: 120.119.118.1 80]

W: Failed to fetch http://tw.archive.ubuntu.com/ubuntu/dists/trusty-updates/main/binary-i386/Packages  404  Not Found [IP: 120.119.118.1 80]

W: Failed to fetch http://tw.archive.ubuntu.com/ubuntu/dists/trusty-updates/restricted/binary-i386/Packages  404  Not Found [IP: 120.119.118.1 80]

W: Failed to fetch http://tw.archive.ubuntu.com/ubuntu/dists/trusty-updates/universe/binary-i386/Packages  404  Not Found [IP: 120.119.118.1 80]

W: Failed to fetch http://tw.archive.ubuntu.com/ubuntu/dists/trusty-updates/multiverse/binary-i386/Packages  404  Not Found [IP: 120.119.118.1 80]

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


________________

美術插畫設計案子報價系統 v0.1 Beta
爪哇禾雀