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 can't uninstall a package showed in winget list #5115

Open
TENX-S opened this issue Jan 8, 2025 · 3 comments
Open

winget can't uninstall a package showed in winget list #5115

TENX-S opened this issue Jan 8, 2025 · 3 comments
Labels
Area-External Issue outside of winget-cli source Issue-Bug It either shouldn't be doing this or needs an investigation.

Comments

@TENX-S
Copy link

TENX-S commented Jan 8, 2025

Brief description of your issue

$ winget list
...
满头大汗了吧,击球手!                       ARP\Machine\Arm64\Steam App 1335940        Unknown
...

$ winget uninstall --id "ARP\Machine\Arm64\Steam App 1335940"
Found 满头大汗了吧,击球手! [ARP\Machine\Arm64\Steam App 1335940]
Starting package uninstall...
An unexpected error occurred while executing the command:
0x800401f5 : Application not found

Steps to reproduce

N/A

Expected behavior

If Application not found, then it should be removed from list.

Actual behavior

Found application ID but can't uninstall it.

Environment

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

Windows: Windows.Desktop v10.0.22631.4602
System Architecture: Arm64
Package: Microsoft.DesktopAppInstaller v1.24.25200.0

Winget Directories                 
-----------------------------------------------------------------------------------------------------------------------
Logs                               %LOCALAPPDATA%\Packages\Microsoft.DesktopAppInstaller_8wekyb3d8bbwe\LocalState\Diag…
User Settings                      %LOCALAPPDATA%\Packages\Microsoft.DesktopAppInstaller_8wekyb3d8bbwe\LocalState\sett…
Portable Links Directory (User)    %LOCALAPPDATA%\Microsoft\WinGet\Links
Portable Links Directory (Machine) C:\Program Files\WinGet\Links
Portable Package Root (User)       %LOCALAPPDATA%\Microsoft\WinGet\Packages
Portable Package Root              C:\Program Files\WinGet\Packages
Portable Package Root (x86)        C:\Program Files (x86)\WinGet\Packages
Installer Downloads                C:\Mac\Home\Downloads

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

Admin Setting                             State
--------------------------------------------------
LocalManifestFiles                        Disabled
BypassCertificatePinningForMicrosoftStore Disabled
InstallerHashOverride                     Disabled
LocalArchiveMalwareScanOverride           Disabled
ProxyCommandLineOptions                   Disabled
DefaultProxy                              Disabled
@microsoft-github-policy-service microsoft-github-policy-service bot added the Needs-Triage Issue need to be triaged label Jan 8, 2025
@stephengillie
Copy link

ARP\Machine\Arm64\Steam App 1335940 isn't in the common Publisher.Package ID format used by the package manager. An Internet search for "Steam App 1335940" suggests this might be a specific package installed through the Steam videogame package manager. Could this be the case?

@microsoft-github-policy-service microsoft-github-policy-service bot removed the Needs-Triage Issue need to be triaged label Jan 8, 2025
@TENX-S
Copy link
Author

TENX-S commented Jan 9, 2025

Yes, that’s correct. I actually installed that package through Steam, but I uninstalled it via Steam a long time ago. So, I have two questions:

  1. It looks like an app installed through Steam will appear in the winget list output. Is this by design?
  2. Is winget aware of packages removed by Steam?

@denelon
Copy link
Contributor

denelon commented Jan 13, 2025

WinGet will display any package that has registry entries showing it to be installed via winget list.
WinGet does not handle individual packages managed by Steam. It would essentially be up to steam to correctly remove those packages.

@denelon denelon added Area-External Issue outside of winget-cli source Issue-Bug It either shouldn't be doing this or needs an investigation. labels Jan 13, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Area-External Issue outside of winget-cli source Issue-Bug It either shouldn't be doing this or needs an investigation.
Projects
None yet
Development

No branches or pull requests

3 participants