WSL funktioniert nach Windows 10 Update nicht

WSL funktioniert nach Windows 10 Update nicht

Ich habe mich bei der Windows 10 Insider Preview angemeldet. Heute wurde das System auf Version 2004 Build 19555.1001 aktualisiert und jetzt kann ich WSL nicht mehr öffnen.

Beim Ausführen in CMD werden mir die folgenden Fehler angezeigt:

Microsoft Windows [Version 10.0.19555.1001]
(c) 2020 Microsoft Corporation. All rights reserved.

C:\WINDOWS\system32>bash
A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond.

C:\WINDOWS\system32>wsl
A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond.

C:\WINDOWS\system32>ubuntu
A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond.

C:\WINDOWS\system32>

Antwort1

Beziehen aufWSL/Probleme/4860(danke @Biswapriyo)

Dieses Problem tritt unter drei Bedingungen auf:

  1. Systembuild 19555.1001 (ursprüngliches ProblemWSL/Probleme/4860)
  2. WSL2 (Kommentar1,Kommentar2)
  3. $Env:Path.length( %PATH%) zu lang (Kommentar3)

Dementsprechend gibt es 3 Lösungen:

  1. Rollback des Win 10-Updates (Kommentar4)
  2. Wechseln Sie zu WSL1 (Kommentar2, nicht empfohlen)
  3. Reduzieren $Env:Path.length, bei mir funktioniert 2k+ → 1058.

Es scheint klar, dass es in einem zukünftigen Build gelöst wird, aber es scheint auch verschiedene unterschiedliche Antworten zu Build 19559 zu geben -- Siehedieser Kommentardarin steht, dass das Problem nicht gelöst ist, und im Kommentar von @Ramhound weiter oben steht, dass sein WSL auf diesem Build ohne Probleme funktioniert.

verwandte Informationen