Skip to content

Repair-WinGetPackageManager does not work on ARM64 #5020

@mdanish-kh

Description

@mdanish-kh

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    Issue-BugIt either shouldn't be doing this or needs an investigation.

    Type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions