Skip to content

Unable to upgrade an installed package #5401

Open

Description

Brief description of your issue

winget list lists the package, but winget upgrade fails to upgrade it.

Steps to reproduce

  • install Gyan.FFmpeg.Shared
  • run winget list --id 'Gyan.FFmpeg.Shared'
  • run winget upgrade --id 'Gyan.FFmpeg.Shared'

Expected behavior

winget list lists the package and winget upgrade upgrades it.

Actual behavior

PS C:\Users\antho> winget list --id 'Gyan.FFmpeg.Shared'
Name            Id                 Version Available Source
-----------------------------------------------------------
FFmpeg (Shared) Gyan.FFmpeg.Shared 6.0     7.1.1     winget
PS C:\Users\antho> winget upgrade --id 'Gyan.FFmpeg.Shared'
No installed package found matching input criteria.
NativeCommandExitException: Program "winget.exe" ended with non-zero exit code: -1978335212.
PS C:\Users\antho>

Environment

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

Windows: Windows.Desktop v10.0.26100.3775
System Architecture: X64
Package: Microsoft.DesktopAppInstaller v1.25.340.0

Activity

  1. anthonyvdotbe commented on Apr 22, 2025

    @anthonyvdotbe
    Author

    Related issues: #4875 and #3910.

  2. added
    Issue-Bug
    Portable
    and removed
    Needs-Triage
    on Apr 23, 2025
  3. deadlydog commented on Oct 24, 2025

    @deadlydog

    I'm having the same problem. I have a package installed that I've updated many times in the past with WinGet. Now winget upgrade is showing that there is an update, but it can't find it when running the winget upgrade <package id> command. I've had no issues with this in the past, so it seems to be a regression introduced in a recent winget version.

    Image
  4. MikeVensel commented on Dec 5, 2025

    @MikeVensel

    This is still an issue for me with both the Gyan.FFmpeg and yt-dlp.FFmpeg.

    Windows Package Manager v1.12.420
    Copyright (c) Microsoft Corporation. All rights reserved.
    
    Windows: Windows.Desktop v10.0.26100.7171
    System Architecture: X64
    Package: Microsoft.DesktopAppInstaller v1.27.420.0
    
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

    Issue-BugPortable

    Type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions