Jump to content

2.不是要升級Debian大版本,而是更新到同版本的最新版


Jack

Recommended Posts

Posted (edited)

--------------------------------------------------------------
不是要升級Debian大版本,而是更新到同版本的最新版
--------------------------------------------------------------

查看目前系統版本

uname -a ; lsb_release -a

 

得到 Linux 01 6.1.0-20-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.1.85-1 (2024-04-11) x86_64 GNU/Linux
得到 No LSB modules are available.
得到 Distributor ID: Debian
得到 Description: Debian GNU/Linux 12 (bookworm)
得到 Release: 12
得到 Codename: bookworm

 


開始更新

sudo apt update

sudo apt list --upgradable

sudo apt upgrade

sudo apt list --upgradable

sudo apt autoclean

sudo apt autoremove

 

 

重開機

sudo reboot

 

 


查看目前系統版本

uname -a ; lsb_release -a

 

得到 Linux 01 6.1.0-21-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.1.90-1 (2024-05-03) x86_64 GNU/Linux
得到 No LSB modules are available.
得到 Distributor ID: Debian
得到 Description: Debian GNU/Linux 12 (bookworm)
得到 Release: 12
得到 Codename: bookworm

 

 

 

再次確認有沒有套件需要升級

sudo apt update

sudo apt list --upgradable

sudo apt upgrade

sudo apt list --upgradable

sudo apt autoclean

sudo apt autoremove

 

 

重開機
sudo reboot

 

Edited by Jack
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...