os:ubuntu:upgrade_wsl
文書の過去の版を表示しています。
Upgrade@WSL
事前のバージョン確認
~$ lsb_release -a No LSB modules are available. Distributor ID: Ubuntu Description: Ubuntu 16.04.6 LTS Release: 16.04 Codename: xenial
~$ cat /etc/os-release NAME="Ubuntu" VERSION="16.04.6 LTS (Xenial Xerus)" ID=ubuntu ID_LIKE=debian PRETTY_NAME="Ubuntu 16.04.6 LTS" VERSION_ID="16.04" HOME_URL="http://www.ubuntu.com/" SUPPORT_URL="http://help.ubuntu.com/" BUG_REPORT_URL="http://bugs.launchpad.net/ubuntu/" VERSION_CODENAME=xenial UBUNTU_CODENAME=xenial
事前にPKGの更新
~$ sudo apt update && sudo apt upgrade .........
update-manager-coreをインストール
~$ sudo apt install update-manager-core
今回は以下のようにインストール済みと表示された
update-manager-core is already the newest version
設定の確認
- /etc/update-manager/release-upgrades
# 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=lts
LTSが指定されている
Prompt=lts
1)
LSBはLinux Standard Baseのこと。通常は不要
os/ubuntu/upgrade_wsl.1592446304.txt.gz · 最終更新: 2020/06/18 02:11 by hayashi