General updates

sudo apt-get update #更新源
sudo apt-get upgrade #更新已安装的包
sudo apt-get dist-upgrade #升级系统
sudo apt-get dselect-upgrade #使用 dselect 升级

Upgradeing Major Releases

do-release-upgrade

By updating in the above way, the first version, such as 22.04.0, will be ignored, and the next version, such as 22.04.1, may be released a few months later

In this case, you can add -d after the directive

do-release-upgrade -d

©王权之首,未经允许禁止转载