microsoft / microsoft/winget-pkgs
[Package Issue]: Microsoft.Powershell
- Dominant language
- No language data
- Stars
- 11.1k
- Forks
- 9.7k
- PR merge metrics
- PR metrics pending
Description
### Please confirm these before moving forward
- [x] I have searched for my issue and not found a work-in-progress/duplicate/resolved issue.
- [x] I have not been informed if the issue is resolved in a preview version of the winget client.
### Category of the issue
Installation issue.
### Brief description of your issue
If you have already installed the Microsoft.Powershell arm64 architecture on an ARM hardware device and use the standard winget upgrade, the x64 version is installed and the arm64 version remains untouched. After that, PowerShell crashes due to the mixed architecture.
### Steps to reproduce
* Use an arm hardware
* Install any powershell arm64 edition
_ use winget upgrade to upgrade to the current version
### Actual behavior
The incorrect architecture has been installed instead of upgrading the correct architecture.
### Expected behavior
Upgrade an arm64 edition with the correct architecture
### Environment
```raw
Package Manager: v1.29.290
Windows desktop: v10.0.26200.9445
App Installer: v1.29.290.0
```
### Screenshots and Logs
_No response_
Contributor guide
Research direction
Start by reproducing the Microsoft.Powershell upgrade on ARM hardware with winget upgrade, then inspect the package metadata for how ARM64 and x64 installers are selected. Done means upgrading an installed PowerShell ARM64 edition keeps the ARM64 architecture and does not install the x64 version.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- powershell
- Domain
- cli, operating-systems
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Active
- Clarity
- Mostly clear
- Newbie friendliness
- 64/100