【转】为Ubuntu 10.10添加更新源

原文:http://www.ylmf.net/ubuntu/tips/2010123019307.html

安装了最新版的Ubuntu之后,本人就开始了Ubuntu 10.10的折腾之旅。客观的说,启动速度和关机速度还是相当快的。打开Firefox之后的第一件事就是安装五笔输入法,没有软件源的Ubuntu显示很是无能为力,那就添加比较快的Ubuntu 10.10的更新源,下面就是apt-get的天下了。

  1、备份原来的Ubuntu 10.10源

  sudo cp /etc/apt/sources.list /etc/apt/sources.list.bk

  2、添加Ubuntu 10.10更新源(见图1)

  sudo gedit /etc/apt/sources.list

  

  图1

  编辑你的源列表,将原来的内容全部删除,添加第2页列表中最适合你的源(注意不要全部添加),选择一个最合适你的即可,复制到你的列表中,然后保存列表。

  3、更新源列表信息(见图2)

  sudo apt-get update

  

 

 

  #官方的Ubuntu 10.10要保留几个用于紧急更新

  deb http://security.Ubuntu.com/ubuntu maverick-security main restricted

  deb-src http://security.Ubuntu.com/ubuntu maverick-security main restricted

  deb http://security.Ubuntu.com/ubuntu maverick-security universe

  deb-src http://security.Ubuntu.com/ubuntu maverick-security universe

  deb http://security.Ubuntu.com/ubuntu maverick-security multiverse

  deb-src http://security.Ubuntu.com/ubuntu maverick-security multiverse

  #sohu的源

  deb http://mirrors.sohu.com/Ubuntu/ maverick main restricted

  deb-src http://mirrors.sohu.com/Ubuntu/ maverick main restricted

  deb http://mirrors.sohu.com/Ubuntu/ maverick-updates main restricted

  deb-src http://mirrors.sohu.com/Ubuntu/ maverick-updates main restricted

  deb http://mirrors.sohu.com/Ubuntu/ maverick universe

  deb-src http://mirrors.sohu.com/Ubuntu/ maverick universe

  deb http://mirrors.sohu.com/Ubuntu/ maverick-updates universe

  deb-src http://mirrors.sohu.com/Ubuntu/ maverick-updates universe

  deb http://mirrors.sohu.com/Ubuntu/ maverick multiverse

  deb-src http://mirrors.sohu.com/Ubuntu/ maverick multiverse

  deb http://mirrors.sohu.com/Ubuntu/ maverick-updates multiverse

  deb-src http://mirrors.sohu.com/Ubuntu/ maverick-updates multiverse

  #中国台湾的源

  deb http://security.Ubuntu.com/ubuntu/ maverick-security universe main multiverse restricted

  deb-src http://tw.archive.Ubuntu.com/ubuntu/ maverick-security universe main multiverse restricted

  deb http://tw.archive.Ubuntu.com/ubuntu/ maverick main universe restricted multiverse

  deb-src http://tw.archive.Ubuntu.com/ubuntu/ maverick main universe restricted multiverse

  deb http://tw.archive.Ubuntu.com/ubuntu/ maverick-updates universe main multiverse restricted

  deb-src http://tw.archive.Ubuntu.com/ubuntu/ maverick-updates universe main multiverse restricted

  deb http://tw.archive.Ubuntu.com/ubuntu/ maverick-proposed universe main multiverse restricted

  deb-src http://tw.archive.Ubuntu.com/ubuntu/ maverick-proposed universe main multiverse restricted

 

 

你可能感兴趣的:(forwards)