microsoft / microsoft/winget-cli

Upgrade for Microsoft.Powershell not working

Open
#2,858 7 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

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

Description

Command used

First attempt (Preview not installed though)

image

´´´
winget upgrade PowerShell
Multiple installed packages found matching input criteria. Please refine the input.
Name Id

PowerShell Microsoft.PowerShell
PowerShell Microsoft.PowerShell.Preview
´´´

Second attempt

´´´
PS C:\Users\pascal.odermatt> winget upgrade --id Microsoft.PowerShell
No applicable upgrade found.
´´´

Issue

´´´
No applicable upgrade found.
´´´

Output winget upgrade

´´´
PowerShell 7.2.8.0-x64 Microsoft.PowerShell 7.2.8.0 7.3.1.0 winget
´´´

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

Start by reproducing the two commands shown: winget upgrade PowerShell and winget upgrade --id Microsoft.PowerShell, using the reported installed and available versions. Compare the package matching and upgrade results with the displayed winget upgrade output; done means the Microsoft.PowerShell package can be selected unambiguously and its available upgrade is reported correctly.

Written by the indexing model from the issue text.

Assessment

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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.