Skip to content

Unable to upgrade an installed package #5401

@anthonyvdotbe

Description

@anthonyvdotbe

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    Issue-BugIt either shouldn't be doing this or needs an investigation.PortableIssue related to portable package

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions