安装源之前先备份下
sudo cp /etc/apt/sources.list /etc/apt/sources.list.backup
# 163.com deb http://mirrors.163.com/ubuntu/ oneiric main universe restricted multiverse deb-src http://mirrors.163.com/ubuntu/ oneiric main universe restricted multiverse deb http://mirrors.163.com/ubuntu/ oneiric-security universe main multiverse restricted deb-src http://mirrors.163.com/ubuntu/ oneiric-security universe main multiverse restricted deb http://mirrors.163.com/ubuntu/ oneiric-updates universe main multiverse restricted deb http://mirrors.163.com/ubuntu/ oneiric-proposed universe main multiverse restricted deb-src http://mirrors.163.com/ubuntu/ oneiric-proposed universe main multiverse restricted deb http://mirrors.163.com/ubuntu/ oneiric-backports universe main multiverse restricted deb-src http://mirrors.163.com/ubuntu/ oneiric-backports universe main multiverse restricted deb-src http://mirrors.163.com/ubuntu/ oneiric-updates universe main multiverse restricted #上海交通大学 deb http://ftp.sjtu.edu.cn/ubuntu/ oneiric main multiverse restricted universe deb http://ftp.sjtu.edu.cn/ubuntu/ oneiric-backports main multiverse restricted universe deb http://ftp.sjtu.edu.cn/ubuntu/ oneiric-proposed main multiverse restricted universe deb http://ftp.sjtu.edu.cn/ubuntu/ oneiric-security main multiverse restricted universe deb http://ftp.sjtu.edu.cn/ubuntu/ oneiric-updates main multiverse restricted universe deb http://ftp.sjtu.edu.cn/ubuntu-cn/ oneiric main multiverse restricted universe deb-src http://ftp.sjtu.edu.cn/ubuntu/ oneiric main multiverse restricted universe deb-src http://ftp.sjtu.edu.cn/ubuntu/ oneiric-backports main multiverse restricted universe deb-src http://ftp.sjtu.edu.cn/ubuntu/ oneiric-proposed main multiverse restricted universe deb-src http://ftp.sjtu.edu.cn/ubuntu/ oneiric-security main multiverse restricted universe deb-src http://ftp.sjtu.edu.cn/ubuntu/ oneiric-updates main multiverse restricted universe #中国科技大学 deb http://debian.ustc.edu.cn/ubuntu/ oneiric main restricted universe multiverse deb http://debian.ustc.edu.cn/ubuntu/ oneiric-backports restricted universe multiverse deb http://debian.ustc.edu.cn/ubuntu/ oneiric-proposed main restricted universe multiverse deb http://debian.ustc.edu.cn/ubuntu/ oneiric-security main restricted universe multiverse deb http://debian.ustc.edu.cn/ubuntu/ oneiric-updates main restricted universe multiverse deb-src http://debian.ustc.edu.cn/ubuntu/ oneiric main restricted universe multiverse deb-src http://debian.ustc.edu.cn/ubuntu/ oneiric-backports main restricted universe multiverse deb-src http://debian.ustc.edu.cn/ubuntu/ oneiric-proposed main restricted universe multiverse deb-src http://debian.ustc.edu.cn/ubuntu/ oneiric-security main restricted universe multiverse deb-src http://debian.ustc.edu.cn/ubuntu/ oneiric-updates main restricted universe multiverse #北京理工大学 deb http://mirror.bjtu.edu.cn/ubuntu/ oneiric main multiverse restricted universe deb http://mirror.bjtu.edu.cn/ubuntu/ oneiric-backports main multiverse restricted universe deb http://mirror.bjtu.edu.cn/ubuntu/ oneiric-proposed main multiverse restricted universe deb http://mirror.bjtu.edu.cn/ubuntu/ oneiric-security main multiverse restricted universe deb http://mirror.bjtu.edu.cn/ubuntu/ oneiric-updates main multiverse restricted universe deb-src http://mirror.bjtu.edu.cn/ubuntu/ oneiric main multiverse restricted universe deb-src http://mirror.bjtu.edu.cn/ubuntu/ oneiric-backports main multiverse restricted universe deb-src http://mirror.bjtu.edu.cn/ubuntu/ oneiric-proposed main multiverse restricted universe deb-src http://mirror.bjtu.edu.cn/ubuntu/ oneiric-security main multiverse restricted universe deb-src http://mirror.bjtu.edu.cn/ubuntu/ oneiric-updates main multiverse restricted universe ## the original # deb cdrom:[Ubuntu 11.10 _Oneiric Ocelot_ - Release i386 (20111012)]/ oneiric main restricted # See http://help.ubuntu.com/community/UpgradeNotes for how to upgrade to # newer versions of the distribution. deb http://hk.archive.ubuntu.com/ubuntu/ oneiric main restricted deb-src http://hk.archive.ubuntu.com/ubuntu/ oneiric main restricted ## Major bug fix updates produced after the final release of the ## distribution. deb http://hk.archive.ubuntu.com/ubuntu/ oneiric-updates main restricted deb-src http://hk.archive.ubuntu.com/ubuntu/ oneiric-updates main restricted ## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu ## team. Also, please note that software in universe WILL NOT receive any ## review or updates from the Ubuntu security team. deb http://hk.archive.ubuntu.com/ubuntu/ oneiric universe deb-src http://hk.archive.ubuntu.com/ubuntu/ oneiric universe deb http://hk.archive.ubuntu.com/ubuntu/ oneiric-updates universe deb-src http://hk.archive.ubuntu.com/ubuntu/ oneiric-updates universe ## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu ## team, and may not be under a free licence. Please satisfy yourself as to ## your rights to use the software. Also, please note that software in ## multiverse WILL NOT receive any review or updates from the Ubuntu ## security team. deb http://hk.archive.ubuntu.com/ubuntu/ oneiric multiverse deb-src http://hk.archive.ubuntu.com/ubuntu/ oneiric multiverse deb http://hk.archive.ubuntu.com/ubuntu/ oneiric-updates multiverse deb-src http://hk.archive.ubuntu.com/ubuntu/ oneiric-updates multiverse ## N.B. software from this repository may not have been tested as ## extensively as that contained in the main release, although it includes ## newer versions of some applications which may provide useful features. ## Also, please note that software in backports WILL NOT receive any review ## or updates from the Ubuntu security team. deb http://hk.archive.ubuntu.com/ubuntu/ oneiric-backports main restricted universe multiverse deb-src http://hk.archive.ubuntu.com/ubuntu/ oneiric-backports main restricted universe multiverse deb http://security.ubuntu.com/ubuntu oneiric-security main restricted deb-src http://security.ubuntu.com/ubuntu oneiric-security main restricted deb http://security.ubuntu.com/ubuntu oneiric-security universe deb-src http://security.ubuntu.com/ubuntu oneiric-security universe deb http://security.ubuntu.com/ubuntu oneiric-security multiverse deb-src http://security.ubuntu.com/ubuntu oneiric-security multiverse ## Uncomment the following two lines to add software from Canonical's ## 'partner' repository. ## This software is not part of Ubuntu, but is offered by Canonical and the ## respective vendors as a service to Ubuntu users. # deb http://archive.canonical.com/ubuntu oneiric partner # deb-src http://archive.canonical.com/ubuntu oneiric partner ## This software is not part of Ubuntu, but is offered by third-party ## developers who want to ship their latest software. deb http://extras.ubuntu.com/ubuntu oneiric main deb-src http://extras.ubuntu.com/ubuntu oneiric main