用户名: 密码: 忘记密码? 注册

Ubuntu 10.04 更新源

作者:  时间: 2010-09-19
1.sudo gedit /etc/apt/sources.list
  编辑你的源列表,将原来的内容全部删除,当然之前也可以用sudo cp /etc/apt/sources.list /etc/apt/sources.list.bak命令的方式进行备份,以备不时之需。添加下面列表中最适合你的源(注意不要全部添加),选择一个最合适你的即可,复制到你的列表中,然后保存列表。
  (注:只复制粘贴所有deb开头的行。细心的读者会发现源sources.list文件中有以许多#开头的行,这个#意味这此行为注释行,不起作用,剩余的deb的行才是真正的源)

  2.sudo apt-get update 更新源列表信息
  可以在运行“sudo apt-get update”时查看一下错误信息,把不能连接的源删除再重新运行“sudo apt-get update”。

  3.sudo apt-get upgrade 升级
  或者用ubuntu自带的更新管理器升级也可

  Ubuntu 10.04源列表:

  Archive.ubuntu.com更新服务器(欧洲,此为官方源,电信网通用户使用):
  deb http://archive.ubuntu.com/ubuntu/ lucid main restricted universe multiverse
  deb http://archive.ubuntu.com/ubuntu/ lucid-security main restricted universe multiverse
  deb http://archive.ubuntu.com/ubuntu/ lucid-updates main restricted universe multiverse
  deb http://archive.ubuntu.com/ubuntu/ lucid-proposed main restricted universe multiverse
  deb http://archive.ubuntu.com/ubuntu/ lucid-backports main restricted universe multiverse
  deb-src http://archive.ubuntu.com/ubuntu/ lucid main restricted universe multiverse
  deb-src http://archive.ubuntu.com/ubuntu/ lucid-security main restricted universe multiverse
  deb-src http://archive.ubuntu.com/ubuntu/ lucid-updates main restricted universe multiverse
  deb-src http://archive.ubuntu.com/ubuntu/ lucid-proposed main restricted universe multiverse
  deb-src http://archive.ubuntu.com/ubuntu/ lucid-backports main restricted universe multiverse

  骨头兄亲自搭建并维护这个Ubuntu源(该源位于浙江杭州百兆共享宽带的电信机房):
  deb http://ubuntu.srt.cn/ubuntu/ lucid main restricted universe multiverse
  deb http://ubuntu.srt.cn/ubuntu/ lucid-security main restricted universe multiverse
  deb http://ubuntu.srt.cn/ubuntu/ lucid-updates main restricted universe multiverse
  deb http://ubuntu.srt.cn/ubuntu/ lucid-proposed main restricted universe multiverse
  deb http://ubuntu.srt.cn/ubuntu/ lucid-backports main restricted universe multiverse
  deb-src http://ubuntu.srt.cn/ubuntu/ lucid main restricted universe multiverse
  deb-src http://ubuntu.srt.cn/ubuntu/ lucid-security main restricted universe multiverse
  deb-src http://ubuntu.srt.cn/ubuntu/ lucid-updates main restricted universe multiverse
  deb-src http://ubuntu.srt.cn/ubuntu/ lucid-proposed main restricted universe multiverse
  deb-src http://ubuntu.srt.cn/ubuntu/ lucid-backports main restricted universe multiverse

  网易163更新服务器(速度很快):
  deb http://mirrors.163.com/ubuntu/ lucid main restricted universe multiverse
  deb http://mirrors.163.com/ubuntu/ lucid-security main restricted universe multiverse
  deb http://mirrors.163.com/ubuntu/ lucid-updates main restricted universe multiverse
  deb http://mirrors.163.com/ubuntu/ lucid-proposed main restricted universe multiverse
  deb http://mirrors.163.com/ubuntu/ lucid-backports main restricted universe multiverse
  deb-src http://mirrors.163.com/ubuntu/ lucid main restricted universe multiverse
  deb-src http://mirrors.163.com/ubuntu/ lucid-security main restricted universe multiverse
  deb-src http://mirrors.163.com/ubuntu/ lucid-updates main restricted universe multiverse
  deb-src http://mirrors.163.com/ubuntu/ lucid-proposed main restricted universe multiverse
  deb-src http://mirrors.163.com/ubuntu/ lucid-backports main restricted universe multiverse

  sohu 更新服务器:
  deb http://mirrors.sohu.com/ubuntu/ lucid main restricted universe multiverse
  deb http://mirrors.sohu.com/ubuntu/ lucid-security main restricted universe multiverse
  deb http://mirrors.sohu.com/ubuntu/ lucid-updates main restricted universe multiverse
  deb http://mirrors.sohu.com/ubuntu/ lucid-proposed main restricted universe multiverse
  deb http://mirrors.sohu.com/ubuntu/ lucid-backports main restricted universe multiverse
  deb-src http://mirrors.sohu.com/ubuntu/ lucid main restricted universe multiverse
  deb-src http://mirrors.sohu.com/ubuntu/ lucid-security main restricted universe multiverse
  deb-src http://mirrors.sohu.com/ubuntu/ lucid-updates main restricted universe multiverse
  deb-src http://mirrors.sohu.com/ubuntu/ lucid-proposed main restricted universe multiverse
  deb-src http://mirrors.sohu.com/ubuntu/ lucid-backports main restricted universe multiverse

  Mirrors.shlug.org更新服务器(电信服务器,Ubuntu China Official Mirror, maintained by Shanghai Linux User Group):
  deb http://cn.archive.ubuntu.com/ubuntu lucid main restricted universe multiverse
  deb http://cn.archive.ubuntu.com/ubuntu lucid-security main restricted universe multiverse
  deb http://cn.archive.ubuntu.com/ubuntu lucid-updates main restricted universe multiverse
  deb http://cn.archive.ubuntu.com/ubuntu lucid-backports main restricted universe multiverse
  deb http://cn.archive.ubuntu.com/ubuntu lucid-proposed main restricted universe multiverse
  deb-src http://cn.archive.ubuntu.com/ubuntu lucid main restricted universe multiverse
  deb-src http://cn.archive.ubuntu.com/ubuntu lucid-security main restricted universe multiverse
  deb-src http://cn.archive.ubuntu.com/ubuntu lucid-updates main restricted universe multiverse
  deb-src http://cn.archive.ubuntu.com/ubuntu lucid-backports main restricted universe multiverse
  deb-src http://cn.archive.ubuntu.com/ubuntu lucid-proposed main restricted universe multiverse

  Mirror.lupaworld.com更新服务器(浙江省杭州市双线服务器):
  deb http://mirror.lupaworld.com/ubuntu lucid main restricted universe multiverse
  deb http://mirror.lupaworld.com/ubuntu lucid-security main restricted universe multiverse
  deb http://mirror.lupaworld.com/ubuntu lucid-updates main restricted universe multiverse
  deb http://mirror.lupaworld.com/ubuntu lucid-backports main restricted universe multiverse
  deb http://mirror.lupaworld.com/ubuntu lucid-proposed main restricted universe multiverse
  deb-src http://mirror.lupaworld.com/ubuntu lucid main restricted universe multiverse
  deb-src http://mirror.lupaworld.com/ubuntu lucid-security main restricted universe multiverse
  deb-src http://mirror.lupaworld.com/ubuntu lucid-updates main restricted universe multiverse
  deb-src http://mirror.lupaworld.com/ubuntu lucid-backports main restricted universe multiverse
  deb-src http://mirror.lupaworld.com/ubuntu lucid-proposed main restricted universe multiverse

  厦门大学更新服务器(教育网服务器):
  deb ftp://ubuntu.realss.cn/ubuntu/ lucid main restricted universe multiverse
  deb ftp://ubuntu.realss.cn/ubuntu/ lucid-backports restricted universe multiverse
  deb ftp://ubuntu.realss.cn/ubuntu/ lucid-proposed main restricted universe multiverse
  deb ftp://ubuntu.realss.cn/ubuntu/ lucid-security main restricted universe multiverse
  deb ftp://ubuntu.realss.cn/ubuntu/ lucid-updates main restricted universe multiverse
  deb-src ftp://ubuntu.realss.cn/ubuntu/ lucid main restricted universe multiverse
  deb-src ftp://ubuntu.realss.cn/ubuntu/ lucid-backports main restricted universe multiverse
  deb-src ftp://ubuntu.realss.cn/ubuntu/ lucid-proposed main restricted universe multiverse
  deb-src ftp://ubuntu.realss.cn/ubuntu/ lucid-security main restricted universe multiverse
  deb-src ftp://ubuntu.realss.cn/ubuntu/ lucid-updates main restricted universe multiverse

  成都市电子科技大学更新服务器(教育网,推荐校园网和网通用户使用):
  deb http://ubuntu.uestc.edu.cn/ubuntu/ lucid main multiverse restricted universe
  deb http://ubuntu.uestc.edu.cn/ubuntu/ lucid-backports main multiverse restricted universe
  deb http://ubuntu.uestc.edu.cn/ubuntu/ lucid-proposed main multiverse restricted universe
  deb http://ubuntu.uestc.edu.cn/ubuntu/ lucid-security main multiverse restricted universe
  deb http://ubuntu.uestc.edu.cn/ubuntu/ lucid-updates main multiverse restricted universe
  deb-src http://ubuntu.uestc.edu.cn/ubuntu/ lucid main multiverse restricted universe
  deb-src http://ubuntu.uestc.edu.cn/ubuntu/ lucid-backports main multiverse restricted universe
  deb-src http://ubuntu.uestc.edu.cn/ubuntu/ lucid-proposed main multiverse restricted universe
  deb-src http://ubuntu.uestc.edu.cn/ubuntu/ lucid-security main multiverse restricted universe
  deb-src http://ubuntu.uestc.edu.cn/ubuntu/ lucid-updates main multiverse restricted universe
  == 如果无法解析uestc.edu.cn域名,请使用以下地址 ==
  deb http://ubuntu.dormforce.net/ubuntu/ lucid main multiverse restricted universe
  deb http://ubuntu.dormforce.net/ubuntu/ lucid-backports main multiverse restricted universe
  deb http://ubuntu.dormforce.net/ubuntu/ lucid-proposed main multiverse restricted universe
  deb http://ubuntu.dormforce.net/ubuntu/ lucid-security main multiverse restricted universe
  deb http://ubuntu.dormforce.net/ubuntu/ lucid-updates main multiverse restricted universe
  deb-src http://ubuntu.dormforce.net/ubuntu/ lucid main multiverse restricted universe
  deb-src http://ubuntu.dormforce.net/ubuntu/ lucid-backports main multiverse restricted universe
  deb-src http://ubuntu.dormforce.net/ubuntu/ lucid-proposed main multiverse restricted universe
  deb-src http://ubuntu.dormforce.net/ubuntu/ lucid-security main multiverse restricted universe
  deb-src http://ubuntu.dormforce.net/ubuntu/ lucid-updates main multiverse restricted universe

  上海市上海交通大学更新服务器:
  deb http://ftp.sjtu.edu.cn/ubuntu/ lucid main multiverse restricted universe
  deb http://ftp.sjtu.edu.cn/ubuntu/ lucid-backports main multiverse restricted universe
  deb http://ftp.sjtu.edu.cn/ubuntu/ lucid-proposed main multiverse restricted universe
  deb http://ftp.sjtu.edu.cn/ubuntu/ lucid-security main multiverse restricted universe
  deb http://ftp.sjtu.edu.cn/ubuntu/ lucid-updates main multiverse restricted universe
  deb-src http://ftp.sjtu.edu.cn/ubuntu/ lucid main multiverse restricted universe
  deb-src http://ftp.sjtu.edu.cn/ubuntu/ lucid-backports main multiverse restricted universe
  deb-src http://ftp.sjtu.edu.cn/ubuntu/ lucid-proposed main multiverse restricted universe
  deb-src http://ftp.sjtu.edu.cn/ubuntu/ lucid-security main multiverse restricted universe
  deb-src http://ftp.sjtu.edu.cn/ubuntu/ lucid-updates main multiverse restricted universe

  中国科学技术大学更新服务器:
  deb http://debian.ustc.edu.cn/ubuntu/ lucid main multiverse restricted universe
  deb http://debian.ustc.edu.cn/ubuntu/ lucid-backports main multiverse restricted universe
  deb http://debian.ustc.edu.cn/ubuntu/ lucid-proposed main multiverse restricted universe
  deb http://debian.ustc.edu.cn/ubuntu/ lucid-security main multiverse restricted universe
  deb http://debian.ustc.edu.cn/ubuntu/ lucid-updates main multiverse restricted universe
  deb-src http://debian.ustc.edu.cn/ubuntu/ lucid main multiverse restricted universe
  deb-src http://debian.ustc.edu.cn/ubuntu/ lucid-backports main multiverse restricted universe
  deb-src http://debian.ustc.edu.cn/ubuntu/ lucid-proposed main multiverse restricted universe
  deb-src http://debian.ustc.edu.cn/ubuntu/ lucid-security main multiverse restricted universe
  deb-src http://debian.ustc.edu.cn/ubuntu/ lucid-updates main multiverse restricted universe

  中国地质大学(北京)更新服务器:
  deb http://www.tofree.org/ubuntu/ lucid main restricted universe multiverse
  deb http://www.tofree.org/ubuntu/ lucid-security main restricted universe multiverse
  deb http://www.tofree.org/ubuntu/ lucid-updates main restricted universe multiverse
  deb http://www.tofree.org/ubuntu/ lucid-proposed main restricted universe multiverse
  deb http://www.tofree.org/ubuntu/ lucid-backports main restricted universe multiverse
  deb-src http://www.tofree.org/ubuntu/ lucid main restricted universe multiverse
  deb-src http://www.tofree.org/ubuntu/ lucid-security main restricted universe multiverse
  deb-src http://www.tofree.org/ubuntu/ lucid-updates main restricted universe multiverse
  deb-src http://www.tofree.org/ubuntu/ lucid-proposed main restricted universe multiverse
  deb-src http://www.tofree.org/ubuntu/ lucid-backports main restricted universe multiverse

  中国台湾 台湾大学更新服务器(推荐网通用户使用,电信PING平均响应速度41MS。强烈推荐此源,比较完整,较少出现同步问题):
  deb http://ubuntu.csie.ntu.edu.tw/ubuntu/ lucid main restricted universe multiverse
  deb-src http://ubuntu.csie.ntu.edu.tw/ubuntu/ lucid main restricted universe multiverse
  deb http://ubuntu.csie.ntu.edu.tw/ubuntu/ lucid-updates main restricted universe multiverse
  deb-src http://ubuntu.csie.ntu.edu.tw/ubuntu/ lucid-updates main restricted universe multiverse
  deb http://ubuntu.csie.ntu.edu.tw/ubuntu/ lucid-backports main restricted universe multiverse
  deb-src http://ubuntu.csie.ntu.edu.tw/ubuntu/ lucid-backports main restricted universe multiverse
  deb http://ubuntu.csie.ntu.edu.tw/ubuntu/ lucid-security main restricted universe multiverse
  deb-src http://ubuntu.csie.ntu.edu.tw/ubuntu/ lucid-security main restricted universe multiverse
  deb http://ubuntu.csie.ntu.edu.tw/ubuntu/ lucid-proposed main multiverse restricted universe
  deb-src http://ubuntu.csie.ntu.edu.tw/ubuntu/ lucid-proposed main restricted universe multiverse

  mirror.rootguide.org更新服务器(上海市 电信):
  deb http://mirror.rootguide.org/ubuntu/ lucid main restricted universe multiverse
  deb-src http://mirror.rootguide.org/ubuntu/ lucid main restricted universe multiverse
  deb http://mirror.rootguide.org/ubuntu/ lucid-updates main restricted universe multiverse
  deb-src http://mirror.rootguide.org/ubuntu/ lucid-updates main restricted universe multiverse
  deb http://mirror.rootguide.org/ubuntu/ lucid-backports main restricted universe multiverse
  deb-src http://mirror.rootguide.org/ubuntu/ lucid-backports main restricted universe multiverse
  deb http://mirror.rootguide.org/ubuntu/ lucid-security main restricted universe multiverse
  deb-src http://mirror.rootguide.org/ubuntu/ lucid-security main restricted universe multiverse
  deb http://mirror.rootguide.org/ubuntu/ lucid-proposed main multiverse restricted universe
  deb-src http://mirror.rootguide.org/ubuntu/ lucid-proposed main restricted universe multiverse

  台湾的官方源速度也相当不错,有时甚至快于内地的:
  deb http://tw.archive.ubuntu.com/ubuntu lucid main restricted universe multiverse
  deb http://tw.archive.ubuntu.com/ubuntu lucid-security main restricted universe multiverse
  deb http://tw.archive.ubuntu.com/ubuntu lucid-updates main restricted universe multiverse
  deb http://tw.archive.ubuntu.com/ubuntu lucid-backports main restricted universe multiverse
  deb http://tw.archive.ubuntu.com/ubuntu lucid-proposed main restricted universe multiverse
  deb-src http://tw.archive.ubuntu.com/ubuntu lucid main restricted universe multiverse
  deb-src http://tw.archive.ubuntu.com/ubuntu lucid-security main restricted universe multiverse
  deb-src http://tw.archive.ubuntu.com/ubuntu lucid-updates main restricted universe multiverse
  deb-src http://tw.archive.ubuntu.com/ubuntu lucid-backports main restricted universe multiverse
  deb-src http://tw.archive.ubuntu.com/ubuntu lucid-proposed main restricted universe multiverse

  以下源支持IPV6,推荐可以使用IPV6的教育网用户使用,速度在200kb/s左右,如需源代码,将deb替换成deb-src即可
  deb http://mirror.switch.ch/ftp/ubuntu/ lucid main multiverse restricted universe
  deb http://mirror.switch.ch/ftp/ubuntu/ lucid-backports main multiverse restricted universe
  deb http://mirror.switch.ch/ftp/ubuntu/ lucid-proposed main multiverse restricted universe
  deb http://mirror.switch.ch/ftp/ubuntu/ lucid-security main multiverse restricted universe
  deb http://mirror.switch.ch/ftp/ubuntu/ lucid-updates main multiverse restricted universe
  deb http://ftp.heanet.ie/mirrors/ubuntu/ lucid main multiverse restricted universe
  deb http://ftp.heanet.ie/mirrors/ubuntu/ lucid-backports main multiverse restricted universe
  deb http://ftp.heanet.ie/mirrors/ubuntu/ lucid-proposed main multiverse restricted universe
  deb http://ftp.heanet.ie/mirrors/ubuntu/ lucid-security main multiverse restricted universe
  deb http://ftp.heanet.ie/mirrors/ubuntu/ lucid-updates main multiverse restricted universe
  deb http://ftp.kddlabs.co.jp/020/Linux/packages/ubuntu/archive/ lucid main multiverse restricted universe
  deb http://ftp.kddlabs.co.jp/020/Linux/packages/ubuntu/archive/ lucid-backports main multiverse restricted universe
  deb http://ftp.kddlabs.co.jp/020/Linux/packages/ubuntu/archive/ lucid-proposed main multiverse restricted universe
  deb http://ftp.kddlabs.co.jp/020/Linux/packages/ubuntu/archive/ lucid-security main multiverse restricted universe
  deb http://ftp.kddlabs.co.jp/020/Linux/packages/ubuntu/archive/ lucid-updates main multiverse restricted universe

作者:admin@讶究'Blog
地址:http://www.vcbeta.net/read.php/455.htm
版权所有。转载请以链接形式注明作者和原始出处及本声明!