更新源的方法:
1. 打开终端:单击主菜单中的“应用程序 - 附件 - 终端”。
2. 修改更新服务器列表。请在终端中执行下面的两条命令:

  #首先备份原来的软件列表,会要求输入密码

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

  #然后用gedit打开sources.list文件

  sudo gedit /etc/apt/sources.list

在接下来在打开的文本编辑器中,把看到的内容全部删掉,在下面Ubuntu11.04源列表里,选择一组对于你来说速度最快的更新服务器列表。粘贴到你所看到的窗口中。这里推荐台湾源和网易源,更新软件的速度很快!
4. 保存并关闭文本编辑器。
5. 然后执行下面的命令更新软件包列表:

  sudo apt-get update
6. 安装系统更新

打开“系统->系统管理->更新管理器”,安装更新。完成后若系统提示重新启动,请重新启动系统。

#Ubuntu 11.04台湾源(推荐)
deb http://tw.archive.Ubuntu.com/ubuntu/ natty main universe restricted multiverse
deb-src http://tw.archive.Ubuntu.com/ubuntu/ natty main universe restricted multiverse
deb http://tw.archive.Ubuntu.com/ubuntu/ natty-security universe main multiverse restricted
deb-src http://tw.archive.Ubuntu.com/ubuntu/ natty-security universe main multiverse restricted
deb http://tw.archive.Ubuntu.com/ubuntu/ natty-updates universe main multiverse restricted
deb-src http://tw.archive.Ubuntu.com/ubuntu/ natty-updates universe main multiverse restricted
#SRT Sources
deb http://Ubuntu.srt.cn/ubuntu/ natty main restricted universe multiverse
deb http://Ubuntu.srt.cn/ubuntu/ natty-security main restricted universe multiverse
deb http://Ubuntu.srt.cn/ubuntu/ natty-updates main restricted universe multiverse
deb http://Ubuntu.srt.cn/ubuntu/ natty-proposed main restricted universe multiverse
deb http://Ubuntu.srt.cn/ubuntu/ natty-backports main restricted universe multiverse
deb-src http://Ubuntu.srt.cn/ubuntu/ natty main restricted universe multiverse
deb-src http://Ubuntu.srt.cn/ubuntu/ natty-security main restricted universe multiverse
deb-src http://Ubuntu.srt.cn/ubuntu/ natty-updates main restricted universe multiverse
deb-src http://Ubuntu.srt.cn/ubuntu/ natty-proposed main restricted universe multiverse
deb-src http://Ubuntu.srt.cn/ubuntu/ natty-backports main restricted universe multiverse

#Ubuntu11.04网易源(速度很快、推荐)
deb http://mirrors.163.com/Ubuntu/ natty main universe restricted multiverse
deb-src http://mirrors.163.com/Ubuntu/ natty main universe restricted multiverse
deb http://mirrors.163.com/Ubuntu/ natty-security universe main multiverse restricted
deb-src http://mirrors.163.com/Ubuntu/ natty-security universe main multiverse restricted
deb http://mirrors.163.com/Ubuntu/ natty-updates universe main multiverse restricted
deb http://mirrors.163.com/Ubuntu/ natty-proposed universe main multiverse restricted
deb-src http://mirrors.163.com/Ubuntu/ natty-proposed universe main multiverse restricted
deb http://mirrors.163.com/Ubuntu/ natty-backports universe main multiverse restricted
deb-src http://mirrors.163.com/Ubuntu/ natty-backports universe main multiverse restricted
deb-src http://mirrors.163.com/Ubuntu/ natty-updates universe main multiverse restricted

