直接编辑 /etc/apt/sources.list
文件
sudovi /etc/apt/sources.list
更改为这个
deb https://mirrors.ustc.edu.cn/debian stable main contrib non-free # deb-src http://mirrors.ustc.edu.cn/debian stable main contrib non-freedeb https://mirrors.ustc.edu.cn/debian stable-updates main contrib non-free # deb-src http://mirrors.ustc.edu.cn/debian stable-updates main contrib non-free# deb http://mirrors.ustc.edu.cn/debian stable-proposed-updates main contrib non-free# deb-src http://mirrors.ustc.edu.cn/debian stable-proposed-updates main contrib non-free
然后执行
sudo apt update
更新软件源
执行
sudo apt upgraade
更新系统
/