文章使用版本为5.3-2
改源
Debian源
1 | nano /etc/apt/sources.list |
注释或删去原有的源,并添加下面的源
deb http://mirrors.aliyun.com/debian/ stretch main non-free contrib
deb-src http://mirrors.aliyun.com/debian/ stretch main non-freecontrib
deb http://mirrors.aliyun.com/debian-security stretch/updates main
deb-src http://mirrors.aliyun.com/debian-security stretch/updatesmain
deb http://mirrors.aliyun.com/debian/ stretch-updates mainnon-free contrib
deb-src http://mirrors.aliyun.com/debian/stretch-updates main non-free contrib
deb http://mirrors.aliyun.com/debian/ stretch-backports main non-free contrib
deb-src http://mirrors.aliyun.com/debian/ stretch-backports main non-free contrib
PVE源
1 | rm -f /etc/apt/sources.list.d/pve-enterprise.list |
更新
1 | apt-get update && apt-get dist-upgrade |
消除订阅提醒
emmm没看到靠谱简单的方法,不过反正开机第一次登录会提醒,后面就没了,我就不弄了。