microsoft / WSL

Issues found on WSL
https://docs.microsoft.com/windows/wsl
MIT License
17.28k stars 813 forks source link

update failed - require apps in system disk , but is already set to c: #11964

Open robertoarato opened 3 weeks ago

robertoarato commented 3 weeks ago

Windows Version

Microsoft Windows [Versione 10.0.22631.4037]

WSL Version

Copyright (c) Microsoft Corporation. Tutti i diritti riservati.

Are you using WSL 1 or WSL 2?

Kernel Version

5.10.102.1

Distro Version

ubuntu 24.04

Other Software

No response

Repro Steps

wsl --update Installazione in corso: Sottosistema Windows per Linux L'operazione di distribuzione è stata bloccata a causa di criteri specifici della famiglia di pacchetti che limitano la distribuzione su un volume non di sistema. In base ai criteri, questa app deve essere installata nell'unità di sistema che tuttavia non è impostata come predefinita. In Impostazioni di archiviazione, imposta l'unità di sistema come il percorso predefinito in cui salvare i nuovi contenuti, quindi riprova l'installazione.

Expected Behavior

updade wsl work fine

Actual Behavior

in the configuration apps all are set to install in a system drive c: but wsl say that it is not true... and refuse to update itself

Diagnostic Logs

No response

github-actions[bot] commented 3 weeks ago

Logs are required for review from WSL team

If this a feature request, please reply with '/feature'. If this is a question, reply with '/question'. Otherwise please attach logs by following the instructions below, your issue will not be reviewed unless they are added. These logs will help us understand what is going on in your machine.

How to collect WSL logs Download and execute [collect-wsl-logs.ps1](https://github.com/Microsoft/WSL/blob/master/diagnostics/collect-wsl-logs.ps1) in an **administrative powershell prompt**: ``` Invoke-WebRequest -UseBasicParsing "https://raw.githubusercontent.com/microsoft/WSL/master/diagnostics/collect-wsl-logs.ps1" -OutFile collect-wsl-logs.ps1 Set-ExecutionPolicy Bypass -Scope Process -Force .\collect-wsl-logs.ps1 ``` The script will output the path of the log file once done. If this is a networking issue, please use [collect-networking-logs.ps1](https://github.com/Microsoft/WSL/blob/master/diagnostics/collect-networking-logs.ps1), following the instructions [here](https://github.com/microsoft/WSL/blob/master/CONTRIBUTING.md#collect-wsl-logs-for-networking-issues) Once completed please upload the output files to this Github issue. [Click here for more info on logging](https://github.com/microsoft/WSL/blob/master/CONTRIBUTING.md#8-collect-wsl-logs-recommended-method) If you choose to email these logs instead of attaching to the bug, please send them to wsl-gh-logs@microsoft.com with the number of the github issue in the subject, and in the message a link to your comment in the github issue and reply with '/emailed-logs'.
robertoarato commented 3 weeks ago

in attach the log WslLogs-2024-08-27_11-10-41.zip

github-actions[bot] commented 3 weeks ago
Diagnostic information ``` Appx package is not installed ```
robertoarato commented 3 weeks ago

it is not closet Maybe i close it by mistake

robertoarato commented 3 weeks ago

appx package does not install because say that apps are not set for system disk

robertoarato commented 3 weeks ago

how I can alternativly install appx wsl ?

robertoarato commented 3 weeks ago

note: wsl is working but it is not possible to update it

robertoarato commented 3 weeks ago

note: wsl is working but it is not possible to update it

robertoarato commented 3 weeks ago

Diagnostic information

Appx package is not installed

it is not true ubuntu 24.04 app it is installed and it is working

robertoarato commented 3 weeks ago

image

robertoarato commented 3 weeks ago

image image

robertoarato commented 3 weeks ago

why the error code Codice: 0x80073D21 if the path for the apps are correct ?