#中国科技大学
deb http://debian.ustc.edu.cn/ubuntu/ oneiric main restricteduniverse multiverse
deb http://debian.ustc.edu.cn/ubuntu/ oneiric-backports restricteduniverse multiverse
deb http://debian.ustc.edu.cn/ubuntu/ oneiric-proposed mainrestricted universe multiverse
deb http://debian.ustc.edu.cn/ubuntu/ oneiric-security mainrestricted universe multiverse
deb http://debian.ustc.edu.cn/ubuntu/ oneiric-updates mainrestricted universe multiverse
deb-src http://debian.ustc.edu.cn/ubuntu/ oneiric main restricteduniverse multiverse
deb-src http://debian.ustc.edu.cn/ubuntu/ oneiric-backports mainrestricted universe multiverse
deb-src http://debian.ustc.edu.cn/ubuntu/ oneiric-proposed mainrestricted universe multiverse
deb-src http://debian.ustc.edu.cn/ubuntu/ oneiric-security mainrestricted universe multiverse
deb-src http://debian.ustc.edu.cn/ubuntu/ oneiric-updates mainrestricted universe multiverse
#上海交通大学
deb http://ftp.sjtu.edu.cn/ubuntu/ oneiric main multiverserestricted universe
deb http://ftp.sjtu.edu.cn/ubuntu/ oneiric-backports mainmultiverse restricted universe
deb http://ftp.sjtu.edu.cn/ubuntu/ oneiric-proposed main multiverserestricted universe
deb http://ftp.sjtu.edu.cn/ubuntu/ oneiric-security main multiverserestricted universe
deb http://ftp.sjtu.edu.cn/ubuntu/ oneiric-updates main multiverserestricted universe
deb http://ftp.sjtu.edu.cn/ubuntu-cn/ oneiric main multiverserestricted universe
deb-src http://ftp.sjtu.edu.cn/ubuntu/ oneiric main multiverserestricted universe
deb-src http://ftp.sjtu.edu.cn/ubuntu/ oneiric-backports mainmultiverse restricted universe
deb-src http://ftp.sjtu.edu.cn/ubuntu/ oneiric-proposed mainmultiverse restricted universe
deb-src http://ftp.sjtu.edu.cn/ubuntu/ oneiric-security mainmultiverse restricted universe
deb-src http://ftp.sjtu.edu.cn/ubuntu/ oneiric-updates mainmultiverse restricted universe
1、备份Ubuntu 11.10源列表
2、修改更新源
sudo gedit /etc/apt/sources.list
3、将下面的代码粘贴进去(“#”开头的那一行为注释,可以直接复制进文件中)
4、通知ubuntu启用新的更新源sudoapt-get update
sudo apt-get dist-upgrade