中国科技大学ubuntu更新镜像(测试管用,测试版本ubuntu 13.04 )
如果使用apt-get install <packagename> 命令出现
unable to locate package packagename 就需要执行命令
apt-get update 命令,如果更新不到东西可能就是您的更新源访问不了
所以需要修改您的更新源,在目录 /etc/apt/sources.list,可以把原来的东西备份
然后把下面内容放进去替换原来的文件里面所有的内容,再执行apt-get update
deb http://debian.ustc.edu.cn/ubuntu/ trusty main multiverse restricted universe
deb http://debian.ustc.edu.cn/ubuntu/ trusty-backports main multiverse restricted universe
deb http://debian.ustc.edu.cn/ubuntu/ trusty-proposed main multiverse restricted universe
deb http://debian.ustc.edu.cn/ubuntu/ trusty-security main multiverse restricted universe
deb http://debian.ustc.edu.cn/ubuntu/ trusty-updates main multiverse restricted universe
deb-src http://debian.ustc.edu.cn/ubuntu/ trusty main multiverse restricted universe
deb-src http://debian.ustc.edu.cn/ubuntu/ trusty-backports main multiverse restricted universe
deb-src http://debian.ustc.edu.cn/ubuntu/ trusty-proposed main multiverse restricted universe
deb-src http://debian.ustc.edu.cn/ubuntu/ trusty-security main multiverse restricted universe
deb-src http://debian.ustc.edu.cn/ubuntu/ trusty-updates main multiverse restricted universe