ubuntu下载源更新

来源:互联网 发布:servlet传json到ajax 编辑:程序博客网 时间:2024/05/01 01:54
  • 首先备份源列表:
sudo cp /etc/apt/sources.list /etc/apt/sources.list_backup
  • 而后用gedit或其他编辑器打开:
 sudo gedit /etc/apt/sources.list


  • 从下面列表中选择合适的源,替换掉文件中所有的内容,保存编辑好的文件:
 注意:一定要选对版本
  • 然后,刷新列表:
sudo apt-get update

Ubuntu 官方更新服务器(欧洲,此为官方源,国内较慢,但无同步延迟问题,电信、移动/铁通、联通等公网用户可以使用):


deb http://archive.ubuntu.com/ubuntu/ trusty main restricted universe multiverse

deb http://archive.ubuntu.com/ubuntu/ trusty-security main restricted universe multiverse

deb http://archive.ubuntu.com/ubuntu/ trusty-updates main restricted universe multiverse

deb http://archive.ubuntu.com/ubuntu/ trusty-proposed main restricted universe multiverse

deb http://archive.ubuntu.com/ubuntu/ trusty-backports main restricted universe multiverse

deb-src http://archive.ubuntu.com/ubuntu/ trusty main restricted universe multiverse

deb-src http://archive.ubuntu.com/ubuntu/ trusty-security main restricted universe multiverse

deb-src http://archive.ubuntu.com/ubuntu/ trusty-updates main restricted universe multiverse

deb-src http://archive.ubuntu.com/ubuntu/ trusty-proposed main restricted universe multiverse

deb-src http://archive.ubuntu.com/ubuntu/ trusty-backports main restricted universe multiverse

Ubuntu官方提供的其他软件(第三方闭源软件等):


deb http://archive.canonical.com/ubuntu/ trusty partner

deb http://extras.ubuntu.com/ubuntu/ trusty main

 


骨头兄亲自搭建并维护的 Ubuntu 源(该源位于浙江杭州百兆共享宽带的电信机房),包含 Deepin 等镜像:


deb http://ubuntu.srt.cn/ubuntu/ trusty main restricted universe multiverse

deb http://ubuntu.srt.cn/ubuntu/ trusty-security main restricted universe multiverse

deb http://ubuntu.srt.cn/ubuntu/ trusty-updates main restricted universe multiverse

deb http://ubuntu.srt.cn/ubuntu/ trusty-proposed main restricted universe multiverse

deb http://ubuntu.srt.cn/ubuntu/ trusty-backports main restricted universe multiverse

deb-src http://ubuntu.srt.cn/ubuntu/ trusty main restricted universe multiverse

deb-src http://ubuntu.srt.cn/ubuntu/ trusty-security main restricted universe multiverse

deb-src http://ubuntu.srt.cn/ubuntu/ trusty-updates main restricted universe multiverse

deb-src http://ubuntu.srt.cn/ubuntu/ trusty-proposed main restricted universe multiverse

deb-src http://ubuntu.srt.cn/ubuntu/ trusty-backports main restricted universe multiverse

 


网易163更新服务器(广东广州电信/联通千兆双线接入),包含其他开源镜像:


deb http://mirrors.163.com/ubuntu/ trusty main restricted universe multiverse

deb http://mirrors.163.com/ubuntu/ trusty-security main restricted universe multiverse

deb http://mirrors.163.com/ubuntu/ trusty-updates main restricted universe multiverse

deb http://mirrors.163.com/ubuntu/ trusty-proposed main restricted universe multiverse

deb http://mirrors.163.com/ubuntu/ trusty-backports main restricted universe multiverse

deb-src http://mirrors.163.com/ubuntu/ trusty main restricted universe multiverse

deb-src http://mirrors.163.com/ubuntu/ trusty-security main restricted universe multiverse

deb-src http://mirrors.163.com/ubuntu/ trusty-updates main restricted universe multiverse

deb-src http://mirrors.163.com/ubuntu/ trusty-proposed main restricted universe multiverse

deb-src http://mirrors.163.com/ubuntu/ trusty-backports main restricted universe multiverse

 


搜狐更新服务器(山东联通千兆接入,官方中国大陆地区镜像跳转至此) ,包含其他开源镜像:


deb http://mirrors.sohu.com/ubuntu/ trusty main restricted universe multiverse

deb http://mirrors.sohu.com/ubuntu/ trusty-security main restricted universe multiverse

deb http://mirrors.sohu.com/ubuntu/ trusty-updates main restricted universe multiverse

deb http://mirrors.sohu.com/ubuntu/ trusty-proposed main restricted universe multiverse

deb http://mirrors.sohu.com/ubuntu/ trusty-backports main restricted universe multiverse

deb-src http://mirrors.sohu.com/ubuntu/ trusty main restricted universe multiverse

deb-src http://mirrors.sohu.com/ubuntu/ trusty-security main restricted universe multiverse

deb-src http://mirrors.sohu.com/ubuntu/ trusty-updates main restricted universe multiverse

deb-src http://mirrors.sohu.com/ubuntu/ trusty-proposed main restricted universe multiverse

deb-src http://mirrors.sohu.com/ubuntu/ trusty-backports main restricted universe multiverse

 


LupaWorld 更新服务器(浙江杭州电信/联通双线服务器),包含其他开源镜像:


deb http://mirror.lupaworld.com/ubuntu trusty main restricted universe multiverse

deb http://mirror.lupaworld.com/ubuntu trusty-security main restricted universe multiverse

deb http://mirror.lupaworld.com/ubuntu trusty-updates main restricted universe multiverse

deb http://mirror.lupaworld.com/ubuntu trusty-backports main restricted universe multiverse

deb http://mirror.lupaworld.com/ubuntu trusty-proposed main restricted universe multiverse

deb-src http://mirror.lupaworld.com/ubuntu trusty main restricted universe multiverse

deb-src http://mirror.lupaworld.com/ubuntu trusty-security main restricted universe multiverse

deb-src http://mirror.lupaworld.com/ubuntu trusty-updates main restricted universe multiverse

deb-src http://mirror.lupaworld.com/ubuntu trusty-backports main restricted universe multiverse

deb-src http://mirror.lupaworld.com/ubuntu trusty-proposed main restricted universe multiverse

 


常州贝特康姆软件技术有限公司 更新服务器(江苏常州电信服务器),包含其他开源镜像。


( CN99域名 系 “常州市亚科技术有限公司” 所注册,但此公司与常州贝特康姆的法人代表和营业地址相同。所以本镜像实际即原 CN99。但现在 CN99镜像的域名已改为跳转至网易镜像):


deb http://centos.bitcomm.cn/ubuntu trusty main restricted universe multiverse

deb http://centos.bitcomm.cn/ubuntu trusty-security main restricted universe multiverse

deb http://centos.bitcomm.cn/ubuntu trusty-updates main restricted universe multiverse

deb http://centos.bitcomm.cn/ubuntu trusty-backports main restricted universe multiverse

deb http://centos.bitcomm.cn/ubuntu trusty-proposed main restricted universe multiverse

deb-src http://centos.bitcomm.cn/ubuntu trusty main restricted universe multiverse

deb-src http://centos.bitcomm.cn/ubuntu trusty-security main restricted universe multiverse

deb-src http://centos.bitcomm.cn/ubuntu trusty-updates main restricted universe multiverse

deb-src http://centos.bitcomm.cn/ubuntu trusty-backports main restricted universe multiverse

deb-src http://centos.bitcomm.cn/ubuntu trusty-proposed main restricted universe multiverse


转载自:http://blog.csdn.net/wzhigg/article/details/38128231

0 0