Ubuntu 更换软件源方法:
1.备份一下Ubuntu 原来的源地址列表文件
sudo cp /etc/apt/sources.list /etc/apt/sources.list.old
2.修改源地址
sudo sed -i 's/us.//g' /etc/apt/sources.list
3.更新
sudo apt-get update
下面是认为一些较好的源,有大型网站的,也有教育网的,可以根据自己的情况添加两三个即可。
#网易的源(163源,无论是不是教育网,速度都很快)
deb /ubuntu/ raring main universe restricted multiverse
deb-src /ubuntu/ raring main universe restricted multiverse
deb /ubuntu/ raring-security universe main multiverse restricted
deb-src /ubuntu/ raring-security universe main multiverse restricted
deb /ubuntu/ raring-updates universe main multiverse restricted
deb /ubuntu/ raring-proposed universe main multiverse restricted
deb-src /ubuntu/ raring-proposed universe main multiverse restricted
deb /ubuntu/ raring-backports universe main multiverse restricted
deb-src /ubuntu/ raring-backports universe main multiverse restricted
deb-src /ubuntu/ raring-updates universe main multiverse restricted
#搜狐的源(sohu 源今天还没有更新,不过应该快了)
deb /ubuntu/ raring main restricted
deb-src /ubuntu/ raring main restricted
deb /ubuntu/ raring-updates main restricted
deb-src /ubuntu/ raring-updates main restricted
deb /ubuntu/ raring universe
deb-src /ubuntu/ raring universe
deb /ubuntu/ raring-updates universe
deb-src /ubuntu/ raring-updates universe
deb /ubuntu/ raring multiverse
deb-src /ubuntu/ raring multiverse
deb /ubuntu/ raring-updates multiverse
deb-src /ubuntu/ raring-updates multiverse
deb /ubuntu/ raring-backports main restricted universe multiverse
deb-src /ubuntu/ raring-backports main restricted universe multiverse
deb /ubuntu/ raring-security main restricted
deb-src /ubuntu/ raring-security main restricted
deb /ubuntu/ raring-security universe
deb-src /ubuntu/ raring-security universe
deb /ubuntu/ raring-security multiverse
deb-src /ubuntu/ raring-security multiverse
deb /ubuntu raring main
deb-src /ubuntu raring main
#台湾源(台湾的ubuntu 更新源还是很给力的)
deb http://tw./ubuntu/ raring main universe restricted multiverse
deb-src http://tw./ubuntu/ raring main universe restricted multiverse
deb http://tw./ubuntu/ raring-security universe main multiverse restricted
deb-src http://tw./ubuntu/ raring-security universe main multiverse restricted
deb http://tw./ubuntu/ raring-updates universe main multiverse restricted
deb-src http://tw./ubuntu/ raring-updates universe main multiverse restricted
#骨头源,骨头源是bones7456架设的一个Ubuntu源 ,提供ubuntu,deepin
deb /ubuntu/ raring main universe restricted multiverse
deb-src /ubuntu/ raring main universe restricted multiverse
deb /ubuntu/ raring-security universe main multiverse restricted
deb-src /ubuntu/ raring-security universe main multiverse restricted
deb /ubuntu/ raring-updates universe main multiverse restricted
deb /ubuntu/ raring-proposed universe main multiverse restricted
deb-src /ubuntu/ raring-proposed universe main multiverse restricted
deb /ubuntu/ raring-backports universe main multiverse restricted
deb-src /ubuntu/ raring-backports universe main multiverse restricted
deb-src /ubuntu/ raring-updates universe main multiverse restricted
#源(推荐):
deb /ubuntu/ raring main restricted universe multiverse
deb /ubuntu/ raring-updates main restricted universe multiverse
deb /ubuntu/ raring-security main restricted universe multiverse
deb /ubuntu/ raring-backports main restricted universe multiverse
deb /ubuntu-cn/ raring main restricted universe multiverse
#教育网源
#电子科技大学
deb http://ubuntu./ubuntu/ raring main restricted universe multiverse
deb http://ubuntu./ubuntu/ raring-backports main restricted universe multiverse
deb http://ubuntu./ubuntu/ raring-proposed main restricted universe multiverse
deb http://ubuntu./ubuntu/ raring-security main restricted universe multiverse
deb http://ubuntu./ubuntu/ raring-updates main restricted universe multiverse
deb-src http://ubuntu./ubuntu/ raring main restricted universe multiverse
deb-src http://ubuntu./ubuntu/ raring-backports main restricted universe multiverse
deb-src http://ubuntu./ubuntu/ raring-proposed main restricted universe multiverse
deb-src http://ubuntu./ubuntu/ raring-security main restricted universe multiverse
deb-src http://ubuntu./ubuntu/ raring-updates main restricted universe multiverse
#中国科技大学
deb http://debian./ubuntu/ raring main restricted universe multiverse
deb http://debian./ubuntu/ raring-backports restricted universe multiverse
deb http://debian./ubuntu/ raring-proposed main restricted universe multiverse
deb http://debian./ubuntu/ raring-security main restricted universe multiverse
deb http://debian./ubuntu/ raring-updates main restricted universe multiverse
deb-src http://debian./ubuntu/ raring main restricted universe multiverse
deb-src http://debian./ubuntu/ raring-backports main restricted universe multiverse
deb-src http://debian./ubuntu/ raring-proposed main restricted universe multiverse
deb-src http://debian./ubuntu/ raring-security main restricted universe multiverse
deb-src http://debian./ubuntu/ raring-updates main restricted universe multiverse
#北京理工大学
deb http://mirror./ubuntu/ raring main multiverse restricted universe
deb http://mirror./ubuntu/ raring-backports main multiverse restricted universe
deb http://mirror./ubuntu/ raring-proposed main multiverse restricted universe
deb http://mirror./ubuntu/ raring-security main multiverse restricted universe
deb http://mirror./ubuntu/ raring-updates main multiverse restricted universe
deb-src http://mirror./ubuntu/ raring main multiverse restricted universe
deb-src http://mirror./ubuntu/ raring-backports main multiverse restricted universe
deb-src http://mirror./ubuntu/ raring-proposed main multiverse restricted universe
deb-src http://mirror./ubuntu/ raring-security main multiverse restricted universe
deb-src http://mirror./ubuntu/ raring-updates main multiverse restricted universe
#兰州大学
deb ftp://mirror./ubuntu/ raring main multiverse restricted universe
deb ftp://mirror./ubuntu/ raring-backports main multiverse restricted universe
deb ftp://mirror./ubuntu/ raring-proposed main multiverse restricted universe
deb ftp://mirror./ubuntu/ raring-security main multiverse restricted universe
deb ftp://mirror./ubuntu/ raring-updates main multiverse restricted universe
deb ftp://mirror./ubuntu-cn/ raring main multiverse restricted universe
#上海交通大学(上海交大源,教育网的速度不用说了)
deb http://ftp./ubuntu/ raring main multiverse restricted universe
deb http://ftp./ubuntu/ raring-backports main multiverse restricted universe
deb http://ftp./ubuntu/ raring-proposed main multiverse restricted universe
deb http://ftp./ubuntu/ raring-security main multiverse restricted universe
deb http://ftp./ubuntu/ raring-updates main multiverse restricted universe
deb http://ftp./ubuntu-cn/ raring main multiverse restricted universe
deb-src http://ftp./ubuntu/ raring main multiverse restricted universe
deb-src http://ftp./ubuntu/ raring-backports main multiverse restricted universe
deb-src http://ftp./ubuntu/ raring-proposed main multiverse restricted universe
deb-src http://ftp./ubuntu/ raring-security main multiverse restricted universe
deb-src http://ftp./ubuntu/ raring-updates main multiverse restricted universe
添加好后保存,再输入sudo apt-get update更新,等着慢慢下载东西吧。