microsoft / microsoft/winget-cli
x64 version of winget does install x64 packages on arm system, instead of the arm variant
Nobody has claimed this yet.
- Dominant language
- C++
- Stars
- 26.4k
- Forks
- 1.8k
- Avg merge
- 1d 11h
- Merged PRs (30d)
- 15
Description
Brief description of your issue
If a x64 version is ran on a arm64 machine through emulation, winget will install the x64 version of a package instead of the arm64.
While the user usually has the proper version installed, sometimes, especially with bundled winget executables (such as the one on WingetUI) often cause issues.
This issue applies to updates as well, where Winget will install the x64 update over the previous arm package
Steps to reproduce
Run a x64 version of Winget on an arm system through emulation.
Anothger way is to use the bundled winget executable in WingetUI)
Expected behavior
Winget detected the proper system architecture and installed the corresponding packages, regardless of the architecture of the process itself.
Actual behavior
Winget x64 emulated on arm installs x64 packages on arm machines
Environment
winget --info
Windows-Paket-Manager v1.3.2691
Copyright (c) Microsoft Corporation. Alle Rechte vorbehalten.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reproducing the issue with the x64 winget executable under emulation on an ARM64 Windows system, including an update and the bundled WingetUI executable. Trace how the CLI determines system and package architecture; done means it selects the ARM variant for installs and updates rather than the process architecture.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- cpp
- Domain
- cli, operating-systems
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 42/100