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

"winget list" Wrong source is listed. Manually installed program has source "winget" #2882

Closed
ItsIgnacioPortal opened this issue Jan 26, 2023 · 2 comments
Milestone

Comments

@ItsIgnacioPortal
Copy link

Brief description of your issue

When I ran "winget list" I expected to get a list of all of the packages that I had installed by running winget packagenamehere, but instead I got a list of most of my installed programs. This list included the "Everything" alpha release, which I installed manually through an exe from their forums. Winget listed this program's source as "winget", despite me having installed it through an exe and not through winget.

Steps to reproduce

Expected behavior

A program shouldn't be listed in "winget list" if it wasn't installed through winget

C:\Users\User>winget list
Name                                                Id                                                       Version           Available    Source
--------------------------------------------------------------------------------------------------------------------------------------------------

Alternatively, the Source field should be empty:

C:\Users\User>winget list
Name                                                Id                                                       Version           Available    Source
--------------------------------------------------------------------------------------------------------------------------------------------------
Everything 1.5.0.1332a (x64)                        voidtools.Everything.Alpha                               1.5.0.1332                           

Actual behavior

C:\Users\User>winget list
Name                                                Id                                                       Version           Available    Source
--------------------------------------------------------------------------------------------------------------------------------------------------
Everything 1.5.0.1332a (x64)                        voidtools.Everything.Alpha                               1.5.0.1332                     winget

Environment

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

Windows: Windows.Desktop v10.0.19045.2486
System Architecture: X64
Package: Microsoft.DesktopAppInstaller v1.19.10173.0

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

User Settings: %LOCALAPPDATA%\Packages\Microsoft.DesktopAppInstaller_8wekyb3d8bbwe\LocalState\settings.json
@ghost ghost added the Needs-Triage Issue need to be triaged label Jan 26, 2023
@mdanish-kh
Copy link
Contributor

The source field isn't stating which source the package was installed from (there is no way for winget to detect that behavior), rather it is saying that Everything 1.5.0.1332a is available through the "winget" source.

@ItsIgnacioPortal
Copy link
Author

ItsIgnacioPortal commented Jan 26, 2023

The source field isn't stating which source the package was installed from (there is no way for winget to detect that behavior), rather it is saying that Everything 1.5.0.1332a is available through the "winget" source.

I see. I got the wrong impression. Discussion for this continues in #1155

@ghost ghost removed the Needs-Triage Issue need to be triaged label Jan 26, 2023
@denelon denelon added this to the v1.5-Client milestone Feb 14, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants