1. Ubuntu/upgrade

https://snowtree-injune.com/2020/10/09/ubuntu-upgrade-dj007/

Ubuntuのアップデート、アップグレードの方法を説明します。

update、upgrade、do-release-upgradeの違い


1.1. conoha upgrade

  │ Newer kernel available                                                   │ 
  │                                                                          │ 
  │ The currently running kernel version is 5.15.0-52-generic which is not   │ 
  │ the expected kernel version 5.15.0-67-generic.                           │ 
  │                                                                          │ 
  │ Restarting the system to load the new kernel will not be handled         │ 
  │ automatically, so you should consider rebooting.                         │ 

1.2. 手順とログ

https://level69.net/archives/30137

事前にパッケージのアップデートを行います。

sudo apt update
sudo apt upgrade

    sudo apt dist-upgrade

https://www.sejuku.net/blog/85434

1.3. Ubuntu 20.04からUbuntu 22.04 LTSへ

update-manager-coreをインストールします。

sudo apt install update-manager-core

sudo do-release-upgrade -d

アップグレード中になんどか質問が対話式であります。

....

Searching for obsolete software
Reading state information... Done

Remove obsolete packages? 

94 packages are going to be removed. 
 Continue [yN]  Details [d]
...
System upgrade is complete.

Restart required 

To finish the upgrade, a restart is required. 
If you select 'y' the system will be restarted. 

MoinQ: Ubuntu/upgrade (last edited 2023-03-24 06:48:12 by ToshinoriMaeno)