Code Monkey home page Code Monkey logo

Comments (11)

github-actions avatar github-actions commented on May 26, 2024 1

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:

Note: You can give me feedback by thumbs upping or thumbs downing this comment.

from wsl.

OneBlue avatar OneBlue commented on May 26, 2024

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.

karashiiro avatar karashiiro commented on May 26, 2024
ProductVersion   FileVersion      FileName
--------------   -----------      --------
10.0.22621.1     10.0.22621.1 (W… C:\Windows\System32\vmfirmware.dll

from wsl.

OneBlue avatar OneBlue commented on May 26, 2024

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.

karashiiro avatar karashiiro commented on May 26, 2024
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.

OneBlue avatar OneBlue commented on May 26, 2024

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.

karashiiro avatar karashiiro commented on May 26, 2024

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.

OneBlue avatar OneBlue commented on May 26, 2024

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.

karashiiro avatar karashiiro commented on May 26, 2024

Manual MSI installation failure:
image

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:
image

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.

karashiiro avatar karashiiro commented on May 26, 2024

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.

OneBlue avatar OneBlue commented on May 26, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.