microsoft / microsoft/winget-cli

Cannot install `x64` release on `arm64` whenever `--locale` is explicitly specified

Open
#6,377 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Command-Show Issue-Bug
Dominant language
C++
Stars
26.4k
Forks
1.8k
Avg merge
1d 11h
Merged PRs (30d)
15

Description

Relevant area(s)

WinGet CLI

Relevant command(s)

winget show

Brief description of your issue

winget view incorrectly reports “No applicable installer” for an x64 package on ARM64 Windows.

Steps to reproduce

On an ARM64 PC (enter winget --info to check), enter winget view for a package of which only an x64 release is available.

Expected behavior

Find the x64 release.

Actual behavior

When --locale is specified, no matter if it is the same as the same as the preferred Windows display language, it reports "No applicable installer" even if -a x64 (introduced since https://github.com/microsoft/winget-cli/issues/906#issuecomment-4467244533) is added.

Environment
Windows: Windows.Desktop v10.0.26200.8875
系统体系结构: Arm64
软件包: Microsoft.DesktopAppInstaller v1.29.280.0

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Reproduce the issue on an ARM64 Windows system using winget --info and winget view for a package with only an x64 release, first with --locale and then with -a x64. Trace the CLI's locale and architecture selection path; done means the x64 installer is found when an explicit locale is supplied and the regression is covered by an appropriate test.

Written by the indexing model from the issue text.

Assessment

Tech stack
cpp
Domain
cli
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Quiet
Clarity
Mostly clear
Newbie friendliness
55/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.