标签:文件备份 style track ubuntu cte data title tracking art
1、原文件备份
sudo cp /etc/apt/sources.list /etc/apt/sources.list.bak
2、编辑源列表文件
sudo vim /etc/apt/sources.list
3、将原来的列表删除,添加如下内容(中科大镜像源)
1 deb http://mirrors.ustc.edu.cn/ubuntu/ xenial main restricted universe multiverse 2 deb http://mirrors.ustc.edu.cn/ubuntu/ xenial-security main restricted universe multiverse 3 deb http://mirrors.ustc.edu.cn/ubuntu/ xenial-updates main restricted universe multiverse 4 deb http://mirrors.ustc.edu.cn/ubuntu/ xenial-proposed main restricted universe multiverse 5 deb http://mirrors.ustc.edu.cn/ubuntu/ xenial-backports main restricted universe multiverse 6 deb-src http://mirrors.ustc.edu.cn/ubuntu/ xenial main restricted universe multiverse 7 deb-src http://mirrors.ustc.edu.cn/ubuntu/ xenial-security main restricted universe multiverse 8 deb-src http://mirrors.ustc.edu.cn/ubuntu/ xenial-updates main restricted universe multiverse 9 deb-src http://mirrors.ustc.edu.cn/ubuntu/ xenial-proposed main restricted universe multiverse 10 deb-src http://mirrors.ustc.edu.cn/ubuntu/ xenial-backports main restricted universe multiverse
4、运行sudo apt-get update
【Ubuntu】修改Ubuntu的apt-get源为国内镜像源的方法
标签:文件备份 style track ubuntu cte data title tracking art
原文地址:https://www.cnblogs.com/zlqw/p/9075950.html