ユーザ用ツール

サイト用ツール


os:ubuntu:upgrade_wsl

差分

このページの2つのバージョン間の差分を表示します。

この比較画面にリンクする

両方とも前のリビジョン 前のリビジョン
次のリビジョン
前のリビジョン
os:ubuntu:upgrade_wsl [2020/06/18 11:11]
hayashi
os:ubuntu:upgrade_wsl [2020/06/18 13:07] (現在)
hayashi [WSL終了]
行 70: 行 70:
 **LTS**が指定されている **LTS**が指定されている
   Prompt=lts   Prompt=lts
 +
 +===== Upgrade =====
 +
 +<code>
 +~$ sudo do-release-upgrade
 +Do you want to start the upgrade?
 +
 +
 +3 installed packages are no longer supported by Canonical. You can
 +still get support from the community.
 +
 +3 packages are going to be removed. 86 new packages are going to be
 +installed. 395 packages are going to be upgraded.
 +
 +You have to download a total of 137 M. This download will take about
 +40 seconds with your connection.
 +
 +Installing the upgrade can take several hours. Once the download has
 +finished, the process cannot be canceled.
 +
 + Continue [yN]  Details [d]
 +</code>
 +「**y**」で実行
 +
 +{{:os:ubuntu:pasted:20200618-112800.png}}
 +
 +今回は「keep the local install version xurrently installed」を選択
 +
 +<code>
 +Searching for obsolete software
 +Reading state information... Done
 +
 +Remove obsolete packages?
 +
 +
 +4 packages are going to be removed.
 +
 + Continue [yN]  Details [d]
 +</code>
 +
 +「**y**」で実行
 +
 +<code>
 +System upgrade is complete.
 +
 +Restart required
 +
 +To finish the upgrade, a restart is required.
 +If you select 'y' the system will be restarted.
 +
 +Continue [yN]
 +</code>
 +
 +WSLで、rebootできないため「**N**」
 +
 +===== WSL終了 =====
 +
 +<code>
 +~$ exit
 +</code>
 +
 +===== 確認 =====
 +
 +<code>
 +~$ lsb_release -a
 +No LSB modules are available.
 +Distributor ID: Ubuntu
 +Description:    Ubuntu 18.04.4 LTS
 +Release:        18.04
 +Codename:       bionic
 +</code>
  
os/ubuntu/upgrade_wsl.1592446304.txt.gz · 最終更新: 2020/06/18 11:11 by hayashi