编辑文件
SHELL
1vim /etc/apt/sources.listvim /etc/apt/sources.list
添加镜像源
TEXT
1deb http://mirrors.ustc.edu.cn/debian stretch main contrib non-free
2deb http://mirrors.ustc.edu.cn/debian stretch-updates main contrib non-free
3deb http://mirrors.ustc.edu.cn/debian stretch-backports main contrib non-free
4deb http://mirrors.ustc.edu.cn/debian-security/ stretch/updates main contrib non-freedeb http://mirrors.ustc.edu.cn/debian stretch main contrib non-free deb http://mirrors.ustc.edu.cn/debian stretch-updates main contrib non-free deb http://mirrors.ustc.edu.cn/debian stretch-backports main contrib non-free deb http://mirrors.ustc.edu.cn/debian-security/ stretch/updates main contrib non-free
更新apt
SHELL
1apt-get updateapt-get update