1. 程式人生 > >ubuntu軟體更新源,更改,可提高更新的速度

ubuntu軟體更新源,更改,可提高更新的速度

更新源方法:

1. 開啟終端。單擊主選單中的“應用程式 - 附件 - 終端”。

2. 修改更新伺服器列表。請在終端中執行下面的兩條命令:

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

還原更新源:

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

   #備份原來的軟體列表,會要求輸入密碼

   sudo gedit /etc/apt/sources.list

#用gedit開啟sources.list檔案

   在接下來在開啟的文字編輯器中,把看到的內容全部刪掉,在上面Ubuntu11.04源列表裡選擇一組對於你來說速度最快的更新伺服器列表。貼上到你所看到的視窗中。這裡推薦臺灣源和網易源,更新軟體的速度很快!

4. 關閉文字編輯器。

5. 更新軟體包列表。執行下面的命令: 

sudo apt-get update

6. 安裝系統更新 

    開啟“系統->系統管理->更新管理器”,安裝更新。完成後若系統提示重新啟動,請重新啟動系統。 

下面是Ubuntu 11.04一些常見的源

#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

#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

Ubuntu11.04教育網源2011-04-29 10:09

以下是ubuntu 10.10 教育網的源:

sudo gedit /etc/apt/sources.list

#成都電子科大的源,教育網推薦

deb http://Ubuntu.uestc.edu.cn/ubuntu/ natty main restricted universe multiverse

deb http://Ubuntu.uestc.edu.cn/ubuntu/ natty-backports main restricted universe multiverse

deb http://Ubuntu.uestc.edu.cn/ubuntu/ natty-proposed main restricted universe multiverse

deb http://Ubuntu.uestc.edu.cn/ubuntu/ natty-security main restricted universe multiverse

deb http://Ubuntu.uestc.edu.cn/ubuntu/ natty-updates main restricted universe multiverse

deb-src http://Ubuntu.uestc.edu.cn/ubuntu/ natty main restricted universe multiverse

deb-src http://Ubuntu.uestc.edu.cn/ubuntu/ natty-backports main restricted universe multiverse

deb-src http://Ubuntu.uestc.edu.cn/ubuntu/ natty-proposed main restricted universe multiverse

deb-src http://Ubuntu.uestc.edu.cn/ubuntu/ natty-security main restricted universe multiverse

deb-src http://Ubuntu.uestc.edu.cn/ubuntu/ natty-updates main restricted universe multiverse

#中科大的源,教育網推薦

deb http://debian.ustc.edu.cn/Ubuntu/ natty main restricted universe multiverse

deb http://debian.ustc.edu.cn/Ubuntu/ natty-backports restricted universe multiverse

deb http://debian.ustc.edu.cn/Ubuntu/ natty-proposed main restricted universe multiverse

deb http://debian.ustc.edu.cn/Ubuntu/ natty-security main restricted universe multiverse

deb http://debian.ustc.edu.cn/Ubuntu/ natty-updates main restricted universe multiverse

deb-src http://debian.ustc.edu.cn/Ubuntu/ natty main restricted universe multiverse

deb-src http://debian.ustc.edu.cn/Ubuntu/ natty-backports main restricted universe multiverse

deb-src http://debian.ustc.edu.cn/Ubuntu/ natty-proposed main restricted universe multiverse

deb-src http://debian.ustc.edu.cn/Ubuntu/ natty-security main restricted universe multiverse

deb-src http://debian.ustc.edu.cn/Ubuntu/ natty-updates main restricted universe multiverse

#北京交大的源,教育網

deb http://mirror.bjtu.edu.cn/Ubuntu/ natty main multiverse restricted universe

deb http://mirror.bjtu.edu.cn/Ubuntu/ natty-backports main multiverse restricted universe

deb http://mirror.bjtu.edu.cn/Ubuntu/ natty-proposed main multiverse restricted universe

deb http://mirror.bjtu.edu.cn/Ubuntu/ natty-security main multiverse restricted universe

deb http://mirror.bjtu.edu.cn/Ubuntu/ natty-updates main multiverse restricted universe

deb-src http://mirror.bjtu.edu.cn/Ubuntu/ natty main multiverse restricted universe

deb-src http://mirror.bjtu.edu.cn/Ubuntu/ natty-backports main multiverse restricted universe

deb-src http://mirror.bjtu.edu.cn/Ubuntu/ natty-proposed main multiverse restricted universe

deb-src http://mirror.bjtu.edu.cn/Ubuntu/ natty-security main multiverse restricted universe

deb-src http://mirror.bjtu.edu.cn/Ubuntu/ natty-updates main multiverse restricted universe

#蘭州大學的源,教育網

deb ftp://mirror.lzu.edu.cn/Ubuntu/ natty main multiverse restricted universe

deb ftp://mirror.lzu.edu.cn/Ubuntu/ natty-backports main multiverse restricted universe

deb ftp://mirror.lzu.edu.cn/Ubuntu/ natty-proposed main multiverse restricted universe

deb ftp://mirror.lzu.edu.cn/Ubuntu/ natty-security main multiverse restricted universe

deb ftp://mirror.lzu.edu.cn/Ubuntu/ natty-updates main multiverse restricted universe

deb ftp://mirror.lzu.edu.cn/Ubuntu-cn/ natty main multiverse restricted universe

#上海交大的源

deb http://ftp.sjtu.edu.cn/Ubuntu/ natty main multiverse restricted universe

deb http://ftp.sjtu.edu.cn/Ubuntu/ natty-backports main multiverse restricted universe

deb http://ftp.sjtu.edu.cn/Ubuntu/ natty-proposed main multiverse restricted universe

deb http://ftp.sjtu.edu.cn/Ubuntu/ natty-security main multiverse restricted universe

deb http://ftp.sjtu.edu.cn/Ubuntu/ natty-updates main multiverse restricted universe

deb http://ftp.sjtu.edu.cn/Ubuntu-cn/ natty main multiverse restricted universe

deb-src http://ftp.sjtu.edu.cn/Ubuntu/ natty main multiverse restricted universe

deb-src http://ftp.sjtu.edu.cn/Ubuntu/ natty-backports main multiverse restricted universe

deb-src http://ftp.sjtu.edu.cn/Ubuntu/ natty-proposed main multiverse restricted universe

deb-src http://ftp.sjtu.edu.cn/Ubuntu/ natty-security main multiverse restricted universe

deb-src http://ftp.sjtu.edu.cn/Ubuntu/ natty-updates main multiverse restricted universe

#163的,電信教育網通用

deb http://mirrors.163.com/Ubuntu/ natty main restricted universe multiverse

deb http://mirrors.163.com/Ubuntu/ natty-security main restricted universe multiverse

deb http://mirrors.163.com/Ubuntu/ natty-updates main restricted universe multiverse

deb http://mirrors.163.com/Ubuntu/ natty-proposed main restricted universe multiverse

deb http://mirrors.163.com/Ubuntu/ natty-backports main restricted universe multiverse

deb-src http://mirrors.163.com/Ubuntu/ natty main restricted universe multiverse

deb-src http://mirrors.163.com/Ubuntu/ natty-security main restricted universe multiverse

deb-src http://mirrors.163.com/Ubuntu/ natty-updates main restricted universe multiverse

deb-src http://mirrors.163.com/Ubuntu/ natty-proposed main restricted universe multiverse

deb-src http://mirrors.163.com/Ubuntu/ natty-backports main restricted universe multiverse