Skip to content
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

Repair-WinGetPackageManager does not work on ARM64 #5020

Open
mdanish-kh opened this issue Nov 29, 2024 · 0 comments
Open

Repair-WinGetPackageManager does not work on ARM64 #5020

mdanish-kh opened this issue Nov 29, 2024 · 0 comments
Labels
Issue-Bug It either shouldn't be doing this or needs an investigation.

Comments

@mdanish-kh
Copy link
Contributor

Brief description of your issue

Run the Sandbox DSC configuration on an ARM64 device. Repair-WinGetPackageManager fails with an Add-AppxPackage deployment error

Steps to reproduce

Run winget configure https://aka.ms/sandbox.dsc.yaml on an ARM64 device

Expected behavior

The deployment to succeed and WinGet successfully provisioned on the sandbox

Actual behavior

Add-AppxPackage : Deployment failed with HRESULT: 0x80073D10, The deployment operation failed because the package
targets the wrong processor architecture.
Windows cannot install package Microsoft. VCLibs. 140.00. UWPDesktop because the package requires architecture ARM, but
this computer has architecture ARM64.
NOTE: For additional information, look for [ActivityId] 22ffdf06-40f5-000a-f61d-0023f540db01 in the Event Log or use
the command line Get-AppPackageLog -ActivityID 22ffdf06-40f5-000a-f61d-0023f540db01
At line:1 char:429
+ ... er cmdlet to bootstrap WinGet ...; Repair-WinGetPackageManager; Write- ...

+ CategoryInfo NotSpecified: (C:\Users\WDAGUt ... 3728. 0_arm. appx: String) [Add-AppxPackage], Exception
+ FullyQualifiedErrorId  DeploymentError, Microsoft. Windows. Appx. PackageManager. Commands . AddAppxPackageCommand

PS C:\Windows\System32>

Environment

Get-Module Microsoft.WinGet.Client | Select Version

Version
-------
1.9.25190
@microsoft-github-policy-service microsoft-github-policy-service bot added the Needs-Triage Issue need to be triaged label Nov 29, 2024
@denelon denelon added this to WinGet Nov 30, 2024
@denelon denelon added Issue-Bug It either shouldn't be doing this or needs an investigation. and removed Needs-Triage Issue need to be triaged labels Nov 30, 2024
@denelon denelon moved this to To Do in WinGet Nov 30, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Issue-Bug It either shouldn't be doing this or needs an investigation.
Projects
Status: To Do
Development

No branches or pull requests

2 participants