3
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 1 year has passed since last update.

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

Posted at

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

$ 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]
# 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.
Prompt=normal

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

$ sudo do-release-upgrade

いつも通り数時間、時間がかかりますので、余裕をもって作業してください。

アップグレード後、23.04になっていることを確認します。

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

お疲れさまでした。

3
0
0

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
3
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?