从debian10(buster) 升级到 11 (bullseye)
1. sudo apt update
2. sudo apt upgrade
3. >> sudo nano /etc/apt/sources.list 将10的镜像源地址换成11的
4. sudo apt update
5. sudo apt upgrade --without-new-pkgs
6. sudo apt full-upgrade
7. sudo apt --purge autoremove
8. sudo systemctl reboot
debian11 bullseye 国内镜像源
deb http://mirrors.163.com/debian/ bullseye main deb-src http://mirrors.163.com/debian/ bullseye main deb http://mirrors.163.com/debian/ bullseye-updates main non-free contrib deb-src http://mirrors.163.com/debian/ bullseye-updates main non-free contrib deb http://mirrors.163.com/debian-security/ bullseye-security/updates main non-free contrib deb-src http://mirrors.163.com/debian-security/ bullseye-security/updates main non-free contrib deb http://mirrors.163.com/debian/ bullseye-backports main contrib non-free #deb http://httpredir.debian.org/debian bullseye-backports main contrib non-free