Debian10升級11(buster升級bullseye)


2021年8月14日,Debian11正式發布了,代號“bullseye” Debian 11 (bullseye), 64-bit PC 的發行說明

image

下面演示下Debian10升級到Debian11

現在的Debian版本10.10,Linux內核4.19

image

1、su - root切換root用戶,環境變量(root登錄的,可以跳過)

image

2、apt update && apt upgrade 更新下當前系統和軟件包

3、nano /etc/apt/sources.list 修改bullseye倉庫名

image

或者直接清空原配置,復制下面的粘貼進去(這里用的清華源)

# 默認注釋了源碼鏡像以提高 apt update 速度,如有需要可自行取消注釋
deb https://mirrors.tuna.tsinghua.edu.cn/debian/ bullseye main contrib non-free
# deb-src https://mirrors.tuna.tsinghua.edu.cn/debian/ bullseye main contrib non-free
deb https://mirrors.tuna.tsinghua.edu.cn/debian/ bullseye-updates main contrib non-free
# deb-src https://mirrors.tuna.tsinghua.edu.cn/debian/ bullseye-updates main contrib non-free

deb https://mirrors.tuna.tsinghua.edu.cn/debian/ bullseye-backports main contrib non-free
# deb-src https://mirrors.tuna.tsinghua.edu.cn/debian/ bullseye-backports main contrib non-free

deb https://mirrors.tuna.tsinghua.edu.cn/debian-security bullseye-security main contrib non-free
# deb-src https://mirrors.tuna.tsinghua.edu.cn/debian-security bullseye-security main contrib non-free

4、修改完成 Ctrl O保存,Ctrl X退出

5、接下來就可以進行升級了,apt update && apt upgrade ,輸入Y繼續

image

6、彈出更新日志,輸入q退出(當然你想看的話,可以慢慢看)

image

7、升級過程中不詢問就重新啟動服務,選擇Yes

image

8、接下來開始升級了(大概幾分鍾左右跑完)然后重啟系統

image

9、重新登錄系統,輸入cat /etc/debian_version && uname --all 可以看到已經成功升級到Debian11

image


免責聲明!

本站轉載的文章為個人學習借鑒使用,本站對版權不負任何法律責任。如果侵犯了您的隱私權益,請聯系本站郵箱yoyou2525@163.com刪除。



 
粵ICP備18138465號   © 2018-2025 CODEPRJ.COM