ubuntu有效的sourcelist配置

  1. 终端指令:
  2. #sudo gedit /etc/apt/sources.list
    Delete all item in this file, then copy the following server addresses to it (163 or Souhu):
  3. 保存退出。然后执行命令: #sudo apt-get update
  1. #网易的源(163源,无论是不是教育网,速度都很快)  
  2. deb http://mirrors.163.com/ubuntu/ quantal main universe restricted multiverse  
  3. deb-src http://mirrors.163.com/ubuntu/ quantal main universe restricted multiverse  
  4. deb http://mirrors.163.com/ubuntu/ quantal-security universe main multiverse restricted  
  5. deb-src http://mirrors.163.com/ubuntu/ quantal-security universe main multiverse restricted  
  6. deb http://mirrors.163.com/ubuntu/ quantal-updates universe main multiverse restricted  
  7. deb http://mirrors.163.com/ubuntu/ quantal-proposed universe main multiverse restricted  
  8. deb-src http://mirrors.163.com/ubuntu/ quantal-proposed universe main multiverse restricted  
  9. deb http://mirrors.163.com/ubuntu/ quantal-backports universe main multiverse restricted  
  10. deb-src http://mirrors.163.com/ubuntu/ quantal-backports universe main multiverse restricted  
  11. deb-src http://mirrors.163.com/ubuntu/ quantal-updates universe main multiverse restricted  
  12. #搜狐的源(sohu 源今天还没有更新,不过应该快了)  
  13. deb http://mirrors.sohu.com/ubuntu/ quantal main restricted  
  14. deb-src http://mirrors.sohu.com/ubuntu/ quantal main restricted  
  15. deb http://mirrors.sohu.com/ubuntu/ quantal-updates main restricted  
  16. deb-src http://mirrors.sohu.com/ubuntu/ quantal-updates main restricted  
  17. deb http://mirrors.sohu.com/ubuntu/ quantal universe  
  18. deb-src http://mirrors.sohu.com/ubuntu/ quantal universe  
  19. deb http://mirrors.sohu.com/ubuntu/ quantal-updates universe  
  20. deb-src http://mirrors.sohu.com/ubuntu/ quantal-updates universe  
  21. deb http://mirrors.sohu.com/ubuntu/ quantal multiverse  
  22. deb-src http://mirrors.sohu.com/ubuntu/ quantal multiverse  
  23. deb http://mirrors.sohu.com/ubuntu/ quantal-updates multiverse  
  24. deb-src http://mirrors.sohu.com/ubuntu/ quantal-updates multiverse  
  25. deb http://mirrors.sohu.com/ubuntu/ quantal-backports main restricted universe multiverse  
  26. deb-src http://mirrors.sohu.com/ubuntu/ quantal-backports main restricted universe multiverse  
  27. deb http://mirrors.sohu.com/ubuntu/ quantal-security main restricted  
  28. deb-src http://mirrors.sohu.com/ubuntu/ quantal-security main restricted  
  29. deb http://mirrors.sohu.com/ubuntu/ quantal-security universe  
  30. deb-src http://mirrors.sohu.com/ubuntu/ quantal-security universe  
  31. deb http://mirrors.sohu.com/ubuntu/ quantal-security multiverse  
  32. deb-src http://mirrors.sohu.com/ubuntu/ quantal-security multiverse  
  33. deb http://extras.ubuntu.com/ubuntu quantal main  
  34. deb-src http://extras.ubuntu.com/ubuntu quantal main  
  35.   
  36. #阿里云  
  37. deb http://mirrors.aliyun.com/ubuntu/ quantal main restricted universe multiverse  
  38. deb http://mirrors.aliyun.com/ubuntu/ quantal-security main restricted universe multiverse  
  39. deb http://mirrors.aliyun.com/ubuntu/ quantal-updates main restricted universe multiverse  
  40. deb http://mirrors.aliyun.com/ubuntu/ quantal-proposed main restricted universe multiverse  
  41. deb http://mirrors.aliyun.com/ubuntu/ quantal-backports main restricted universe multiverse  
  42. deb-src http://mirrors.aliyun.com/ubuntu/ quantal main restricted universe multiverse  
  43. deb-src http://mirrors.aliyun.com/ubuntu/ quantal-security main restricted universe multiverse  
  44. deb-src http://mirrors.aliyun.com/ubuntu/ quantal-updates main restricted universe multiverse  
  45. deb-src http://mirrors.aliyun.com/ubuntu/ quantal-proposed main restricted universe multiverse  
  46. deb-src http://mirrors.aliyun.com/ubuntu/ quantal-backports main restricted universe multiverse  
  47.     
  48. #台湾源(台湾的ubuntu 更新源还是很给力的)  
  49. deb http://tw.archive.ubuntu.com/ubuntu/ quantal main universe restricted multiverse  
  50. deb-src http://tw.archive.ubuntu.com/ubuntu/ quantal main universe restricted multiverse  
  51. deb http://tw.archive.ubuntu.com/ubuntu/ quantal-security universe main multiverse restricted  
  52. deb-src http://tw.archive.ubuntu.com/ubuntu/ quantal-security universe main multiverse restricted  
  53. deb http://tw.archive.ubuntu.com/ubuntu/ quantal-updates universe main multiverse restricted  
  54. deb-src http://tw.archive.ubuntu.com/ubuntu/ quantal-updates universe main multiverse restricted  
  55.   
  56. #ubuntu.cn99.com源(推荐):  
  57. deb http://ubuntu.cn99.com/ubuntu/ quantal main restricted universe multiverse  
  58. deb http://ubuntu.cn99.com/ubuntu/ quantal-updates main restricted universe multiverse  
  59. deb http://ubuntu.cn99.com/ubuntu/ quantal-security main restricted universe multiverse  
  60. deb http://ubuntu.cn99.com/ubuntu/ quantal-backports main restricted universe multiverse  
  61. deb http://ubuntu.cn99.com/ubuntu-cn/ quantal main restricted universe multiverse  
  62.   
  63. #电子科技大学  
  64. deb http://ubuntu.uestc.edu.cn/ubuntu/ quantal main restricted universe multiverse  
  65. deb http://ubuntu.uestc.edu.cn/ubuntu/ quantal-backports main restricted universe multiverse  
  66. deb http://ubuntu.uestc.edu.cn/ubuntu/ quantal-proposed main restricted universe multiverse  
  67. deb http://ubuntu.uestc.edu.cn/ubuntu/ quantal-security main restricted universe multiverse  
  68. deb http://ubuntu.uestc.edu.cn/ubuntu/ quantal-updates main restricted universe multiverse  
  69. deb-src http://ubuntu.uestc.edu.cn/ubuntu/ quantal main restricted universe multiverse  
  70. deb-src http://ubuntu.uestc.edu.cn/ubuntu/ quantal-backports main restricted universe multiverse  
  71. deb-src http://ubuntu.uestc.edu.cn/ubuntu/ quantal-proposed main restricted universe multiverse  
  72. deb-src http://ubuntu.uestc.edu.cn/ubuntu/ quantal-security main restricted universe multiverse  
  73. deb-src http://ubuntu.uestc.edu.cn/ubuntu/ quantal-updates main restricted universe multiverse  
  74. #中国科技大学  
  75. deb http://debian.ustc.edu.cn/ubuntu/ quantal main restricted universe multiverse  
  76. deb http://debian.ustc.edu.cn/ubuntu/ quantal-backports restricted universe multiverse  
  77. deb http://debian.ustc.edu.cn/ubuntu/ quantal-proposed main restricted universe multiverse  
  78. deb http://debian.ustc.edu.cn/ubuntu/ quantal-security main restricted universe multiverse  
  79. deb http://debian.ustc.edu.cn/ubuntu/ quantal-updates main restricted universe multiverse  
  80. deb-src http://debian.ustc.edu.cn/ubuntu/ quantal main restricted universe multiverse  
  81. deb-src http://debian.ustc.edu.cn/ubuntu/ quantal-backports main restricted universe multiverse  
  82. deb-src http://debian.ustc.edu.cn/ubuntu/ quantal-proposed main restricted universe multiverse  
  83. deb-src http://debian.ustc.edu.cn/ubuntu/ quantal-security main restricted universe multiverse  
  84. deb-src http://debian.ustc.edu.cn/ubuntu/ quantal-updates main restricted universe multiverse  
  85. #北京交通大学  
  86. deb http://mirror.bjtu.edu.cn/ubuntu/ quantal main multiverse restricted universe  
  87. deb http://mirror.bjtu.edu.cn/ubuntu/ quantal-backports main multiverse restricted universe  
  88. deb http://mirror.bjtu.edu.cn/ubuntu/ quantal-proposed main multiverse restricted universe  
  89. deb http://mirror.bjtu.edu.cn/ubuntu/ quantal-security main multiverse restricted universe  
  90. deb http://mirror.bjtu.edu.cn/ubuntu/ quantal-updates main multiverse restricted universe  
  91. deb-src http://mirror.bjtu.edu.cn/ubuntu/ quantal main multiverse restricted universe  
  92. deb-src http://mirror.bjtu.edu.cn/ubuntu/ quantal-backports main multiverse restricted universe  
  93. deb-src http://mirror.bjtu.edu.cn/ubuntu/ quantal-proposed main multiverse restricted universe  
  94. deb-src http://mirror.bjtu.edu.cn/ubuntu/ quantal-security main multiverse restricted universe  
  95. deb-src http://mirror.bjtu.edu.cn/ubuntu/ quantal-updates main multiverse restricted universe  
  96.   
  97.   
  98. #上海交通大学(上海交大源,教育网的速度不用说了)  
  99. deb http://ftp.sjtu.edu.cn/ubuntu/ quantal main multiverse restricted universe  
  100. deb http://ftp.sjtu.edu.cn/ubuntu/ quantal-backports main multiverse restricted universe  
  101. deb http://ftp.sjtu.edu.cn/ubuntu/ quantal-proposed main multiverse restricted universe  
  102. deb http://ftp.sjtu.edu.cn/ubuntu/ quantal-security main multiverse restricted universe  
  103. deb http://ftp.sjtu.edu.cn/ubuntu/ quantal-updates main multiverse restricted universe  
  104. deb http://ftp.sjtu.edu.cn/ubuntu/ quantal main multiverse restricted universe  
  105. deb-src http://ftp.sjtu.edu.cn/ubuntu/ quantal main multiverse restricted universe  
  106. deb-src http://ftp.sjtu.edu.cn/ubuntu/ quantal-backports main multiverse restricted universe  
  107. deb-src http://ftp.sjtu.edu.cn/ubuntu/ quantal-proposed main multiverse restricted universe  
  108. deb-src http://ftp.sjtu.edu.cn/ubuntu/ quantal-security main multiverse restricted universe  
  109. deb-src http://ftp.sjtu.edu.cn/ubuntu/ quantal-updates main multiverse restricted universe  
  110.   
  111.   
  112. deb http://centos.bitcomm.cn/ubuntu natty main restricted universe multiverse   
  113. deb http://centos.bitcomm.cn/ubuntu natty-security main restricted universe multiverse   
  114. deb http://centos.bitcomm.cn/ubuntu natty-updates main restricted universe multiverse   
  115. deb http://centos.bitcomm.cn/ubuntu natty-backports main restricted universe multiverse   
  116. deb http://centos.bitcomm.cn/ubuntu natty-proposed main restricted universe multiverse   
  117. deb-src http://centos.bitcomm.cn/ubuntu natty main restricted universe multiverse   
  118. deb-src http://centos.bitcomm.cn/ubuntu natty-security main restricted universe multiverse   
  119. deb-src http://centos.bitcomm.cn/ubuntu natty-updates main restricted universe multiverse   
  120. deb-src http://centos.bitcomm.cn/ubuntu natty-backports main restricted universe multiverse   
  121. deb-src http://centos.bitcomm.cn/ubuntu natty-proposed main restricted universe multiverse  
  122.   
  123. deb http://archive.ubuntu.com/ubuntu/ oneiric main restricted universe multiverse  
  124. deb http://archive.ubuntu.com/ubuntu/ oneiric-security main restricted universe multiverse  
  125. deb http://archive.ubuntu.com/ubuntu/ oneiric-updates main restricted universe multiverse  
  126. deb http://archive.ubuntu.com/ubuntu/ oneiric-proposed main restricted universe multiverse  
  127. deb http://archive.ubuntu.com/ubuntu/ oneiric-backports main restricted universe multiverse  
  128. deb-src http://archive.ubuntu.com/ubuntu/ oneiric main restricted universe multiverse  
  129. deb-src http://archive.ubuntu.com/ubuntu/ oneiric-security main restricted universe multiverse  
  130. deb-src http://archive.ubuntu.com/ubuntu/ oneiric-updates main restricted universe multiverse  
  131. deb-src http://archive.ubuntu.com/ubuntu/ oneiric-proposed main restricted universe multiverse  
  132. deb-src http://archive.ubuntu.com/ubuntu/ oneiric-backports main restricted universe multiverse  
  133.   
  134. #下面是source原来的,不动他  
  135.   
  136. #deb cdrom:[Ubuntu 12.04 LTS _Precise Pangolin_ - Release amd64 (20120425)]/ dists/precise/main/binary-i386/  
  137.   
  138. #deb cdrom:[Ubuntu 12.04 LTS _Precise Pangolin_ - Release amd64 (20120425)]/ dists/precise/restricted/binary-i386/  
  139. #deb cdrom:[Ubuntu 12.04 LTS _Precise Pangolin_ - Release amd64 (20120425)]/ precise main restricted  
  140.   
  141. # See http://help.ubuntu.com/community/UpgradeNotes for how to upgrade to  
  142. # newer versions of the distribution.  
  143. deb http://cn.archive.ubuntu.com/ubuntu/ precise main restricted  
  144. deb-src http://cn.archive.ubuntu.com/ubuntu/ precise main restricted  
  145.   
  146. ## Major bug fix updates produced after the final release of the  
  147. ## distribution.  
  148. deb http://cn.archive.ubuntu.com/ubuntu/ precise-updates main restricted  
  149. deb-src http://cn.archive.ubuntu.com/ubuntu/ precise-updates main restricted  
  150.   
  151. ## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu  
  152. ## team. Also, please note that software in universe WILL NOT receive any  
  153. ## review or updates from the Ubuntu security team.  
  154. deb http://cn.archive.ubuntu.com/ubuntu/ precise universe  
  155. deb-src http://cn.archive.ubuntu.com/ubuntu/ precise universe  
  156. deb http://cn.archive.ubuntu.com/ubuntu/ precise-updates universe  
  157. deb-src http://cn.archive.ubuntu.com/ubuntu/ precise-updates universe  
  158.   
  159. ## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu   
  160. ## team, and may not be under a free licence. Please satisfy yourself as to   
  161. ## your rights to use the software. Also, please note that software in   
  162. ## multiverse WILL NOT receive any review or updates from the Ubuntu  
  163. ## security team.  
  164. deb http://cn.archive.ubuntu.com/ubuntu/ precise multiverse  
  165. deb-src http://cn.archive.ubuntu.com/ubuntu/ precise multiverse  
  166. deb http://cn.archive.ubuntu.com/ubuntu/ precise-updates multiverse  
  167. deb-src http://cn.archive.ubuntu.com/ubuntu/ precise-updates multiverse  
  168.   
  169. ## N.B. software from this repository may not have been tested as  
  170. ## extensively as that contained in the main release, although it includes  
  171. ## newer versions of some applications which may provide useful features.  
  172. ## Also, please note that software in backports WILL NOT receive any review  
  173. ## or updates from the Ubuntu security team.  
  174. deb http://cn.archive.ubuntu.com/ubuntu/ precise-backports main restricted universe multiverse  
  175. deb-src http://cn.archive.ubuntu.com/ubuntu/ precise-backports main restricted universe multiverse  
  176.   
  177. deb http://security.ubuntu.com/ubuntu precise-security main restricted  
  178. deb-src http://security.ubuntu.com/ubuntu precise-security main restricted  
  179. deb http://security.ubuntu.com/ubuntu precise-security universe  
  180. deb-src http://security.ubuntu.com/ubuntu precise-security universe  
  181. deb http://security.ubuntu.com/ubuntu precise-security multiverse  
  182. deb-src http://security.ubuntu.com/ubuntu precise-security multiverse  
  183.   
  184. ## Uncomment the following two lines to add software from Canonical's  
  185. ## 'partner' repository.  
  186. ## This software is not part of Ubuntu, but is offered by Canonical and the  
  187. ## respective vendors as a service to Ubuntu users.  
  188. # deb http://archive.canonical.com/ubuntu precise partner  
  189. # deb-src http://archive.canonical.com/ubuntu precise partner  
  190.   
  191. ## This software is not part of Ubuntu, but is offered by third-party  
  192. ## developers who want to ship their latest software.  
  193. deb http://extras.ubuntu.com/ubuntu precise main  
  194. deb-src http://extras.ubuntu.com/ubuntu precise main 

  • 0
    点赞
  • 3
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值