LSPosed / MagiskOnWSALocal

Integrate Magisk root and Google Apps into WSA (Windows Subsystem for Android)
GNU Affero General Public License v3.0
9.41k stars 22.86k forks source link

Add-AppxPackage -ForceApplicationShutdown -ForceUpdateFromAnyVers #760

Closed ob7 closed 7 months ago

ob7 commented 7 months ago

Steps to reproduce/复现步骤

When running the bat from output, it fails at Ad-AppxPackage: Deployment failed with HRESULT: 0x80073CFD, A Prerequisite for an install could not be satisfied. Windows cannot deploy to path WSA_2310.40000.2.0_x64_Release-Nightly-with-magisk-264(26400)-stable-MinTheGapps-13.0-RemovedAmazon of file system type 9P. NOTE: For additional information look for [ActivityId] 5123512-123512351235-215251235213521 in the Event Log or use the command line Get-AppPackageLog -ActivityID 3515313515-123512351235-231512351235 at \wsl.localhos\Ubuntu\home\user\MagiskOnWSALocal\outpu\WSA....etc....\Install.ps1:176 char 5

Expected behaviour/预期行为

Its suppose to install WSL with GApps

Actual behaviour/实际行为

Nothing added to start menu to launch any of the expected to be installed apps

MagiskOnWSALocal commit full SHA/MagiskOnWSALocal 提交的完整哈希

d44a77be84fac312d343ac501b497828209da089

Linux distribution info/Linux 发行版信息

ubuntu from windows store uname -a Linux LAPTOP 5.10.16.3-microsoft-standard-WSL2 x86_64 GNU/Linux

Windows version/Windows 版本

Windows 11 Pro 23H2 | OS build 22631.2861 | Experience: 1000.22681.1000.0

Build Parameters/构建参数

COMMAND_LINE=--arch x64 --release-type retail --root-sol none --gapps-brand MindTheGapps INFO: Architecture: x64 INFO: Release Type: retail INFO: Magisk Version: stable INFO: GApps Brand: MindTheGapps INFO: GApps Variant: pico INFO: Root Solution: none Build: RELEASE_TYPE=Retail

Version requirement/版本要求

Logs/日志

[//]: <> (Don't modify above) ``` When running the bat from output, it fails at Ad-AppxPackage: Deployment failed with HRESULT: 0x80073CFD, A Prerequisite for an install could not be satisfied. Windows cannot deploy to path WSA_2310.40000.2.0_x64_Release-Nightly-with-magisk-264(26400)-stable-MinTheGapps-13.0-RemovedAmazon of file system type 9P. NOTE: For additional information look for [ActivityId] 5123512-123512351235-215251235213521 in the Event Log or use the command line Get-AppPackageLog -ActivityID 3515313515-123512351235-231512351235 at \\wsl.localhos\Ubuntu\home\user\MagiskOnWSALocal\outpu\WSA....etc....\Install.ps1:176 char 5 + Add-AppxPackage -ForceApplicationShutdown -ForceUpdateFromAnyVers ... + CategoryInfo : NotSpecified: (\\wsl.localhost...ppxManifest.xml:String) [Add-AppxPacakge], Exception + FullyQualifiedErrorId : DeploymentError, Microsoft.Windows.Appx.PackageManager.Commands.AddAppxPackageCommand ``` [//]: <> (Don't modify below)
ob7 commented 7 months ago

Duplicate #599 Solution is copy from ubuntu virtualmachine to windows directory, such as Downloads, and then run it from there.