[英]Install Windows Subsystem for Linux and get error 0xc03a001a and a long list or question marks
I am following the steps on https://docs.microsoft.com/en-us/windows/wsl/install-win10 to install Windows Subsystem for Linux.我按照https: //docs.microsoft.com/en-us/windows/wsl/install-win10 上的步骤为 ZEDC9F0A5A5D57797BF68E37364743831 安装 Windows 子系统。 Step 1 to 5 worked all well for me but in step 6 when I opened Ubuntu 20.04 downloaded from Microsoft Store, the following error occurred.
第 1 步到第 5 步对我来说效果很好,但是在第 6 步中,当我打开从 Microsoft Store 下载的 Ubuntu 20.04 时,出现以下错误。
"WslRegisterDistribution failed with error: 0xc03a001a “WslRegisterDistribution 失败并出现错误:0xc03a001a
Error: 0xc03a001a???????????????????????????????????????????????????"错误:0xc03a001a???????????????????????????????????????????????? ???”
I saw other people having the same 0xc03a001a error but nobody got such a long list of question marks.我看到其他人有同样的 0xc03a001a 错误,但没有人得到这么长的问号列表。 Can anyone help me with that?
任何人都可以帮助我吗? Thanks a lot!
非常感谢!
Not sure about the question marks, but they are likely obscuring the real error for some reason.不确定问号,但由于某种原因,它们可能会掩盖真正的错误。 "0xc03a001a" seems to typically correspond to "Virtual hard disk files must be uncompressed and unencrypted and must not be sparse."
“0xc03a001a”似乎通常对应于“虚拟硬盘文件必须未压缩和未加密且不得稀疏”。 (See this Github issue along with others)
(请参阅此 Github 问题以及其他问题)
The solution for most people seems to be making sure that distribution folder is uncompressed.大多数人的解决方案似乎是确保分发文件夹未压缩。 Quoting from this comment :
引用此评论:
Essentially... find the package under C:\Users\AppData\Local\Packages and right click the folder, check advanced options and disable compression.
本质上...在 C:\Users\AppData\Local\Packages 下找到 package 并右键单击该文件夹,检查高级选项并禁用压缩。 Run the launch again.
再次运行启动。
- Of course ubuntu is listed under "CanonicalGroupLimited.Ubuntu" so if you sort alphabetically it will appear under "C"
当然 ubuntu 列在“CanonicalGroupLimited.Ubuntu”下,因此如果按字母顺序排序,它将出现在“C”下
- Debian is under "TheDebianProject" so that will appear under "T"
Debian 位于“TheDebianProject”下,因此将出现在“T”下
I had the same issue.我遇到过同样的问题。 I fix it by deleting the folder of installed distro in C:\Users\MUTI-MIS\AppData\Local\Packages.
我通过删除 C:\Users\MUTI-MIS\AppData\Local\Packages 中已安装发行版的文件夹来修复它。 Then I successfully re installed the distros.
然后我成功地重新安装了发行版。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.