本文章采用USTC源:
配置步骤:
第一步:sudo gedit /etc/apt/sources.list (用gedit打开sources 源的文件)
第二步:对打开的sources源编辑,把原先list下的全部删除,然后粘贴以下内容,并保存
deb http://debian.ustc.edu.cn/ubuntu/ lucid main restricted universe multiverse
deb http://debian.ustc.edu.cn/ubuntu/ lucid-backports restricted universe multiverse
deb http://debian.ustc.edu.cn/ubuntu/ lucid-proposed main restricted universe multiverse
deb http://debian.ustc.edu.cn/ubuntu/ lucid-security main restricted universe multiverse
deb http://debian.ustc.edu.cn/ubuntu/ lucid-updates main restricted universe multiverse
deb-src http://debian.ustc.edu.cn/ubuntu/ lucid main restricted universe multiverse
deb-src http://debian.ustc.edu.cn/ubuntu/ lucid-backports main restricted universe multiverse
deb-src http://debian.ustc.edu.cn/ubuntu/ lucid-proposed main restricted universe multiverse
deb-src http://debian.ustc.edu.cn/ubuntu/ lucid-security main restricted universe multiverse
deb-src http://debian.ustc.edu.cn/ubuntu/ lucid-updates main restricted universe multiverse
第三步:在终端输入更新命令
sudo apt-get update && sudo apt-get upgrade
然后会自动更新了,可能会花费一点时间