Skip to content

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

Open

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

Activity

  1. ghost added
    Needs-Triage
    on Aug 6, 2022
  2. changed the title [-]`winget upgrade --all` gives `No installed package found matching input criteria."[/-] [+]`winget upgrade --all` gives `No installed package found matching input criteria.`[/+] on Aug 6, 2022
  3. Trenly commented on Aug 6, 2022

    @Trenly
    Contributor

    What is the output of winget upgrade? Can you provide the log files of winget upgrade --all --verbose-logs ?

  4. scottbeamer commented on Aug 7, 2022

    @scottbeamer

    I'm having a similar problem. " winget upgrade --all" just lists a package available for upgrade but doesn't install it.

    image

  5. worldofgeese commented on Aug 7, 2022

    @worldofgeese
    Author

    Kaleb Luedtke (@Trenly)

    winget upgrade
    No installed package found matching input criteria.

    winget upgrade --all --verbose-logs
    No installed package found matching input criteria.

  6. Trenly commented on Aug 7, 2022

    @Trenly
    Contributor

    Kaleb Luedtke (@Trenly)

    winget upgrade No installed package found matching input criteria.

    winget upgrade --all --verbose-logs No installed package found matching input criteria.

    Can you upload the log files? The folder they are in can be found with winget —info

  7. added
    Issue-Bug
    and removed
    Needs-Triage
    on Aug 8, 2022
  8. github-account1111 commented on Aug 15, 2022

    @github-account1111

    Same issue with both upgrade and upgrade --all.
    WinGet-2022-08-15-14-24-28.212.log

  9. github-account1111 commented on Oct 29, 2022

    @github-account1111

    I am almost positive this has something to do with Group Policies.

    Here are mine if anyone wants to compare:

    Computer

    image

    image

    User:

    image

  10. venkatarangan commented on Oct 30, 2022

    @venkatarangan

    I am facing the same problem. I have installed over a dozen apps with Winget, now when I try to upgrade them I get the same error mentioned above.

    winget upgrade --all --verbose-logs
    No installed package found matching input criteria.__

  11. bviktor commented on Dec 12, 2022

    @bviktor

    Same here. winget list lists all the programs installed, and I know for a fact there are updates, but winget upgrade --all says the same thing. Previously it was giving me some errors, after which I tried resetting winget, and now all I get is this.

  12. bviktor commented on Dec 12, 2022

    @bviktor

    Okay, so after reading the related link, I opened admin PowerShell, then

    winget source reset --force
    winget upgrade
    

    Accepted the agreement, and now it finally works. Yay!

  13. modified the milestones: v1.5-Client, on Apr 18, 2023
  14. Trenly commented on Jun 16, 2023

    @Trenly
    Contributor

    [Policy] Command-Upgrade

  15. Auspxe commented on May 28, 2024

    @Auspxe

    Okay, so after reading the related link, I opened admin PowerShell, then

    winget source reset --force
    winget upgrade
    

    Accepted the agreement, and now it finally works. Yay!

    This works.

  16. removed this from the milestone on Nov 14, 2024
  17. agedburd commented on Feb 24, 2025

    @agedburd

    Experiencing the same issue. Started after a Git upgrade.

  18. Oldiesmann commented on Apr 25, 2025

    @Oldiesmann

    Experiencing this with PHP.

    Image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Command-UpgradeIssue-Bug

    Type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions