Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Updating Windows Subsystem for Linux to version: 2.1.5 hangs #11313

Closed
1 of 2 tasks
mwoodpatrick opened this issue Mar 16, 2024 · 4 comments
Closed
1 of 2 tasks

Updating Windows Subsystem for Linux to version: 2.1.5 hangs #11313

mwoodpatrick opened this issue Mar 16, 2024 · 4 comments

Comments

@mwoodpatrick
Copy link

Windows Version

Microsoft Windows [Version 10.0.22635.3350]

WSL Version

10.0.22635.3350

Are you using WSL 1 or WSL 2?

  • WSL 2
  • WSL 1

Kernel Version

5.15.146.1

Distro Version

arch linux

Other Software

No response

Repro Steps

Run

wsl --update --pre-release

Expected Behavior

Update would be installed

Actual Behavior

Reports

Starting WSL ...
Checking for updates.
Updating Windows Subsystem for Linux to version: 2.1.5

Then just hangs

Diagnostic Logs

No response

Copy link

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!

Open similar issues:

Closed similar issues:

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

@mwoodpatrick
Copy link
Author

Running

wsl --update --pre-release

As an admin did complete normally, however when I try to run a powershell script it now reports:

.\boot_wsl.ps1 : File C:\Users\mlwp\boot_wsl.ps1 cannot be loaded because running scripts is disabled on this system.
For more information, see about_Execution_Policies at https:/go.microsoft.com/fwlink/?LinkID=135170.
At line:1 char:1
+ .\boot_wsl.ps1
+ ~~~~~~~~~~~~~~
    + CategoryInfo          : SecurityError: (:) [], PSSecurityException
    + FullyQualifiedErrorId : UnauthorizedAccess

I can run scripts as an admin

Running:

Get-ExecutionPolicy -List

I get:

        Scope ExecutionPolicy
        ----- ---------------
MachinePolicy       Undefined
   UserPolicy       Undefined
      Process    Unrestricted
  CurrentUser    Unrestricted
 LocalMachine    Unrestricted

Please advise

@ghost
Copy link

ghost commented Mar 19, 2024

Have you tried setting the execution policy? For the issue you saw the first time, is it possible there was a UAC prompt that didn't get brought to the foreground? I've seen that happen before.

@mwoodpatrick
Copy link
Author

Many thanks for your reply. I think I missed the UAC prompt, installation on a second PC worked fine. Setting the security policy did work, not sure how it got changed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant