sudo cp /etc/apt/sources.list /etc/apt/sources.list_bak而後
sudo gedit /etc/apt/sources.list在打開的頁面裏面添加你的源:
Archive.ubuntu.com更新服務器(歐洲,此爲官方源,電信網通用戶使用): java
deb http://archive.ubuntu.com/ubuntu/ hardy main restricted universe multiverse deb http://archive.ubuntu.com/ubuntu/ hardy-security main restricted universe m ultiverse deb http://archive.ubuntu.com/ubuntu/ hardy-updates main restricted universe multiverse deb http://archive.ubuntu.com/ubuntu/ hardy-proposed main restricted universe multiverse deb http://archive.ubuntu.com/ubuntu/ hardy-backports main restricted universe multiverse deb-src http://archive.ubuntu.com/ubuntu/ hardy main restricted universe multiverse deb-src http://archive.ubuntu.com/ubuntu/ hardy-security main restricted universe multiverse deb-src http://archive.ubuntu.com/ubuntu/ hardy-updates main restricted universe multiverse deb-src http://archive.ubuntu.com/ubuntu/ hardy-proposed main restricted universe multiverse deb-src http://archive.ubuntu.com/ubuntu/ hardy-backports main restricted universe multiverse
Ubuntu.cn99.com更新服務器(江蘇省常州市電信,推薦電信用戶使用): shell
deb http://ubuntu.cn99.com/ubuntu/ hardy main restricted universe multiverse deb http://ubuntu.cn99.com/ubuntu/ hardy-security main restricted universe multiverse deb http://ubuntu.cn99.com/ubuntu/ hardy-updates main restricted universe multiverse deb http://ubuntu.cn99.com/ubuntu/ hardy-proposed main restricted universe multiverse deb http://ubuntu.cn99.com/ubuntu/ hardy-backports main restricted universe multiverse deb-src http://ubuntu.cn99.com/ubuntu/ hardy main restricted universe multiverse deb-src http://ubuntu.cn99.com/ubuntu/ hardy-security main restricted universe multiverse deb-src http://ubuntu.cn99.com/ubuntu/ hardy-updates main restricted universe multiverse deb-src http://ubuntu.cn99.com/ubuntu/ hardy-proposed main restricted universe multiverse deb-src http://ubuntu.cn99.com/ubuntu/ hardy-backports main restricted universe multivers
網易163更新服務器: ubuntu
deb http://mirrors.163.com/ubuntu/ hardy main restricted universe multiverse deb http://mirrors.163.com/ubuntu/ hardy-security main restricted universe multiverse deb http://mirrors.163.com/ubuntu/ hardy-updates main restricted universe multiverse deb http://mirrors.163.com/ubuntu/ hardy-proposed main restricted universe multiverse deb http://mirrors.163.com/ubuntu/ hardy-backports main restricted universe multiverse deb-src http://mirrors.163.com/ubuntu/ hardy main restricted universe multiverse deb-src http://mirrors.163.com/ubuntu/ hardy-security main restricted universe multiverse deb-src http://mirrors.163.com/ubuntu/ hardy-updates main restricted universe multiverse deb-src http://mirrors.163.com/ubuntu/ hardy-proposed main restricted universe multiverse deb-src http://mirrors.163.com/ubuntu/ hardy-backports main restricted universe multiverse *********************** deb http://mirrors.163.com/ubuntu/ precise main restricted deb-src http://mirrors.163.com/ubuntu/ precise main restricted deb http://mirrors.163.com/ubuntu/ precise-updates main restricted deb-src http://mirrors.163.com/ubuntu/ precise-updates main restricted deb http://mirrors.163.com/ubuntu/ precise universe deb-src http://mirrors.163.com/ubuntu/ precise universe deb http://mirrors.163.com/ubuntu/ precise-updates universe deb-src http://mirrors.163.com/ubuntu/ precise-updates universe deb http://mirrors.163.com/ubuntu/ precise multiverse deb-src http://mirrors.163.com/ubuntu/ precise multiverse deb http://mirrors.163.com/ubuntu/ precise-updates multiverse deb-src http://mirrors.163.com/ubuntu/ precise-updates multiverse deb http://mirrors.163.com/ubuntu/ precise-backports main restricted universe multiverse deb-src http://mirrors.163.com/ubuntu/ precise-backports main restricted universe multiverse deb http://mirrors.163.com/ubuntu/ precise-security main restricted deb-src http://mirrors.163.com/ubuntu/ precise-security main restricted deb http://mirrors.163.com/ubuntu/ precise-security universe deb-src http://mirrors.163.com/ubuntu/ precise-security universe deb http://mirrors.163.com/ubuntu/ precise-security multiverse deb-src http://mirrors.163.com/ubuntu/ precise-security multiverse deb http://extras.ubuntu.com/ubuntu precise main deb-src http://extras.ubuntu.com/ubuntu precise main *****************************************
Mirrors.shlug.org更新服務器(電信服務器,Ubuntu China Official Mirror, maintained by Shanghai Linux User Group): 服務器
deb http://cn.archive.ubuntu.com/ubuntu hardy main restricted universe multiverse deb http://cn.archive.ubuntu.com/ubuntu hardy-security main restricted universe multiverse deb http://cn.archive.ubuntu.com/ubuntu hardy-updates main restricted universe multiverse deb http://cn.archive.ubuntu.com/ubuntu hardy-backports main restricted universe multiverse deb http://cn.archive.ubuntu.com/ubuntu hardy-proposed main restricted universe multiverse deb-src http://cn.archive.ubuntu.com/ubuntu hardy main restricted universe multiverse deb-src http://cn.archive.ubuntu.com/ubuntu hardy-security main restricted universe multiverse deb-src http://cn.archive.ubuntu.com/ubuntu hardy-updates main restricted universe multiverse deb-src http://cn.archive.ubuntu.com/ubuntu hardy-backports main restricted universe multiverse deb-src http://cn.archive.ubuntu.com/ubuntu hardy-proposed main restricted universe multiverse
Mirror.lupaworld.com更新服務器(浙江省杭州市雙線服務器): ide
deb http://mirror.lupaworld.com/ubuntu hardy main restricted universe multiverse deb http://mirror.lupaworld.com/ubuntu hardy-security main restricted universe multiverse deb http://mirror.lupaworld.com/ubuntu hardy-updates main restricted universe multiverse deb http://mirror.lupaworld.com/ubuntu hardy-backports main restricted universe multiverse deb http://mirror.lupaworld.com/ubuntu hardy-proposed main restricted universe multiverse deb-src http://mirror.lupaworld.com/ubuntu hardy main restricted universe multiverse deb-src http://mirror.lupaworld.com/ubuntu hardy-security main restricted universe multiverse deb-src http://mirror.lupaworld.com/ubuntu hardy-updates main restricted universe multiverse deb-src http://mirror.lupaworld.com/ubuntu hardy-backports main restricted universe multiverse deb-src http://mirror.lupaworld.com/ubuntu hardy-proposed main restricted universe multiverse
廈門大學更新服務器(教育網服務器): ui
deb ftp://ubuntu.realss.cn/ubuntu/ hardy main restricted universe multiverse deb ftp://ubuntu.realss.cn/ubuntu/ hardy-backports restricted universe multiverse deb ftp://ubuntu.realss.cn/ubuntu/ hardy-proposed main restricted universe multiverse deb ftp://ubuntu.realss.cn/ubuntu/ hardy-security main restricted universe multiverse deb ftp://ubuntu.realss.cn/ubuntu/ hardy-updates main restricted universe multiverse deb-src ftp://ubuntu.realss.cn/ubuntu/ hardy main restricted universe multiverse deb-src ftp://ubuntu.realss.cn/ubuntu/ hardy-backports main restricted universe multiverse deb-src ftp://ubuntu.realss.cn/ubuntu/ hardy-proposed main restricted universe multiverse deb-src ftp://ubuntu.realss.cn/ubuntu/ hardy-security main restricted universe multiverse deb-src ftp://ubuntu.realss.cn/ubuntu/ hardy-updates main restricted universe multiverse
成都市 電子科技大學更新服務器(教育網,推薦校園網和網通用戶使用): spa
deb http://ubuntu.uestc.edu.cn/ubuntu/ hardy main multiverse restricted universe deb http://ubuntu.uestc.edu.cn/ubuntu/ hardy-backports main multiverse restricted universe deb http://ubuntu.uestc.edu.cn/ubuntu/ hardy-proposed main multiverse restricted universe deb http://ubuntu.uestc.edu.cn/ubuntu/ hardy-security main multiverse restricted universe deb http://ubuntu.uestc.edu.cn/ubuntu/ hardy-updates main multiverse restricted universe deb-src http://ubuntu.uestc.edu.cn/ubuntu/ hardy main multiverse restricted universe deb-src http://ubuntu.uestc.edu.cn/ubuntu/ hardy-backports main multiverse restricted universe deb-src http://ubuntu.uestc.edu.cn/ubuntu/ hardy-proposed main multiverse restricted universe deb-src http://ubuntu.uestc.edu.cn/ubuntu/ hardy-security main multiverse restricted universe deb-src http://ubuntu.uestc.edu.cn/ubuntu/ hardy-updates main multiverse restricted universe
deb http://ubuntu.dormforce.net/ubuntu/ hardy main multiverse restricted universe deb http://ubuntu.dormforce.net/ubuntu/ hardy-backports main multiverse restricted universe deb http://ubuntu.dormforce.net/ubuntu/ hardy-proposed main multiverse restricted universe deb http://ubuntu.dormforce.net/ubuntu/ hardy-security main multiverse restricted universe deb http://ubuntu.dormforce.net/ubuntu/ hardy-updates main multiverse restricted universe deb-src http://ubuntu.dormforce.net/ubuntu/ hardy main multiverse restricted universe deb-src http://ubuntu.dormforce.net/ubuntu/ hardy-backports main multiverse restricted universe deb-src http://ubuntu.dormforce.net/ubuntu/ hardy-proposed main multiverse restricted universe deb-src http://ubuntu.dormforce.net/ubuntu/ hardy-security main multiverse restricted universe deb-src http://ubuntu.dormforce.net/ubuntu/ hardy-updates main multiverse restricted universe
上海市上海交通大學更新服務器(教育網,推薦校園網和網通用戶使用): .net
deb http://ftp.sjtu.edu.cn/ubuntu/ hardy main multiverse restricted universe deb http://ftp.sjtu.edu.cn/ubuntu/ hardy-backports main multiverse restricted universe deb http://ftp.sjtu.edu.cn/ubuntu/ hardy-proposed main multiverse restricted universe deb http://ftp.sjtu.edu.cn/ubuntu/ hardy-security main multiverse restricted universe deb http://ftp.sjtu.edu.cn/ubuntu/ hardy-updates main multiverse restricted universe deb-src http://ftp.sjtu.edu.cn/ubuntu/ hardy main multiverse restricted universe deb-src http://ftp.sjtu.edu.cn/ubuntu/ hardy-backports main multiverse restricted universe deb-src http://ftp.sjtu.edu.cn/ubuntu/ hardy-proposed main multiverse restricted universe deb-src http://ftp.sjtu.edu.cn/ubuntu/ hardy-security main multiverse restricted universe deb-src http://ftp.sjtu.edu.cn/ubuntu/ hardy-updates main multiverse restricted universe
中國科學技術大學更新服務器(教育網,推薦校園網和網通用戶使用): rest
deb http://debian.ustc.edu.cn/ubuntu/ hardy main multiverse restricted universe deb http://debian.ustc.edu.cn/ubuntu/ hardy-backports main multiverse restricted universe deb http://debian.ustc.edu.cn/ubuntu/ hardy-proposed main multiverse restricted universe deb http://debian.ustc.edu.cn/ubuntu/ hardy-security main multiverse restricted universe deb http://debian.ustc.edu.cn/ubuntu/ hardy-updates main multiverse restricted universe deb-src http://debian.ustc.edu.cn/ubuntu/ hardy main multiverse restricted universe deb-src http://debian.ustc.edu.cn/ubuntu/ hardy-backports main multiverse restricted universe deb-src http://debian.ustc.edu.cn/ubuntu/ hardy-proposed main multiverse restricted universe deb-src http://debian.ustc.edu.cn/ubuntu/ hardy-security main multiverse restricted universe deb-src http://debian.ustc.edu.cn/ubuntu/ hardy-updates main multiverse restricted universe
中國臺灣 臺灣大學更新服務器(推薦網通用戶使用,電信PING平均響應速度41MS。強烈推薦此源,比較完整,較少出現同步問題): code
deb http://ubuntu.csie.ntu.edu.tw/ubuntu/ hardy main restricted universe multiverse deb-src http://ubuntu.csie.ntu.edu.tw/ubuntu/ hardy main restricted universe multiverse deb http://ubuntu.csie.ntu.edu.tw/ubuntu/ hardy-updates main restricted universe multiverse deb-src http://ubuntu.csie.ntu.edu.tw/ubuntu/ hardy-updates main restricted universe multiverse deb http://ubuntu.csie.ntu.edu.tw/ubuntu/ hardy-backports main restricted universe multiverse deb-src http://ubuntu.csie.ntu.edu.tw/ubuntu/ hardy-backports main restricted universe multiverse deb http://ubuntu.csie.ntu.edu.tw/ubuntu/ hardy-security main restricted universe multiverse deb-src http://ubuntu.csie.ntu.edu.tw/ubuntu/ hardy-security main restricted universe multiverse deb http://ubuntu.csie.ntu.edu.tw/ubuntu/ hardy-proposed main multiverse restricted universe deb-src http://ubuntu.csie.ntu.edu.tw/ubuntu/ hardy-proposed main restricted universe multiverse
mirror.rootguide.org更新服務器(上海市 電信):
deb http://mirror.rootguide.org/ubuntu/ hardy main restricted universe multiverse deb-src http://mirror.rootguide.org/ubuntu/ hardy main restricted universe multiverse deb http://mirror.rootguide.org/ubuntu/ hardy-updates main restricted universe multiverse deb-src http://mirror.rootguide.org/ubuntu/ hardy-updates main restricted universe multiverse deb http://mirror.rootguide.org/ubuntu/ hardy-backports main restricted universe multiverse deb-src http://mirror.rootguide.org/ubuntu/ hardy-backports main restricted universe multiverse deb http://mirror.rootguide.org/ubuntu/ hardy-security main restricted universe multiverse deb-src http://mirror.rootguide.org/ubuntu/ hardy-security main restricted universe multiverse deb http://mirror.rootguide.org/ubuntu/ hardy-proposed main multiverse restricted universe deb-src http://mirror.rootguide.org/ubuntu/ hardy-proposed main restricted universe multiverse
臺灣的官方源速度也至關不錯,有時甚至快於內地的:
deb http://tw.archive.ubuntu.com/ubuntu hardy main restricted universe multiverse deb http://tw.archive.ubuntu.com/ubuntu hardy-security main restricted universe multiverse deb http://tw.archive.ubuntu.com/ubuntu hardy-updates main restricted universe multiverse deb http://tw.archive.ubuntu.com/ubuntu hardy-backports main restricted universe multiverse deb http://tw.archive.ubuntu.com/ubuntu hardy-proposed main restricted universe multiverse deb-src http://tw.archive.ubuntu.com/ubuntu hardy main restricted universe multiverse deb-src http://tw.archive.ubuntu.com/ubuntu hardy-security main restricted universe multiverse deb-src http://tw.archive.ubuntu.com/ubuntu hardy-updates main restricted universe multiverse deb-src http://tw.archive.ubuntu.com/ubuntu hardy-backports main restricted universe multiverse deb-src http://tw.archive.ubuntu.com/ubuntu hardy-proposed main restricted universe multiverse添加完源之後注意保存。 最後更新你的軟件列表
sudo apt-get update sudo apt-get dist-upgrade