1.备份source.list文件
sudo cp /etc/apt/sources.list /etc/apt/sources1.list
2.修改source.list文件
#网易的源
deb http://mirrors.163.com/ubuntu/ raring main universe restricted multiverse
deb-src http://mirrors.163.com/ubuntu/ raring main universe restricted multiverse
deb http://mirrors.163.com/ubuntu/ raring-security universe main multiverse restricted
deb-src http://mirrors.163.com/ubuntu/ raring-security universe main multiverse restricted
deb http://mirrors.163.com/ubuntu/ raring-updates universe main multiverse restricted
deb http://mirrors.163.com/ubuntu/ raring-proposed universe main multiverse restricted
deb-src http://mirrors.163.com/ubuntu/ raring-proposed universe main multiverse restricted
deb http://mirrors.163.com/ubuntu/ raring-backports universe main multiverse restricted
deb-src http://mirrors.163.com/ubuntu/ raring-backports universe main multiverse restricted
deb-src http://mirrors.163.com/ubuntu/ raring-updates universe main multiverse restricted
#搜狐的源
deb http://mirrors.sohu.com/ubuntu/ raring main restricted
deb-src http://mirrors.sohu.com/ubuntu/ raring main restricted
deb http://mirrors.sohu.com/ubuntu/ raring-updates main restricted
deb-src http://mirrors.sohu.com/ubuntu/ raring-updates main restricted
deb http://mirrors.sohu.com/ubuntu/ raring universe
deb-src http://mirrors.sohu.com/ubuntu/ raring universe
deb http://mirrors.sohu.com/ubuntu/ raring-updates universe
deb-src http://mirrors.sohu.com/ubuntu/ raring-updates universe
deb http://mirrors.sohu.com/ubuntu/ raring multiverse
deb-src http://mirrors.sohu.com/ubuntu/ raring multiverse
deb http://mirrors.sohu.com/ubuntu/ raring-updates multiverse
deb-src http://mirrors.sohu.com/ubuntu/