简体   繁体   English

为 Linux 安装 Windows 子系统并得到错误 0xc03a001a 和长列表或问号

[英]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.

相关问题 是否可以在Windows Linux子系统上获得OpenCL? - Is it possible to get OpenCL on Windows Linux Subsystem? 是否可以在Windows Subsystem for Linux(WSL)-Ubuntu上安装IBM Java? - Is it possible to install IBM java on Windows Subsystem for Linux (WSL) - Ubuntu? 如何在Windows 10上的Linux子系统上安装Ngrok 2.0 - How to install Ngrok 2.0 on linux subsystem on Windows 10 Windows 10 Linux 子系统。 如何安装MongoDB - Windows 10 Linux Subsystem. How to install MongoDB 无法在Windows的Linux子系统中安装Google-Earth-Engine-Api - Unable to install Google-Earth-Engine-Api in Linux subsystem for Windows 适用于 Linux 的 Windows 子系统:安装 MSSQL Server 时出错 - Windows Subsystem for Linux: Error while installing MSSQL Server 在适用于Linux的Windows子系统上安装Apache - Installing Apache on Windows Subsystem for Linux 在带有 Linux 子系统的 Windows 上取消共享文件夹 - Unshare a folder on Windows with Linux subsystem 如何使用 Windows PowerShell 在 Windows 中列出适用于 Linux 的 Windows 子系统中的所有可用发行版? - How to list out all the distros available in windows subsystem for Linux in windows using windows PowerShell? 如何在 windows 10 ZE206A54E97690C9ZCE50CC 子系统上卸载 terraform 并安装更新版本的 terraform? - How to uninstall terraform and install newer version of terraform on windows 10 linux subsystem?
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM