Skip to content

Winget says package is already installed, when it isn't #3910

Open

Description

Brief description of your issue

2 flavors of FFmpeg cannot be installed alongside each other, but the error message doesn't make sense and is confusing.

Steps to reproduce

  • winget install --id 'Gyan.FFmpeg' --scope machine
  • winget install --id 'Gyan.FFmpeg.Shared' --scope machine

Expected behavior

Either both packages install, or the second command explains that Gyan.FFmpeg.Shared cannot be installed alongside Gyan.FFmpeg (ideally, it would also explain that Gyan.FFmpeg.Shared is a superset of Gyan.FFmpeg, and propose to uninstall Gyan.FFmpeg automatically before installing Gyan.FFmpeg.Shared).

Actual behavior

The second command just says the package is already installed, which is not true and confusing. What's particularly problematic to me, is that the commands use IDs, so it doesn't make sense to me that 2 packages with different IDs cause this behavior.

Environment

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

Windows: Windows.Desktop v10.0.22631.2715
System Architecture: X64
Package: Microsoft.DesktopAppInstaller v1.21.3133.0

Activity

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

Metadata

Assignees

No one assigned

    Labels

    Area-ExternalIssue outside of winget-cli sourceArea-MatchingIssue related to correlation between installed package and manifestSide-by-SideIssue related to side by side package installation

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions