バージョンを確認
cat /etc/os-release
アップグレード可能バージョンを確認
sudo do-release-upgrade -c
# New release '22.04.1 LTS' available.
# Run 'do-release-upgrade' to upgrade to it.
アップグレード実行
sudo do-release-upgrade
Please install all available updates for your release before upgrading.
とでたので、モジュール群をアップデート。
sudo apt update
・・・
再実行
sudo do-release-upgrade
確認
cat /etc/os-release
PRETTY_NAME="Ubuntu 22.04.1 LTS"
NAME="Ubuntu"
VERSION_ID="22.04"
VERSION="22.04.1 LTS (Jammy Jellyfish)"
VERSION_CODENAME=jammy
ID=ubuntu
ID_LIKE=debian
HOME_URL="https://www.ubuntu.com/"
SUPPORT_URL="https://help.ubuntu.com/"
BUG_REPORT_URL="https://bugs.launchpad.net/ubuntu/"
PRIVACY_POLICY_URL="https://www.ubuntu.com/legal/terms-and-policies/privacy-policy"
UBUNTU_CODENAME=jammy