默认的官方源:
-
# See http://help.ubuntu.com/community/UpgradeNotes for how to upgrade to
-
# newer versions of the distribution.
-
deb http://us.archive.ubuntu.com/ubuntu/ precise main restricted
-
deb-src http://us.archive.ubuntu.com/ubuntu/ precise main restricted
-
-
## Major bug fix updates produced after the final release of the
-
## distribution.
-
deb http://us.archive.ubuntu.com/ubuntu/ precise-updates main restricted
-
deb-src http://us.archive.ubuntu.com/ubuntu/ precise-updates main restricted
-
-
## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu
-
## team. Also, please note that software in universe WILL NOT receive any
-
## review or updates from the Ubuntu security team.
-
deb http://us.archive.ubuntu.com/ubuntu/ precise universe
-
deb-src http://us.archive.ubuntu.com/ubuntu/ precise universe
-
deb http://us.archive.ubuntu.com/ubuntu/ precise-updates universe
-
deb-src http://us.archive.ubuntu.com/ubuntu/ precise-updates universe
-
-
## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu
-
## team, and may not be under a free licence. Please satisfy yourself as to
-
## your rights to use the software. Also, please note that software in
-
## multiverse WILL NOT receive any review or updates from the Ubuntu
-
## security team.
-
deb http://us.archive.ubuntu.com/ubuntu/ precise multiverse
-
deb-src http://us.archive.ubuntu.com/ubuntu/ precise multiverse
-
deb http://us.archive.ubuntu.com/ubuntu/ precise-updates multiverse
-
deb-src http://us.archive.ubuntu.com/ubuntu/ precise-updates multiverse
-
-
## N.B. software from this repository may not have been tested as
-
## extensively as that contained in the main release, although it includes
-
## newer versions of some applications which may provide useful features.
-
## Also, please note that software in backports WILL NOT receive any review
-
## or updates from the Ubuntu security team.
-
deb http://us.archive.ubuntu.com/ubuntu/ precise-backports main restricted universe multiverse
-
deb-src http://us.archive.ubuntu.com/ubuntu/ precise-backports main restricted universe multiverse
-
-
deb http://security.ubuntu.com/ubuntu precise-security main restricted
-
deb-src http://security.ubuntu.com/ubuntu precise-security main restricted
-
deb http://security.ubuntu.com/ubuntu precise-security universe
-
deb-src http://security.ubuntu.com/ubuntu precise-security universe
-
deb http://security.ubuntu.com/ubuntu precise-security multiverse
-
deb-src http://security.ubuntu.com/ubuntu precise-security multiverse
-
-
## Uncomment the following two lines to add software from Canonical's
-
## 'partner
台湾源:
-
deb http://tw.archive.ubuntu.com/ubuntu/ precise main universe restricted multiverse
-
deb-src http://tw.archive.ubuntu.com/ubuntu/ precise main universe restricted multiverse
-
deb http://tw.archive.ubuntu.com/ubuntu/ precise-security universe main multiverse restricted
-
deb-src http://tw.archive.ubuntu.com/ubuntu/ precise-security universe main multiverse restricted
-
deb http://tw.archive.ubuntu.com/ubuntu/ precise-updates universe main multiverse restricted
-
deb-src http://tw.archive.ubuntu.com/ubuntu/ precise-updates universe main multiverse restricted
网易源(速度还可以,一般使用这个就可以了)
-
deb http://mirrors.163.com/ubuntu/ precise main universe restricted multiverse
-
deb-src http://mirrors.163.com/ubuntu/ precise main universe restricted multiverse
-
deb http://mirrors.163.com/ubuntu/ precise-security universe main multiverse restricted
-
deb-src http://mirrors.163.com/ubuntu/ precise-security universe main multiverse restricted
-
deb http://mirrors.163.com/ubuntu/ precise-updates universe main multiverse restricted
-
deb http://mirrors.163.com/ubuntu/ precise-proposed universe main multiverse restricted
-
deb-src http://mirrors.163.com/ubuntu/ precise-proposed universe main multiverse restricted
-
deb http://mirrors.163.com/ubuntu/ precise-backports universe main multiverse restricted
-
deb-src http://mirrors.163.com/ubuntu/ precise-backports universe main multiverse restricted
-
deb-src http://mirrors.163.com/ubuntu/ precise-updates universe main multiverse restricted
电子科技大学:
-
deb http://ubuntu.uestc.edu.cn/ubuntu/ precise main restricted universe multiverse
-
deb http://ubuntu.uestc.edu.cn/ubuntu/ precise-backports main restricted universe multiverse
-
deb http://ubuntu.uestc.edu.cn/ubuntu/ precise-proposed main restricted universe multiverse
-
deb http://ubuntu.uestc.edu.cn/ubuntu/ precise-security main restricted universe multiverse
-
deb http://ubuntu.uestc.edu.cn/ubuntu/ precise-updates main restricted universe multiverse
-
deb-src http://ubuntu.uestc.edu.cn/ubuntu/ precise main restricted universe multiverse
-
deb-src http://ubuntu.uestc.edu.cn/ubuntu/ precise-backports main restricted universe multiverse
-
deb-src http://ubuntu.uestc.edu.cn/ubuntu/ precise-proposed main restricted universe multiverse
-
deb-src http://ubuntu.uestc.edu.cn/ubuntu/ precise-security main restricted universe multiverse
-
deb-src http://ubuntu.uestc.edu.cn/ubuntu/ precise-updates main restricted universe multiverse
北京理工大学:
-
deb http://mirror.bjtu.edu.cn/ubuntu/ precise main multiverse restricted universe
-
deb http://mirror.bjtu.edu.cn/ubuntu/ precise-backports main multiverse restricted universe
-
deb http://mirror.bjtu.edu.cn/ubuntu/ precise-proposed main multiverse restricted universe
-
deb http://mirror.bjtu.edu.cn/ubuntu/ precise-security main multiverse restricted universe
-
deb http://mirror.bjtu.edu.cn/ubuntu/ precise-updates main multiverse restricted universe
-
deb-src http://mirror.bjtu.edu.cn/ubuntu/ precise main multiverse restricted universe
-
deb-src http://mirror.bjtu.edu.cn/ubuntu/ precise-backports main multiverse restricted universe
-
deb-src http://mirror.bjtu.edu.cn/ubuntu/ precise-proposed main multiverse restricted universe
-
deb-src http://mirror.bjtu.edu.cn/ubuntu/ precise-security main multiverse restricted universe
-
deb-src http://mirror.bjtu.edu.cn/ubuntu/ precise-updates main multiverse restricted universe
由于“和谐”的关系,某些源在使用 "apt-get update" 时候会出现 hash error,一般
1. 换个源
2. 换个时间
3. 换个网络环境
可以缓解以上问题的出现
Ref:
阅读(6401) | 评论(0) | 转发(0) |