首页 » my » 正文

ubuntu更新源

在google上搜索ubuntu的更新源的时候,找到了一个很好的网站http://ubuntu9.com

这个网站里提供了三种更新源的选择:最快的源(top fast),离你最近的源(top near)通常是你所在的国家中的源,最稳定的源(top stable)。

目前支持 Ubuntu 10.04 LTS(Lucid Lynx) ,10.10 (Maverick Meerkat) ,11.04 (Natty Narwhal)三个版本的源。

网站还提供了自动找到源方式:

Above instructions in command line are also available for advanced users(make sure you have backup original "sources.list" file and changed "CODE" to your Ubuntu release codename.):
* Choose top fast Mirror
sudo wget -O /etc/apt/sources.list http://mirror.ubuntu9.com/topmirror/sourceslist/topfast?CODE
* Choose top near mirror
sudo wget -O /etc/apt/sources.list http://mirror.ubuntu9.com/topmirror/sourceslist/topnear?CODE
* Choose top stable mirror
sudo wget -O /etc/apt/sources.list http://mirror.ubuntu9.com/topmirror/sourceslist/topstable?CODE
* Choose all top mirrors and save to /etc/apt/sources.list.d/ (Recommend)
sudo wget -O /etc/apt/sources.list.d/0_top_fast.list http://mirror.ubuntu9.com/topmirror/sourceslist/topfast?CODE && wget -O /etc/apt/sources.list.d/1_top_near.list http://mirror.ubuntu9.com/topmirror/sourceslist/topnear?CODE && wget -O /etc/apt/sources.list.d/2_top_stable.list http://mirror.ubuntu9.com/topmirror/sourceslist/topstable?CODE