ubuntu下sudo apt-get update Sources 404 Not Found [IP: 91.189.92.200 80]解决办法
2015-05-19 20:39
661 查看
原文地址:/article/8447948.html
最近在ubuntu 10.04下面装了一个虚拟机,在虚拟机里面又装了11.04的ubuntu,装好后用apt get install 出现Unable to locate packag错误,上网上查了下,说是要sudo apt-get update 就可以了,但是本地执行sudo apt-get update 命令后出现了如下错误:
[html] view
plaincopy
Ign http://extras.ubuntu.com natty/main TranslationIndex
Err http://extras.ubuntu.com natty/main Sources
404 Not Found
Err http://extras.ubuntu.com natty/main i386 Packages
404 Not Found
Ign http://extras.ubuntu.com natty/main Translation-en_US
Err http://security.ubuntu.com natty-security/universe Sources
404 Not Found [IP: 91.189.92.200 80]
Err http://security.ubuntu.com natty-security/multiverse Sources
404 Not Found [IP: 91.189.92.200 80]
Ign http://extras.ubuntu.com natty/main Translation-en
Err http://security.ubuntu.com natty-security/universe i386 Packages
404 Not Found [IP: 91.189.92.200 80]
Err http://security.ubuntu.com natty-security/multiverse i386 Packages
404 Not Found [IP: 91.189.92.200 80]
Err http://security.ubuntu.com natty-security/main Sources
404 Not Found [IP: 91.189.92.200 80]
Err http://security.ubuntu.com natty-security/restricted Sources
404 Not Found [IP: 91.189.92.200 80]
Err http://security.ubuntu.com natty-security/main i386 Packages
404 Not Found [IP: 91.189.92.200 80]
Err http://security.ubuntu.com natty-security/restricted i386 Packages
404 Not Found [IP: 91.189.92.200 80]
Ign http://security.ubuntu.com natty-security/main Translation-en_US
Ign http://security.ubuntu.com natty-security/main Translation-en
Ign http://security.ubuntu.com natty-security/multiverse Translation-en_US
Ign http://security.ubuntu.com natty-security/multiverse Translation-en
Ign http://security.ubuntu.com natty-security/restricted Translation-en_US
Ign http://security.ubuntu.com natty-security/restricted Translation-en
Ign http://security.ubuntu.com natty-security/universe Translation-en_US
Ign http://security.ubuntu.com natty-security/universe Translation-en
W: Failed to fetch http://cn.archive.ubuntu.com/ubuntu/dists/natty/main/source/Sources 404 Not Found
W: Failed to fetch http://cn.archive.ubuntu.com/ubuntu/dists/natty/restricted/source/Sources 404 Not Found
W: Failed to fetch http://cn.archive.ubuntu.com/ubuntu/dists/natty/universe/source/Sources 404 Not Found
W: Failed to fetch http://cn.archive.ubuntu.com/ubuntu/dists/natty/multiverse/source/Sources 404 Not Found
W: Failed to fetch http://cn.archive.ubuntu.com/ubuntu/dists/natty/main/binary-i386/Packages 404 Not Found
W: Failed to fetch http://cn.archive.ubuntu.com/ubuntu/dists/natty/restricted/binary-i386/Packages 404 Not Found
W: Failed to fetch http://cn.archive.ubuntu.com/ubuntu/dists/natty/universe/binary-i386/Packages 404 Not Found
W: Failed to fetch http://cn.archive.ubuntu.com/ubuntu/dists/natty/multiverse/binary-i386/Packages 404 Not Found
W: Failed to fetch http://cn.archive.ubuntu.com/ubuntu/dists/natty-updates/main/source/Sources 404 Not Found
W: Failed to fetch http://cn.archive.ubuntu.com/ubuntu/dists/natty-updates/restricted/source/Sources 404 Not Found
W: Failed to fetch http://cn.archive.ubuntu.com/ubuntu/dists/natty-updates/universe/source/Sources 404 Not Found
W: Failed to fetch http://cn.archive.ubuntu.com/ubuntu/dists/natty-updates/multiverse/source/Sources 404 Not Found
W: Failed to fetch http://cn.archive.ubuntu.com/ubuntu/dists/natty-updates/main/binary-i386/Packages 404 Not Found
W: Failed to fetch http://cn.archive.ubuntu.com/ubuntu/dists/natty-updates/restricted/binary-i386/Packages 404 Not Found
W: Failed to fetch http://cn.archive.ubuntu.com/ubuntu/dists/natty-updates/universe/binary-i386/Packages 404 Not Found
W: Failed to fetch http://cn.archive.ubuntu.com/ubuntu/dists/natty-updates/multiverse/binary-i386/Packages 404 Not Found
W: Failed to fetch http://security.ubuntu.com/ubuntu/dists/natty-security/universe/source/Sources 404 Not Found [IP: 91.189.92.200 80]
W: Failed to fetch http://security.ubuntu.com/ubuntu/dists/natty-security/multiverse/source/Sources 404 Not Found [IP: 91.189.92.200 80]
W: Failed to fetch http://security.ubuntu.com/ubuntu/dists/natty-security/universe/binary-i386/Packages 404 Not Found [IP: 91.189.92.200 80]
W: Failed to fetch http://security.ubuntu.com/ubuntu/dists/natty-security/multiverse/binary-i386/Packages 404 Not Found [IP: 91.189.92.200 80]
W: Failed to fetch http://security.ubuntu.com/ubuntu/dists/natty-security/main/source/Sources 404 Not Found [IP: 91.189.92.200 80]
W: Failed to fetch http://security.ubuntu.com/ubuntu/dists/natty-security/restricted/source/Sources 404 Not Found [IP: 91.189.92.200 80]
W: Failed to fetch http://security.ubuntu.com/ubuntu/dists/natty-security/main/binary-i386/Packages 404 Not Found [IP: 91.189.92.200 80]
W: Failed to fetch http://security.ubuntu.com/ubuntu/dists/natty-security/restricted/binary-i386/Packages 404 Not Found [IP: 91.189.92.200 80]
W: Failed to fetch http://extras.ubuntu.com/ubuntu/dists/natty/main/source/Sources 404 Not Found
W: Failed to fetch http://extras.ubuntu.com/ubuntu/dists/natty/main/binary-i386/Packages 404 Not Found
E: Some index files failed to download. They have been ignored, or old ones used instead.
chaihuasong@chaihuasong:~$ sudo apt-get install git
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Unable to locate package git
发现很多源找不到,需要重新寻找更新源,最后把/etc/apt/sources.list文件中的地址换成我10.04中的etc/apt/sources.list文件后再执行sudo apt-get update 后就成功了,先贴上10.04上的source.list内容,如需要,直接替换即可
发现了这个源超级快的,是网易163更新服务器,亲测可用
另外附上
搜狐更新服务器:
这个速度也非常快,国内的源就是牛x啊~~
最近在ubuntu 10.04下面装了一个虚拟机,在虚拟机里面又装了11.04的ubuntu,装好后用apt get install 出现Unable to locate packag错误,上网上查了下,说是要sudo apt-get update 就可以了,但是本地执行sudo apt-get update 命令后出现了如下错误:
[html] view
plaincopy
Ign http://extras.ubuntu.com natty/main TranslationIndex
Err http://extras.ubuntu.com natty/main Sources
404 Not Found
Err http://extras.ubuntu.com natty/main i386 Packages
404 Not Found
Ign http://extras.ubuntu.com natty/main Translation-en_US
Err http://security.ubuntu.com natty-security/universe Sources
404 Not Found [IP: 91.189.92.200 80]
Err http://security.ubuntu.com natty-security/multiverse Sources
404 Not Found [IP: 91.189.92.200 80]
Ign http://extras.ubuntu.com natty/main Translation-en
Err http://security.ubuntu.com natty-security/universe i386 Packages
404 Not Found [IP: 91.189.92.200 80]
Err http://security.ubuntu.com natty-security/multiverse i386 Packages
404 Not Found [IP: 91.189.92.200 80]
Err http://security.ubuntu.com natty-security/main Sources
404 Not Found [IP: 91.189.92.200 80]
Err http://security.ubuntu.com natty-security/restricted Sources
404 Not Found [IP: 91.189.92.200 80]
Err http://security.ubuntu.com natty-security/main i386 Packages
404 Not Found [IP: 91.189.92.200 80]
Err http://security.ubuntu.com natty-security/restricted i386 Packages
404 Not Found [IP: 91.189.92.200 80]
Ign http://security.ubuntu.com natty-security/main Translation-en_US
Ign http://security.ubuntu.com natty-security/main Translation-en
Ign http://security.ubuntu.com natty-security/multiverse Translation-en_US
Ign http://security.ubuntu.com natty-security/multiverse Translation-en
Ign http://security.ubuntu.com natty-security/restricted Translation-en_US
Ign http://security.ubuntu.com natty-security/restricted Translation-en
Ign http://security.ubuntu.com natty-security/universe Translation-en_US
Ign http://security.ubuntu.com natty-security/universe Translation-en
W: Failed to fetch http://cn.archive.ubuntu.com/ubuntu/dists/natty/main/source/Sources 404 Not Found
W: Failed to fetch http://cn.archive.ubuntu.com/ubuntu/dists/natty/restricted/source/Sources 404 Not Found
W: Failed to fetch http://cn.archive.ubuntu.com/ubuntu/dists/natty/universe/source/Sources 404 Not Found
W: Failed to fetch http://cn.archive.ubuntu.com/ubuntu/dists/natty/multiverse/source/Sources 404 Not Found
W: Failed to fetch http://cn.archive.ubuntu.com/ubuntu/dists/natty/main/binary-i386/Packages 404 Not Found
W: Failed to fetch http://cn.archive.ubuntu.com/ubuntu/dists/natty/restricted/binary-i386/Packages 404 Not Found
W: Failed to fetch http://cn.archive.ubuntu.com/ubuntu/dists/natty/universe/binary-i386/Packages 404 Not Found
W: Failed to fetch http://cn.archive.ubuntu.com/ubuntu/dists/natty/multiverse/binary-i386/Packages 404 Not Found
W: Failed to fetch http://cn.archive.ubuntu.com/ubuntu/dists/natty-updates/main/source/Sources 404 Not Found
W: Failed to fetch http://cn.archive.ubuntu.com/ubuntu/dists/natty-updates/restricted/source/Sources 404 Not Found
W: Failed to fetch http://cn.archive.ubuntu.com/ubuntu/dists/natty-updates/universe/source/Sources 404 Not Found
W: Failed to fetch http://cn.archive.ubuntu.com/ubuntu/dists/natty-updates/multiverse/source/Sources 404 Not Found
W: Failed to fetch http://cn.archive.ubuntu.com/ubuntu/dists/natty-updates/main/binary-i386/Packages 404 Not Found
W: Failed to fetch http://cn.archive.ubuntu.com/ubuntu/dists/natty-updates/restricted/binary-i386/Packages 404 Not Found
W: Failed to fetch http://cn.archive.ubuntu.com/ubuntu/dists/natty-updates/universe/binary-i386/Packages 404 Not Found
W: Failed to fetch http://cn.archive.ubuntu.com/ubuntu/dists/natty-updates/multiverse/binary-i386/Packages 404 Not Found
W: Failed to fetch http://security.ubuntu.com/ubuntu/dists/natty-security/universe/source/Sources 404 Not Found [IP: 91.189.92.200 80]
W: Failed to fetch http://security.ubuntu.com/ubuntu/dists/natty-security/multiverse/source/Sources 404 Not Found [IP: 91.189.92.200 80]
W: Failed to fetch http://security.ubuntu.com/ubuntu/dists/natty-security/universe/binary-i386/Packages 404 Not Found [IP: 91.189.92.200 80]
W: Failed to fetch http://security.ubuntu.com/ubuntu/dists/natty-security/multiverse/binary-i386/Packages 404 Not Found [IP: 91.189.92.200 80]
W: Failed to fetch http://security.ubuntu.com/ubuntu/dists/natty-security/main/source/Sources 404 Not Found [IP: 91.189.92.200 80]
W: Failed to fetch http://security.ubuntu.com/ubuntu/dists/natty-security/restricted/source/Sources 404 Not Found [IP: 91.189.92.200 80]
W: Failed to fetch http://security.ubuntu.com/ubuntu/dists/natty-security/main/binary-i386/Packages 404 Not Found [IP: 91.189.92.200 80]
W: Failed to fetch http://security.ubuntu.com/ubuntu/dists/natty-security/restricted/binary-i386/Packages 404 Not Found [IP: 91.189.92.200 80]
W: Failed to fetch http://extras.ubuntu.com/ubuntu/dists/natty/main/source/Sources 404 Not Found
W: Failed to fetch http://extras.ubuntu.com/ubuntu/dists/natty/main/binary-i386/Packages 404 Not Found
E: Some index files failed to download. They have been ignored, or old ones used instead.
chaihuasong@chaihuasong:~$ sudo apt-get install git
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Unable to locate package git
发现很多源找不到,需要重新寻找更新源,最后把/etc/apt/sources.list文件中的地址换成我10.04中的etc/apt/sources.list文件后再执行sudo apt-get update 后就成功了,先贴上10.04上的source.list内容,如需要,直接替换即可
deb http://mirrors.163.com/ubuntu/ lucid main restricted universe multiverse deb http://mirrors.163.com/ubuntu/ lucid-security main restricted universe multiverse deb http://mirrors.163.com/ubuntu/ lucid-updates main restricted universe multiverse deb http://mirrors.163.com/ubuntu/ lucid-proposed main restricted universe multiverse deb http://mirrors.163.com/ubuntu/ lucid-backports main restricted universe multiverse deb-src http://mirrors.163.com/ubuntu/ lucid main restricted universe multiverse deb-src http://mirrors.163.com/ubuntu/ lucid-security main restricted universe multiverse deb-src http://mirrors.163.com/ubuntu/ lucid-updates main restricted universe multiverse deb-src http://mirrors.163.com/ubuntu/ lucid-proposed main restricted universe multiverse deb-src http://mirrors.163.com/ubuntu/ lucid-backports main restricted universe multiverse
发现了这个源超级快的,是网易163更新服务器,亲测可用
另外附上
搜狐更新服务器:
deb http://mirrors.sohu.com/ubuntu/ lucid main restricted universe multiverse deb http://mirrors.sohu.com/ubuntu/ lucid-security main restricted universe multiverse deb http://mirrors.sohu.com/ubuntu/ lucid-updates main restricted universe multiverse deb http://mirrors.sohu.com/ubuntu/ lucid-proposed main restricted universe multiverse deb http://mirrors.sohu.com/ubuntu/ lucid-backports main restricted universe multiverse deb-src http://mirrors.sohu.com/ubuntu/ lucid main restricted universe multiverse deb-src http://mirrors.sohu.com/ubuntu/ lucid-security main restricted universe multiverse deb-src http://mirrors.sohu.com/ubuntu/ lucid-updates main restricted universe multiverse deb-src http://mirrors.sohu.com/ubuntu/ lucid-proposed main restricted universe multiverse deb-src http://mirrors.sohu.com/ubuntu/ lucid-backports main restricted universe multiverse
这个速度也非常快,国内的源就是牛x啊~~
相关文章推荐
- ubuntu下sudo apt-get update Sources 404 Not Found [IP: 91.189.92.200 80]解决办法
- ubuntu下sudo apt-get update Sources 404 Not Found [IP: 91.189.92.200 80]解决办法
- ubuntu下sudo apt-get update Sources 404 Not Found 解决方法
- ubuntu下sudo apt-get update Sources 404 Not Found [IP: 91.189.92.200 80]解决办法
- Ubuntu 解决:当执行`sudo apt-get update`命令时 出现的 “apt-get 404 Not Found Package Repository Errors” 问题
- Ubuntu 解决:当执行`sudo apt-get update`命令时 出现的 “apt-get 404 Not Found Package Repository Errors” 问题
- ubuntu执行sudo apt-get update很慢解决办法
- Ubuntu中sudo apt-get update很慢解决办法
- Ubuntu中sudo apt-get update很慢解决办法
- ubuntu sudo apt-get update 失败 解决方法
- Ubuntu下sudo apt-get install vim 失败的解决办法
- Ubuntu用sudo apt-get install时出现“Failed to fetch”的解决办法
- ubuntu 使用sudo apt-get update 出现 被配置多次导致无法升级错误解决方法
- ubuntu apt-get update 提示签名无效的解决办法
- sudo apt-get install openssh-server 需要安装 sudo apt-get update 404错误解决办法 The authenticity of
- ubuntu16.04使用sudo apt-get autoremove导致系统崩溃的解决办法
- apt-get update 失败,提示binary-arm64/Packages 404 Not Found 失败解决方法
- ubuntu apt-get update 更新源失败的解决办法
- ubuntu更新apt-get update时的索引文件获取错误解决办法
- 关于Ubuntu sudo apt-get update失败的解决