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
Add-AppxPackage : Deployment failed with HRESULT: 0x80080204, The Appx package's manifest is invalid. #9721
Comments
I was not able to provide wls version as it says invalid option:
|
Same here. I suppose that the command wsl.exe --version fails because it's the version 1 of WSL, but that's not the point. I've tryed the wslubunt2004 and it works fine, but the wslubuntu2204 gave me the same error. |
Thanks @AndreaMontanari89 , based on your reply I used Ubuntu 20.04 without problems. I compared manifests and I deleted
|
I am also facing the same issue with Ubuntu 22.04 LTS but no any issues with Ubuntu 20.04 Add-AppxPackage : Deployment failed with HRESULT: 0x80080204, The Appx package's manifest is invalid. |
I was able to accomplish by installing 20.04 and then upgrading it to 22.04 in the terminal. |
Same issue on Windows Server 2019 (Version 1809, OS Build 17763.5206) Steps to reproduce:
This is following steps from https://learn.microsoft.com/en-us/windows/wsl/install-on-server |
Windows Version
Microsoft Windows [Version 10.0.17763.3887]
WSL Version
N/A
Are you using WSL 1 or WSL 2?
Kernel Version
N/A
Distro Version
Ubuntu 22.04 LTS
Other Software
No response
Repro Steps
I followed the instructions from https://learn.microsoft.com/en-us/windows/wsl/install-on-server
I downloaded
Ubuntu2204-221101.AppxBundle
which is downloaded, when clicked on a link from https://learn.microsoft.com/en-us/windows/wsl/install-manual#downloading-distributions from a browser.Instructions says it should be with suffix
.appx
, but it's only when downloaded via command (Invoke-WebRequest
/curl.exe
, which I tried too - same file is downloaded).Those 2 pages contains different instructions, but I tried both:
Add-AppxPackage .\Ubuntu2204-221101.AppxBundle
Add-AppxPackage .\Ubuntu_2204.1.7.0_x64.appx
Ubuntu_2204.1.7.0_x64.appx
is extracted fromUbuntu2204-221101.AppxBundle
Expected Behavior
I expected it would work - install Ubuntu.
Actual Behavior
It failed with an error instead:
I'm on Windows Server 2019 Datacenter, version 1809 (which is 1709+ as mentioned on webpage).
Diagnostic Logs
No response
The text was updated successfully, but these errors were encountered: