文 | 小竹风
从 Debian10 升级到 Debian11
查看系统版本
cat /etc/debian_version
1、备份source-list文件:
cp /etc/apt/sources.list /etc/apt/sources.list.bak
2、编辑source文件:
echo "deb https://deb.debian.org/debian-security bullseye-security main contrib" > /etc/apt/sources.list
3、更新
apt update
4、更新系统
apt full-upgrade
完成后重启一下系统就完事了。当然你也可以用姥爷的 DD 脚本,直接重装到 Debian11,项目地址如下:
https://github.com/yeahwu/InstallOS