Debian升级到12基本操作 __2023年6月10日 __3条评论 __263次阅读 __0人点赞 __Tao_Qi 前提 不支持 LXC 哈
最好快照一下
推荐从11版本升 老系统更新
[code]
apt update
apt upgrade -y
apt dist-upgrade -y
apt autoclean
apt autoremove -y
[/code]
操作
[code]
sed -i 's/bullseye/bookworm/g' /etc/apt/sources.list
# 这个需谨慎,可能有些第三方软件还不支持。docker和tailscale目前是支出的
sed -i 's/bullseye/bookworm/g' /etc/apt/sources.list.d/*.list
# 12版本变更比较大的,支持分发非自由固件如xx驱动等
sed -i 's/non-free/non-free non-free-firmware/g' /etc/apt/sources.list
[/code]
新系统更新
[code]
apt update
apt upgrade -y
apt dist-upgrade -y
reboot
apt autoclean
apt autoremove -y
[/code]
这样就升级完成了。 总体问题不大,按照我的体验,目前我司测试服务器,5月初就升级了很稳😂 本作品采用 知识共享署名-相同方式共享 4.0 国际许可协议
Wyatt仲说道: 2023年6月10日 下午12:08
Testcharon说道: 2023年6月10日 下午12:12 Debian 12 RC 中還有 100 個已知的 bug https://lists.debian.org/debian-devel-announce/2023/06/msg00000.html (Note: the release process typically takes the whole day and the
release isn't done until the early hours of Sunday UTC.) 因爲時區,明天會正式推出 bookworm https://lists.debian.org/debian-devel-announce/2023/04/msg00007.html 回复
songshi说道: 2023年6月10日 下午12:44
发表回复 取消回复电子邮件地址不会被公开。必填项已用 标注 __ __
本文著作权归作者 [ doudoudoubao ] 享有,未经作者书面授权,禁止转载,封面图片来源于 [ 互联网 ] ,本文仅供个人学习、研究和欣赏使用。如有异议,请联系博主及时处理。