microsoft / microsoft/winget-cli

`winget upgrade --all` gives `No installed package found matching input criteria.`

Open
#2,426 14 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

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

Description

Brief description of your issue

winget upgrade --all returns No installed package found matching input criteria. when run from Windows PowerShell.

I have tried uninstalling App Installer and reinstalling both from the latest release msix and from the Store but I continue to receive the same result.

Steps to reproduce
  1. Enter winget upgrade --all into Windows PowerShell.
Expected behavior

winget upgrade --all should offer to upgrade packages installed on my system.

Actual behavior

winget upgrade --all misinterprets my command and does not upgrade packages

Environment
Windows Package Manager v1.3.2091
Copyright (c) Microsoft Corporation. All rights reserved.

Windows: Windows.Desktop v10.0.22622.440
System Architecture: X64
Package: Microsoft.DesktopAppInstaller v1.18.2091.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

Start by reproducing winget upgrade --all in Windows PowerShell with the reported WinGet and Windows versions. Trace the CLI's handling of the upgrade command and --all option, then verify that installed packages are discovered and offered for upgrade without the reported error.

Written by the indexing model from the issue text.

Assessment

Tech stack
cpp, powershell
Domain
cli, operating-systems
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.