Home  >  Article  >  System Tutorial  >  Steps to upgrade Ubuntu 21.10 and other versions to Ubuntu 22.04 LTS

Steps to upgrade Ubuntu 21.10 and other versions to Ubuntu 22.04 LTS

PHPz
PHPzforward
2024-01-13 23:33:06748browse

According to the announcement issued by Canonical, Ubuntu 22.04 LTS Jammy Jellyfish has been officially released, but currently Ubuntu 21.04 users cannot directly upgrade due to errors in snapd and update-notifier. This error will be resolved in the next few days. By then Only users using Ubuntu 21.04 can upgrade.

So what should we do if we need to upgrade from an old version? It is divided into desktop version (version with GUI environment) and Server version.

Ubuntu 21.10等旧版本升级Ubuntu 22.04 LTS的操作方法

▲You can see that there are currently no updates available for 20.04

Desktop version upgrade method:

Open the software update settings in the system settings

Click to update

Set the Notify me of new Ubuntu versions drop-down menu to For any new version

Press Alt F2 to enter this command update-manager -c

The update manager should then open and prompt you that the new release version 22.04 is available

If not, you can use /usr/lib/ubuntu-release-upgrader/check-new-release-gtk and follow the on-screen prompts

Server version upgrade method:

Make sure etc/update-manager/release-upgrades settings are normal

Execute this command in the terminal: sudo do-release-upgrade

Follow the on-screen prompts

Please note that the server upgrade will use the GNU screen and automatically reconnect after the connect terminal appears

Note: Ubuntu Desktop desktop version and Ubuntu Server server version do not have offline upgrade options, so you must connect to the Internet if you want to upgrade. Domestic users please be sure to modify the image source before upgrading. Directly using Ubuntu's default image source may cause very slow download speeds.

The above is the detailed content of Steps to upgrade Ubuntu 21.10 and other versions to Ubuntu 22.04 LTS. For more information, please follow other related articles on the PHP Chinese website!

Statement:
This article is reproduced at:jb51.net. If there is any infringement, please contact admin@php.cn delete