microsoft / microsoft/winget-cli

winget-upgrade: The following prompt is inappropriate when all packages on a device are already up-to-date.

Open
#5,681 4 comments 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

Command-Upgrade Issue-Feature
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 upgrade

Brief description of your issue

Currently, after using the winget upgrade command to update software to the latest version, the system displays the message:
"(No installed package found matching input criteria.)"
This prompt is unreasonable.

Steps to reproduce

Steps to Reproduce the Issue:
Press Windows + R, type cmd, and open Command Prompt.
Run winget upgrade to upgrade the software packages on the current device to the latest versions.
Execute winget upgrade again. The system will display the unreasonable prompt: (No installed package found matching input criteria.)

Expected behavior

The prompt "(No installed package found matching input criteria.)" is incorrect.

Actual behavior

Suggested improvement: Use a prompt such as (The current software package is already the latest version).

Environment
Microsoft Windows
version 24H2 (OS 26100.4946)
winget version
Windows Package Manager v1.11.430

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 at the winget upgrade command path and reproduce the second-run behavior in Command Prompt, where all packages are already current. Trace the source of the "No installed package found matching input criteria" message and update the no-upgrades case to use an accurate prompt; verify the revised behavior by running winget upgrade twice.

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
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.