ubuntu/さくらについて、ここに記述してください。

$ cat /etc/lsb-release 
DISTRIB_ID=Ubuntu
DISTRIB_RELEASE=18.04
DISTRIB_CODENAME=bionic
DISTRIB_DESCRIPTION="Ubuntu 18.04.4 LTS"

1. update

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

sudo apt-get update
sudo apt-get upgrade

実行が終わったら、以下のコマンドを叩くことで最新のリリースを取得できます。

sudo apt dist-upgrade

その後、update-managerを導入します。

sudo apt-get install update-manager-core

これが、Ubuntuのバージョンを管理しているもので導入することでdo-release-upgradeコマンドが使用可能になります。

また、導入に移る前に確認するべきことがありますので、以下のコマンドを叩きましょう。

$ cat /etc/update-manager/release-upgrades
# Default behavior for the release upgrader.

[DEFAULT]
# Default prompting behavior, valid options:
#
#  never  - Never check for, or allow upgrading to, a new release.
#  normal - Check to see if a new release is available.  If more than one new
#           release is found, the release upgrader will attempt to upgrade to
#           the supported release that immediately succeeds the
#           currently-running release.
#  lts    - Check to see if a new LTS release is available.  The upgrader
#           will attempt to upgrade to the first LTS release available after
#           the currently-running one.  Note that if this option is used and
#           the currently-running release is not itself an LTS release the
#           upgrader will assume prompt was meant to be normal.
Prompt=lts

sudo do-release-upgrade

MoinQ: Ubuntu/VPS/さくら/18.04 (last edited 2023-03-23 21:03:16 by ToshinoriMaeno)