Comments (11)
Hi I'm an AI powered bot that finds similar issues based off the issue title.
Please view the issues below to see if they solve your problem, and if the issue describes your problem please consider closing this one and thumbs upping the other issue to help us prioritize it. Thank you!
Closed similar issues:
- WslRegisterDistribution failed with error: 0x80070057 (#9776), similarity score: 1.00
- WslRegisterDistribution failed with error: 0x80070057 (#7797), similarity score: 1.00
- WslRegisterDistribution failed with error: 0x80070057 (#9692), similarity score: 1.00
- WslRegisterDistribution failed with error: 0x80070057 (#5660), similarity score: 1.00
- WslRegisterDistribution failed with error: 0x80070057 (#8216), similarity score: 1.00
Note: You can give me feedback by thumbs upping or thumbs downing this comment.
from wsl.
Thank you for reporting this @karashiiro. It looks like your Hyper-V firmware might be expired. Can you share the output of:
(powershell)
(Get-Item C:\Windows\System32\vmfirmware.dll).VersionInfo
from wsl.
ProductVersion FileVersion FileName
-------------- ----------- --------
10.0.22621.1 10.0.22621.1 (W… C:\Windows\System32\vmfirmware.dll
from wsl.
Thank you @karashiiro. These versions look correct. Let's look at the signatures. Can you share the output of:
(powershell)
Get-AuthenticodeSignature c:\windows\system32\vmfirmware.dll | select *
from wsl.
SignerCertificate : [Subject]
CN=Microsoft Windows, O=Microsoft Corporation, L=Redmond, S=Washington, C=US
[Issuer]
CN=Microsoft Windows Production PCA 2011, O=Microsoft Corporation, L=Redmond, S=Washington, C=US
[Serial Number]
33000004158295A1A3D82E2857000000000415
[Not Before]
2/2/2023 4:05:42 PM
[Not After]
1/31/2024 4:05:42 PM
[Thumbprint]
8870483E0E833965A53F422494F1614F79286851
TimeStamperCertificate : [Subject]
CN=Microsoft Time-Stamp Service, OU=Thales TSS ESN:0842-4BE6-C29A, OU=Microsoft Ireland Operations Limited, O=Microsoft Corporation,
L=Redmond, S=Washington, C=US
[Issuer]
CN=Microsoft Time-Stamp PCA 2010, O=Microsoft Corporation, L=Redmond, S=Washington, C=US
[Serial Number]
33000001DA8ED5C95A00D111B10001000001DA
[Not Before]
10/12/2023 12:06:59 PM
[Not After]
1/10/2025 11:06:59 AM
[Thumbprint]
42A21F2189631D46CDA18D3FC23857467FEC480D
Status : Valid
StatusMessage : Signature verified.
Path : C:\windows\system32\vmfirmware.dll
SignatureType : Catalog
IsOSBinary : True
from wsl.
Thank you @karashiiro. Looking at the logs again this issue might be caused by a corrupted WSL installation.
Can you try to run wsl.exe --update --pre-release
to see if that solves the issue ?
from wsl.
That gave another error:
Checking for updates.
Updating Windows Subsystem for Linux to version: 2.1.5.
The older version of Windows Subsystem for Linux cannot be removed. Contact your technical support group.
Update failed (exit code: 1603).
Log file: C:\Users\luca\AppData\Local\Temp\wsl-install-logs.txt
Error code: Wsl/UpdatePackage/ERROR_INSTALL_FAILURE
Logs: wsl-install-logs.txt
from wsl.
Hmm it does indeed look like a corrupted installation. Does manually downloading the MSI helps ?
If that doesn't work, you can also try: Get-AppxPackage MicrosoftCorporationII.WindowsSubsystemforLinux -AllUsers | Remove-AppxPackage
in an elevated powershell
from wsl.
Manual MSI installation failure:
Tries and fails to read C:\Program Files\WindowsApps\MicrosoftCorporationII.WindowsSubsystemForLinux_2.0.9.0_x64__8wekyb3d8bbwe\wsl.msi
, which indeed does not exist.
Cancelling gives this before exiting:
The command doesn't give an error, and attempting to wsl --install -d Ubuntu-20.04
now works 🚀
Attempting to run wsl --update
afterwards causes it to break again in the same way, but re-running the PowerShell command fixes it.
from wsl.
While it's concerning that wsl --update
breaks things again, my WSL installation seems to otherwise be working now, so thank you for all your help!
from wsl.
Interesting. It looks like your machine is hitting some sort of MSIX issue where the MSIX package doesn't properly install. Closing for now since the issue is resolved.
from wsl.
Related Issues (20)
- WSL2 Mirrored Networking and Podman macvlan DHCP HOT 5
- GPU resource cannot be used in wsl2: misc dxg: dxgk: dxgkio_query_adapter_info: Ioctl failed: -22/-2 HOT 2
- I want to execute the npm installation command in Windows, but it is automatically running in WSL2. HOT 3
- disable wsl by accident in "Turn Windows Features on or off" HOT 2
- WSL being detected but isn't starting HOT 3
- KEEP HAVING TROUBLE GETTING Ubuntu WSL to work HOT 4
- > > > > _Tested on Windows 10 Pro._ HOT 4
- Multiple NUMA support HOT 1
- WSL1: ftruncate does not truncate mmap'd files HOT 2
- Docker vulkaninfo only showing CPU HOT 1
- WSL 1 not using full memory HOT 3
- Test issue without logs HOT 15
- Test issue with logs HOT 14
- Test issue where VM is out of memory HOT 3
- WSL2 mirrored networking unexpectedly killing connections HOT 3
- Installing, this may take a few minutes... Stucks! HOT 2
- install wsl catastrophic failure HOT 5
- Networking mirrored can't access to windows by 127.0.0.1:port with WSL2 HOT 17
- Updating Windows Subsystem for Linux to version: 2.1.5 hangs HOT 4
- unable to open wsl 2 in windows 11 HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from wsl.