• 首页
  • 归档
  • 关于
  • 搜索
  • 夜间模式
    ©2026  望时代 Theme by OneBlog

    望时代

    搜索
    标签
    # 教程 # Linux # 脚本 # AI # 影音 # 游戏 # 随笔 # 科技 # 认知
  • 首页>
  • >
  • 正文
  • Debian升级到12基本操作

    2026年06月26日 2 阅读 0 评论 2493 字

    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 国际许可协议

    1. Wyatt仲说道: 2023年6月10日 下午12:08
    2. 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 回复

    1. songshi说道: 2023年6月10日 下午12:44

    发表回复 取消回复电子邮件地址不会被公开。必填项已用 标注 __ __

    本文著作权归作者 [ doudoudoubao ] 享有,未经作者书面授权,禁止转载,封面图片来源于 [ 互联网 ] ,本文仅供个人学习、研究和欣赏使用。如有异议,请联系博主及时处理。
    取消回复

    发表留言
    回复

    Copyright©2026  All Rights Reserved.  Load:0.003 s
    Theme by OneBlog V3.7.1
    夜间模式

    开源不易,请尊重作者版权,保留基本的版权信息。