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

List or Uninstall by id does not return expected result #2528

Open
danielniccoli opened this issue Sep 18, 2022 · 2 comments
Open

List or Uninstall by id does not return expected result #2528

danielniccoli opened this issue Sep 18, 2022 · 2 comments
Labels
Area-Matching Issue related to correlation between installed package and manifest Issue-Bug It either shouldn't be doing this or needs an investigation.

Comments

@danielniccoli
Copy link

Brief description of your issue

Winget list and uninstall does not work with --id

Steps to reproduce

  1. List packages by name:
PS C:\> winget list element
Name    Id              Version Available Source
------------------------------------------------
Element Element.Element 1.11.5            winget
Element Element.Element 1.10.1  1.11.5    winget
  1. List or Uninstall by ID.
PS C:\> winget list --id Element.Element
No installed package found matching input criteria.
PS C:\> winget uninstall --id Element.Element
No installed package found matching input criteria.

Expected behavior

Should list packages with respective ids.

Actual behavior

No installed package found matching input criteria.

Environment

Windows Package Manager (Preview) v1.4.2161-preview
Copyright (c) Microsoft Corporation. All rights reserved.

Windows: Windows.Desktop v10.0.22000.978
System Architecture: X64
Package: Microsoft.DesktopAppInstaller v1.19.2161.0

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

Links               
---------------------------------------------------------------------------
Privacy Statement   https://aka.ms/winget-privacy
License 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
@ghost ghost added the Needs-Triage Issue need to be triaged label Sep 18, 2022
@Trenly
Copy link
Contributor

Trenly commented Sep 18, 2022

Can you provide the log files that are generated when you run winget list --id Element.Element --verbose-logs ?

@danielniccoli
Copy link
Author

Hi Trenly, I would like to help out with the logs, but they contain personal information, that I do not want to share. If there's anything specific in it, that I can share, let me know.

If it helps, I do see the same behaviour with other apps as well e.g., "Microsoft.WindowsSDK". If the issue is not specific to Element, you may find some apps on your computer as well, to reproduce.

PS C:\> winget list "Windows Software Development Kit"
Name                                                    Id                   Version          Available    Source
-----------------------------------------------------------------------------------------------------------------
Windows Software Development Kit - Windows 10.0.20348.1 Microsoft.WindowsSDK < 10.0.22000.832 10.0.22621.1 winget
Windows Software Development Kit - Windows 10.0.22621.1 Microsoft.WindowsSDK 10.0.22621.1                  winget

@denelon denelon added Issue-Bug It either shouldn't be doing this or needs an investigation. and removed Needs-Triage Issue need to be triaged labels Sep 19, 2022
@denelon denelon added this to WinGet Feb 14, 2023
@denelon denelon added this to the v1.5-Client milestone Feb 14, 2023
@denelon denelon added the Area-Matching Issue related to correlation between installed package and manifest label Feb 22, 2023
@denelon denelon modified the milestones: v1.5-Client, v.Next-Client Jun 6, 2023
@denelon denelon removed this from WinGet Jun 13, 2023
@denelon denelon removed this from the v.Next-Client milestone Nov 14, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Area-Matching Issue related to correlation between installed package and manifest Issue-Bug It either shouldn't be doing this or needs an investigation.
Projects
None yet
Development

No branches or pull requests

3 participants