More than 1 year has passed since last update.

Ubuntu 22.04 から 22.10 へのアップグレードの仕方

Last updated at Posted at 2022-10-15

1. まず現在の Ubuntu 22.04 を最新状態にします。

$ sudo apt update 
$ sudo apt full-upgrade

2. 次に不要物を全消しします

$ sudo apt autoremove

3. 更新の設定をします。

/etc/update-manager/release-upgrades を開いて、Promptnormalに設定します。

# Default behavior for the release upgrader.

# Default prompting behavior, valid options:
#  never  - Never check for 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 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 this option should not be
#           used if the currently-running release is not itself an LTS
#           release, since in that case the upgrader won't be able to
#           determine if a newer release is available.

4. 最後に 22.10 へのアップグレードを実行します。

$ sudo do-release-upgrade



$ cat /etc/issue
Ubuntu 22.10 \n \l


Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up