首页 > 系统相关 >win11 wsl安装ubuntu报错

win11 wsl安装ubuntu报错

时间:2022-10-10 21:39:25浏览次数:67  
标签:-- x64 wsl 报错 内核 WSL win11 WSL2

错误

please restart WSL with the following command and try again:
wsl --shutdown
wsl --unregister DISTRO_NAME 

如下图:

image.png

解决方案

造成该问题的原因是WSL版本由原来的WSL1升级到WSL2后,内核没有升级,前往微软WSL官网下载安装适用于 x64 计算机的最新 WSL2 Linux 内核更新包即可。

下载链接:https://wslstorestorage.blob.core.windows.net/wslblob/wsl_update_x64.msi 安装好之后可以通过以下命令查看wsl的版本 image.png

安装好之后再次打开

image.png

标签:--,x64,wsl,报错,内核,WSL,win11,WSL2
From: https://blog.51cto.com/lianghecai/5745310

相关文章