Debian Linux 升級是蠻簡單的,不過這次 10 升級到 11 有些改變要更動一下~
Debian 10 (Buster) 升級到 11 (Bullseye) 注意事項
官方有說明升級有哪些注意事項,詳細可見下述:
- NewInBullseye - Debian Wiki
- Debian 11 (bullseye), 64-bit PC 的發行說明
- 修改 /etc/apt/sources.list # 將 buster => bullseye
這邊會遇到 security.debian.org 需要做些修改
- deb https://security.debian.org/debian-security bullseye-security main
- deb-src https://security.debian.org/debian-security bullseye-security main
例如,原本如下:
- deb http://security.debian.org/ buster/updates main non-free contrib
- deb-src http://security.debian.org/ buster/updates main non-free contrib
需修改成如下:
- deb http://security.debian.org/debian-security bullseye-security main contrib non-free
- deb-src http://security.debian.org/debian-security bullseye-security main contrib non-free
在將系統升級到 bullseys 錢,建議系統先將舊的沒使用到的設定檔先移除,例如: /etc/.dpkg-{new,old} (可先將這些搬到一個備份的資料夾)
若有新版沒有的套件,但是若還是需要,可以考慮 Backports:Debian Backports,例如:redmine. 等..