#Ubuntu11.04上海源
deb http://mirror.rootguide.org/Ubuntu/ natty main universe restricted multiverse
deb-src http://mirror.rootguide.org/Ubuntu/ natty main universe restricted multiverse
deb http://mirror.rootguide.org/Ubuntu/ natty-security universe main multiverse restricted
deb-src http://mirror.rootguide.org/Ubuntu/ natty-security universe main multiverse restricted
deb http://mirror.rootguide.org/Ubuntu/ natty-updates universe main multiverse restricted
deb http://mirror.rootguide.org/Ubuntu/ natty-proposed universe main multiverse restricted
deb-src http://mirror.rootguide.org/Ubuntu/ natty-proposed universe main multiverse restricted
deb http://mirror.rootguide.org/Ubuntu/ natty-backports universe main multiverse restricted
deb-src http://mirror.rootguide.org/Ubuntu/ natty-backports universe main multiverse restricted
deb-src http://mirror.rootguide.org/Ubuntu/ natty-updates universe main multiverse restricted

#Ubuntu 11.04 搜狐源
deb http://mirrors.shlug.org/Ubuntu/ natty main universe restricted multiverse
deb-src http://mirrors.shlug.org/Ubuntu/ natty main universe restricted multiverse
deb http://mirrors.shlug.org/Ubuntu/ natty-security universe main multiverse restricted
deb-src http://mirrors.shlug.org/Ubuntu/ natty-security universe main multiverse restricted
deb http://mirrors.shlug.org/Ubuntu/ natty-updates universe main multiverse restricted
deb http://mirrors.shlug.org/Ubuntu/ natty-proposed universe main multiverse restricted
deb-src http://mirrors.shlug.org/Ubuntu/ natty-proposed universe main multiverse restricted
deb http://mirrors.shlug.org/Ubuntu/ natty-backports universe main multiverse restricted
deb-src http://mirrors.shlug.org/Ubuntu/ natty-backports universe main multiverse restricted
deb-src http://mirrors.shlug.org/Ubuntu/ natty-updates universe main multiverse restricted

#Ubuntu 11.04 骨头源 (bones7456架设的一个Ubuntu源 ,提供ubuntu,deepin)
deb http://Ubuntu.srt.cn/ubuntu/ natty main universe restricted multiverse
deb-src http://Ubuntu.srt.cn/ubuntu/ natty main universe restricted multiverse
deb http://Ubuntu.srt.cn/ubuntu/ natty-security universe main multiverse restricted
deb-src http://Ubuntu.srt.cn/ubuntu/ natty-security universe main multiverse restricted
deb http://Ubuntu.srt.cn/ubuntu/ natty-updates universe main multiverse restricted
deb http://Ubuntu.srt.cn/ubuntu/ natty-proposed universe main multiverse restricted
deb-src http://Ubuntu.srt.cn/ubuntu/ natty-proposed universe main multiverse restricted
deb http://Ubuntu.srt.cn/ubuntu/ natty-backports universe main multiverse restricted
deb-src http://Ubuntu.srt.cn/ubuntu/ natty-backports universe main multiverse restricted
deb-src http://Ubuntu.srt.cn/ubuntu/ natty-updates universe main multiverse restricted

#Ubuntu官方源
deb http://cn.archive.Ubuntu.com/ubuntu/ natty multiverse
deb-src http://cn.archive.Ubuntu.com/ubuntu/ natty multiverse
deb http://cn.archive.Ubuntu.com/ubuntu/ natty-updates multiverse
deb-src http://cn.archive.Ubuntu.com/ubuntu/ natty-updates multiverse
deb http://security.Ubuntu.com/ubuntu natty-security main restricted
deb-src http://security.Ubuntu.com/ubuntu natty-security main restricted
deb http://security.Ubuntu.com/ubuntu natty-security universe
deb-src http://security.Ubuntu.com/ubuntu natty-security universe
deb http://security.Ubuntu.com/ubuntu natty-security multiverse
deb-src http://security.Ubuntu.com/ubuntu natty-security multiverse
deb http://archive.canonical.com/Ubuntu natty partner
deb-src http://archive.canonical.com/Ubuntu natty partner



© 活着的博客 - 李权辉的个人博客:人,终究是生活在现实之中,是为了活着而生活.