1、cd /etc/apt
2、sudo mv sources.list sources.list.old
3、sudo vim sources.list
然后将Ubuntu对应版本的软件源写入, 软件源地址:http://wiki.ubuntu.org.cn/index.php?title=%E6%BA%90%E5%88%97%E8%A1%A8&variant=zh-cn
4、sudo apt-get update
详细说明请看:Ubuntu Night :http://wiki.ubuntu.org.cn/index.php?title=%E6%BA%90%E5%88%97%E8%A1%A8&variant=zh-cn
搜狐更新服务器(山东联通千兆接入,官方中国大陆地区镜像跳转至此) ,包含其他开源镜像
deb http://mirrors.sohu.com/ubuntu/ quantal main restricted universe multiverse deb http://mirrors.sohu.com/ubuntu/ quantal-security main restricted universe multiverse deb http://mirrors.sohu.com/ubuntu/ quantal-updates main restricted universe multiverse deb http://mirrors.sohu.com/ubuntu/ quantal-proposed main restricted universe multiverse deb http://mirrors.sohu.com/ubuntu/ quantal-backports main restricted universe multiverse deb-src http://mirrors.sohu.com/ubuntu/ quantal main restricted universe multiverse deb-src http://mirrors.sohu.com/ubuntu/ quantal-security main restricted universe multiverse deb-src http://mirrors.sohu.com/ubuntu/ quantal-updates main restricted universe multiverse deb-src http://mirrors.sohu.com/ubuntu/ quantal-proposed main restricted universe multiverse deb-src http://mirrors.sohu.com/ubuntu/ quantal-backports main restricted universe multiverse