Debian 12 升级到 Debian 13

修改 apt 源

vi /etc/apt/sources.list


deb http://deb.debian.org/debian trixie main contrib non-free-firmware
deb http://deb.debian.org/debian trixie-updates main contrib non-free-firmware
deb http://security.debian.org/debian-security trixie-security main contrib non-free-firmware


更新:

apt update && apt upgrade -y

后续:

更新完后,重启一下服务器

/sbin/reboot

检查Debian版本:

lsb_release -a

删除旧包:

apt autoremove --purge

Warning:服务器升级需谨慎,能用就不要动!
 
 
Back to Top