You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I definitely have a newer build of Server 2019, WSL is installed and Enabled but when I try and run the step to add the app package for the downloaded Ubuntu distro, I get the following error:
Add-AppxPackage: The 'Add-AppxPackage' command was found in the module 'Appx', but the module could not be loaded due to the following error: [Operation is not supported on this platform. (0x80131539)] For more information, run 'Import-Module Appx'.
I also tried it in an older PS console instead of PS7 and get a different error:
Add-AppxPackage : Deployment failed with HRESULT: 0x80080204, The Appx package's manifest is invalid.
error 0xC00CE015: App manifest validation error: The app manifest must be valid as per schema: Line 22, Column 96,
Note: The schema for MaxVersionTested specified does not recognize XML fields with namespace
"http://schemas.microsoft.com/appx/manifest/uap/windows10/10". Please ensure that you have the correct
MaxVersionTested specified. Reason: The attribute
'{http://schemas.microsoft.com/appx/manifest/uap/windows10/10}Parameters' on the element
'{http://schemas.microsoft.com/appx/manifest/foundation/window
error 0xC00CE015: App manifest validation error: The app manifest must be valid as per schema: Line 22, Column 96,
Note: The schema for MaxVersionTested specified does not recognize XML fields with namespace
"http://schemas.microsoft.com/appx/manifest/uap/windows10/10". Please ensure that you have the correct
MaxVersionTested specified. Reason: The attribute
'{http://schemas.microsoft.com/appx/manifest/uap/windows10/10}Parameters' on the element
'{http://schemas.microsoft.com/appx/manifest/foundation/windows10}Application' is not defined in the DTD/Schema.
NOTE: For additional information, look for [ActivityId] 52359130-2148-0003-7597-35524821db01 in the Event Log or use
the command line Get-AppPackageLog -ActivityID 52359130-2148-0003-7597-35524821db01
At line:1 char:1
+ Add-AppxPackage .\Ubuntu_2204.1.7.0_x64.appx
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : NotSpecified: (C:\Users\Admini....1.7.0_x64.appx:String) [Add-AppxPackage], Exception
+ FullyQualifiedErrorId : DeploymentError,Microsoft.Windows.Appx.PackageManager.Commands.AddAppxPackageCommand
Type of issue
Missing information
Feedback
I have tried to follow the steps in the page here: https://learn.microsoft.com/en-us/windows/wsl/install-on-server#install-wsl-on-previous-versions-of-windows-server
I definitely have a newer build of Server 2019, WSL is installed and Enabled but when I try and run the step to add the app package for the downloaded Ubuntu distro, I get the following error:
Add-AppxPackage: The 'Add-AppxPackage' command was found in the module 'Appx', but the module could not be loaded due to the following error: [Operation is not supported on this platform. (0x80131539)] For more information, run 'Import-Module Appx'.
Page URL
https://learn.microsoft.com/en-us/windows/wsl/install-on-server
Content source URL
https://github.com/MicrosoftDocs/wsl/blob/main/WSL/install-on-server.md
Author
@mattwojo
Document Id
238333c7-116d-2697-702a-58fc7efe3ee9
The text was updated successfully, but these errors were encountered: