Windows无法安装Ubuntu AppxBundle包,即使从Microsoft商店

wtlkbnrh  于 2023-05-16  发布在  Windows
关注(0)|答案(1)|浏览(675)

我试图在我的Windows上安装Ubuntu,但我一直收到错误。我尝试从Microsoft商店下载,但我得到了一个错误“

Error: Something unexpected happened" 
    with error code: 0x80080204

我尝试通过PowerShell安装一个已经下载的AppxBundle软件包,但我得到了另一个错误,同样的错误代码
我以管理员身份在PowerShell中运行了以下代码

Add-AppxPackage -Path "C:\Users\user\Downloads\Ubuntu2204-221101.AppxBundle"

我得到了以下带有错误代码的输出错误

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] c27d6ca4-80d1-0003-23a4-7dc2d180d901 in the Event Log  or use the command line Get-AppPackageLog -ActivityID c27d6ca4-80d1-0003-23a4-7dc2d180d901
   At line:1 char:1
   + Add-AppxPackage -Path "C:\Users\user\Downloads\Ubuntu2204-221101.Appx ...
   + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
        + CategoryInfo          : NotSpecified: (C:\Users\user\D...1101.AppxBundle:String) [Add-AppxPackage],  Exception
+ FullyQualifiedErrorId : DeploymentError,Microsoft.Windows.Appx.PackageManager.Commands.AddAppxPackageCommand

我已经尝试重置微软商店Windows子系统为Linux启用我已经尝试故障排除我已经重新启动系统几次我同样停止并重新启动交付优化我已经检查了程序和功能中的所有有效框我已经做了几次扫描并通过cmd.exe恢复我已经做了很多

wsl --install (did not work either)

我目前使用的是以下版本的Windows Windows 10专业版1909 build 18363.1256
我希望Ubuntu能够正常下载和启动

1rhkuytd

1rhkuytd1#

在检查更新并更新我的Windows后,它不起作用,我决定将我的Windows从Windows 10 Pro版本1909升级到Windows 10 Pro版本22H2
我是通过
1.提供16GB大小的空USB
1.下载MediaCreationtool22H2.exe文件,安装
我安装并运行了文件,按照说明操作,并将Windows更新直接下载到U盘(PLS,确保USB为空),下载大小约为4GB。
下载后,进入USB并运行set up. exe文件,按照其说明进行操作,并耐心等待,因为系统将重新启动几次(确保电池电量充足,充满电,或者靠近🔌电源)。
整个过程完成后,继续安装AppxBundle包📦。
它对我很有效,我希望你也会发现这很有帮助。祝你好运

相关问题