Chinaunix首页 | 论坛 | 博客
  • 博客访问: 1172493
  • 博文数量: 115
  • 博客积分: 950
  • 博客等级: 准尉
  • 技术积分: 1734
  • 用 户 组: 普通用户
  • 注册时间: 2011-12-08 20:46
文章分类

全部博文(115)

文章存档

2015年(5)

2014年(28)

2013年(42)

2012年(40)

分类: LINUX

2013-10-08 18:24:46

默认的官方源:

点击(此处)折叠或打开

  1. # See http://help.ubuntu.com/community/UpgradeNotes for how to upgrade to
  2. # newer versions of the distribution.
  3. deb http://us.archive.ubuntu.com/ubuntu/ precise main restricted
  4. deb-src http://us.archive.ubuntu.com/ubuntu/ precise main restricted
  5.  
  6. ## Major bug fix updates produced after the final release of the
  7. ## distribution.
  8. deb http://us.archive.ubuntu.com/ubuntu/ precise-updates main restricted
  9. deb-src http://us.archive.ubuntu.com/ubuntu/ precise-updates main restricted
  10.  
  11. ## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu
  12. ## team. Also, please note that software in universe WILL NOT receive any
  13. ## review or updates from the Ubuntu security team.
  14. deb http://us.archive.ubuntu.com/ubuntu/ precise universe
  15. deb-src http://us.archive.ubuntu.com/ubuntu/ precise universe
  16. deb http://us.archive.ubuntu.com/ubuntu/ precise-updates universe
  17. deb-src http://us.archive.ubuntu.com/ubuntu/ precise-updates universe
  18.  
  19. ## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu
  20. ## team, and may not be under a free licence. Please satisfy yourself as to
  21. ## your rights to use the software. Also, please note that software in
  22. ## multiverse WILL NOT receive any review or updates from the Ubuntu
  23. ## security team.
  24. deb http://us.archive.ubuntu.com/ubuntu/ precise multiverse
  25. deb-src http://us.archive.ubuntu.com/ubuntu/ precise multiverse
  26. deb http://us.archive.ubuntu.com/ubuntu/ precise-updates multiverse
  27. deb-src http://us.archive.ubuntu.com/ubuntu/ precise-updates multiverse
  28.  
  29. ## N.B. software from this repository may not have been tested as
  30. ## extensively as that contained in the main release, although it includes
  31. ## newer versions of some applications which may provide useful features.
  32. ## Also, please note that software in backports WILL NOT receive any review
  33. ## or updates from the Ubuntu security team.
  34. deb http://us.archive.ubuntu.com/ubuntu/ precise-backports main restricted universe multiverse
  35. deb-src http://us.archive.ubuntu.com/ubuntu/ precise-backports main restricted universe multiverse
  36.  
  37. deb http://security.ubuntu.com/ubuntu precise-security main restricted
  38. deb-src http://security.ubuntu.com/ubuntu precise-security main restricted
  39. deb http://security.ubuntu.com/ubuntu precise-security universe
  40. deb-src http://security.ubuntu.com/ubuntu precise-security universe
  41. deb http://security.ubuntu.com/ubuntu precise-security multiverse
  42. deb-src http://security.ubuntu.com/ubuntu precise-security multiverse
  43.  
  44. ## Uncomment the following two lines to add software from Canonical's
  45. ## 'partner

台湾源:

点击(此处)折叠或打开

  1. deb http://tw.archive.ubuntu.com/ubuntu/ precise main universe restricted multiverse
  2. deb-src http://tw.archive.ubuntu.com/ubuntu/ precise main universe restricted multiverse
  3. deb http://tw.archive.ubuntu.com/ubuntu/ precise-security universe main multiverse restricted
  4. deb-src http://tw.archive.ubuntu.com/ubuntu/ precise-security universe main multiverse restricted
  5. deb http://tw.archive.ubuntu.com/ubuntu/ precise-updates universe main multiverse restricted
  6. deb-src http://tw.archive.ubuntu.com/ubuntu/ precise-updates universe main multiverse restricted

网易源(速度还可以,一般使用这个就可以了)

点击(此处)折叠或打开

  1. deb http://mirrors.163.com/ubuntu/ precise main universe restricted multiverse
  2. deb-src http://mirrors.163.com/ubuntu/ precise main universe restricted multiverse
  3. deb http://mirrors.163.com/ubuntu/ precise-security universe main multiverse restricted
  4. deb-src http://mirrors.163.com/ubuntu/ precise-security universe main multiverse restricted
  5. deb http://mirrors.163.com/ubuntu/ precise-updates universe main multiverse restricted
  6. deb http://mirrors.163.com/ubuntu/ precise-proposed universe main multiverse restricted
  7. deb-src http://mirrors.163.com/ubuntu/ precise-proposed universe main multiverse restricted
  8. deb http://mirrors.163.com/ubuntu/ precise-backports universe main multiverse restricted
  9. deb-src http://mirrors.163.com/ubuntu/ precise-backports universe main multiverse restricted
  10. deb-src http://mirrors.163.com/ubuntu/ precise-updates universe main multiverse restricted
电子科技大学:

点击(此处)折叠或打开

  1. deb http://ubuntu.uestc.edu.cn/ubuntu/ precise main restricted universe multiverse
  2. deb http://ubuntu.uestc.edu.cn/ubuntu/ precise-backports main restricted universe multiverse
  3. deb http://ubuntu.uestc.edu.cn/ubuntu/ precise-proposed main restricted universe multiverse
  4. deb http://ubuntu.uestc.edu.cn/ubuntu/ precise-security main restricted universe multiverse
  5. deb http://ubuntu.uestc.edu.cn/ubuntu/ precise-updates main restricted universe multiverse
  6. deb-src http://ubuntu.uestc.edu.cn/ubuntu/ precise main restricted universe multiverse
  7. deb-src http://ubuntu.uestc.edu.cn/ubuntu/ precise-backports main restricted universe multiverse
  8. deb-src http://ubuntu.uestc.edu.cn/ubuntu/ precise-proposed main restricted universe multiverse
  9. deb-src http://ubuntu.uestc.edu.cn/ubuntu/ precise-security main restricted universe multiverse
  10. deb-src http://ubuntu.uestc.edu.cn/ubuntu/ precise-updates main restricted universe multiverse

北京理工大学:

点击(此处)折叠或打开

  1. deb http://mirror.bjtu.edu.cn/ubuntu/ precise main multiverse restricted universe
  2. deb http://mirror.bjtu.edu.cn/ubuntu/ precise-backports main multiverse restricted universe
  3. deb http://mirror.bjtu.edu.cn/ubuntu/ precise-proposed main multiverse restricted universe
  4. deb http://mirror.bjtu.edu.cn/ubuntu/ precise-security main multiverse restricted universe
  5. deb http://mirror.bjtu.edu.cn/ubuntu/ precise-updates main multiverse restricted universe
  6. deb-src http://mirror.bjtu.edu.cn/ubuntu/ precise main multiverse restricted universe
  7. deb-src http://mirror.bjtu.edu.cn/ubuntu/ precise-backports main multiverse restricted universe
  8. deb-src http://mirror.bjtu.edu.cn/ubuntu/ precise-proposed main multiverse restricted universe
  9. deb-src http://mirror.bjtu.edu.cn/ubuntu/ precise-security main multiverse restricted universe
  10. 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) |
给主人留下些什么吧!~~