E:某些索引文件无法下载。它们被忽略了,或者使用了旧的

时间:2016-11-09 10:53:19

标签: linux debian

我在ubuntu 14.04中尝试修改软件和更新中的服务器我失败了,当我尝试更新时#39; sudo apt-get update'我收到了这个错误

W: Failed to fetch http://ppa.launchpad.net/ripps818/coreavc/ubuntu/dists/trusty/main/binary-i386/Packages  404  Not Found

W: Failed to fetch http://ubuntu.mirror.tn/dists/trusty/main/binary-amd64/Packages  404  Not Found

W: Failed to fetch http://ubuntu.mirror.tn/dists/trusty/universe/binary-amd64/Packages  404  Not Found

W: Failed to fetch http://ubuntu.mirror.tn/dists/trusty/restricted/binary-amd64/Packages  404  Not Found

W: Failed to fetch http://ubuntu.mirror.tn/dists/trusty/multiverse/binary-amd64/Packages  404  Not Found

W: Failed to fetch http://ubuntu.mirror.tn/dists/trusty/main/binary-i386/Packages  404  Not Found

W: Failed to fetch http://ubuntu.mirror.tn/dists/trusty/universe/binary-i386/Packages  404  Not Found

W: Failed to fetch http://ubuntu.mirror.tn/dists/trusty/restricted/binary-i386/Packages  404  Not Found

W: Failed to fetch   http://ubuntu.mirror.tn/dists/trusty/multiverse/binary-i386/Packages  404  Not Found

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

有什么帮助吗?

1 个答案:

答案 0 :(得分:2)

尝试一下:

sudo su cd /var/lib/apt/lists/ rm -fr * cd /etc/apt/sources.list.d/ rm -fr * cd /etc/apt sudo cp sources.list sources.list.old sudo cp sources.list sources.list.tmp sed 's/ubuntuarchive.hnsdc.com/us.archive.ubuntu.com/' sources.list.tmp | sudo tee sources.list sudo rm sources.list.tmp* apt-get clean apt-get update