windows10 更新Ubuntu20.04 LTS的方法步驟
2020年4月23日,今天Windows 上的 Ubuntu 20.04 允許使用 Ubuntu Terminal 并運行 Ubuntu 命令行實用程序,包括 bash、ssh、git、apt 等。它要求 Windows 10 版本 16215.0 或更高版本,支持 ARM64 和 x64 體系結(jié)構(gòu)。要注意的是,該程序在 Windows 10 S 上不受支持。
升級方法:
我這里只針對已有ubuntu的用戶
打開ubuntu 或 Windows Terminal,運行命令do-release-upgrade。
frank@LAPTOP-0OCJTGJR:~$ do-release-upgrade Checking for a new Ubuntu release There is no development version of an LTS available. To upgrade to the latest non-LTS develoment release set Prompt=normal in /etc/update-manager/release-upgrades.
可能會出現(xiàn)上面的報錯信息。
打開文件sudo vi /etc/update-manager/release-upgrades
# Default behavior for the release upgrader. [DEFAULT] # Default prompting behavior, valid options: # # never - Never check for, or allow upgrading to, 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 supported 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 if this option is used and # the currently-running release is not itself an LTS release the # upgrader will assume prompt was meant to be normal. #Prompt=lts Prompt=normal
默認設(shè)置時Prompt=lts,將其改為Prompt=normal.,重新執(zhí)行命令do-release-upgrade
期間會有兩次人工參與
Checking package manager Reading package lists... Done Building dependency tree Reading state information... Done Calculating the changes Calculating the changes Do you want to start the upgrade? 40 packages are going to be removed. 424 new packages are going to be installed. 690 packages are going to be upgraded. You have to download a total of 547 M. This download will take about 6 minutes with your connection. Installing the upgrade can take several hours. Once the download has finished, the process cannot be canceled. Continue [yN] Details [d]y
大概需要30'+的時間可以完成整個升級過程。
相關(guān)連接
Windows Subsystem for Linux(WSL)文件系統(tǒng)改進
第41章——從 Windows 命令行運行 Linux 工具
第42章——從 WSL 運行 Windows 工具
到此這篇關(guān)于windows10 更新Ubuntu20.04 LTS的方法步驟的文章就介紹到這了,更多相關(guān)windows10 更新Ubuntu20.04 LTS內(nèi)容請搜索本站以前的文章或繼續(xù)瀏覽下面的相關(guān)文章希望大家以后多多支持本站!
版權(quán)聲明:本站文章來源標注為YINGSOO的內(nèi)容版權(quán)均為本站所有,歡迎引用、轉(zhuǎn)載,請保持原文完整并注明來源及原文鏈接。禁止復(fù)制或仿造本網(wǎng)站,禁止在非www.sddonglingsh.com所屬的服務(wù)器上建立鏡像,否則將依法追究法律責(zé)任。本站部分內(nèi)容來源于網(wǎng)友推薦、互聯(lián)網(wǎng)收集整理而來,僅供學(xué)習(xí)參考,不代表本站立場,如有內(nèi)容涉嫌侵權(quán),請聯(lián)系alex-e#qq.com處理。