小编Ary*_*lip的帖子

Bash 错误且 WSL 不工作

我在尝试让 WSL 工作时遇到这些错误。

<3>WSL (9) ERROR: CreateProcessEntryCommon:574: execvpe /bin/bash failed 2
<3>WSL (9) ERROR: CreateProcessEntryCommon:583: Create process not expected to return
Run Code Online (Sandbox Code Playgroud)

我曾尝试编辑我的 Windows 终端,因为它坏了,而且我可能删除了一些文件,因为重新安装并不能解决问题。

有什么解决办法吗?

额外细节:

  • wsl -l -v:

      NAME      STATE           VERSION
    * Ubuntu    Stopped         2
    
    Run Code Online (Sandbox Code Playgroud)
  • wsl --version:

    WSL version: 1.1.3.0
    Kernel version: 5.15.90.1
    WSLg version: 1.0.49
    MSRDC version: 1.2.3770
    Direct3D version: 1.608.2-61064218
    DXCore version: 10.0.25131.1002-220531-1700.rs-onecore-base2-hyp
    Windows version: 10.0.19045.2604
    
    Run Code Online (Sandbox Code Playgroud)
  • wsl ~ -u root -e /usr/bin/sh结果是#符号 和闪烁_

bash windows-10 windows-subsystem-for-linux

3
推荐指数
1
解决办法
8579
查看次数