Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

upgrade using --id does not filter the right match #1696

Closed
baget opened this issue Nov 11, 2021 · 2 comments
Closed

upgrade using --id does not filter the right match #1696

baget opened this issue Nov 11, 2021 · 2 comments
Labels
Resolution-Duplicate Issue is a duplicate
Milestone

Comments

@baget
Copy link

baget commented Nov 11, 2021

Brief description of your issue

I'm trying to upgrade an application with their unique ID (using --id) shown by winget, but getting error of "Multiple installed packages found matching input criteria. Please refine the input."

[D:\Work]> winget upgrade --id "Audacity.Audacity"
Multiple installed packages found matching input criteria. Please refine the input.
Name           Id
--------------------------------
Audacity       Audacity.Audacity
Audacity 2.1.3 Audacity®_is1

I had two version of Audacity in "Program and Features" but according to Winget it is two different IDs
if you remove the old one, issue gone away

Steps to reproduce

try to upgrade Audacity using --id flag:

winget upgrade --id "Audacity.Audacity"

Expected behavior

Upgrade Audacity

Actual behavior

return error:
"Multiple installed packages found matching input criteria. Please refine the input."

Environment

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

Windows: Windows.Desktop v10.0.19043.1348
Package: Microsoft.DesktopAppInstaller v1.16.12701.0

Logs: %LOCALAPPDATA%\Packages\Microsoft.DesktopAppInstaller_8wekyb3d8bbwe\LocalState\DiagOutputDir

Links
---------------------------------------------------------------------------
Privacy Statement   https://aka.ms/winget-privacy
Licence Agreement   https://aka.ms/winget-license
Third Party Notices https://aka.ms/winget-3rdPartyNotice
Homepage            https://aka.ms/winget
Windows Store Terms https://www.microsoft.com/en-us/storedocs/terms-of-sale

I had two version of Audacity in "Program and Features" but according to Winget it is two different IDs
if you remove the old one, issue gone away
@ghost ghost added the Needs-Triage Issue need to be triaged label Nov 11, 2021
@denelon
Copy link
Contributor

denelon commented Nov 11, 2021

@ghost
Copy link

ghost commented Nov 11, 2021

@baget we've identified this Issue as a duplicate of another one that already exists. This specific instance is being closed in favor of tracking the concern over on the referenced Issue. Thanks for your report! Be sure to add your 👍 to the other issue to help raise the priority.

@ghost ghost closed this as completed Nov 11, 2021
@ghost ghost added Resolution-Duplicate Issue is a duplicate and removed Needs-Triage Issue need to be triaged labels Nov 11, 2021
@denelon denelon added this to the v1.3-Client milestone Jun 21, 2022
This issue was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Resolution-Duplicate Issue is a duplicate
Projects
None yet
Development

No branches or pull requests

2 participants