microsoft / winget-cli

WinGet is the Windows Package Manager. This project includes a CLI (Command Line Interface), PowerShell modules, and a COM (Component Object Model) API (Application Programming Interface).
https://learn.microsoft.com/windows/package-manager/
MIT License
23.35k stars 1.45k forks source link

Cannot `uninstall` #4875

Open avi12 opened 1 month ago

avi12 commented 1 month ago

Brief description of your issue

I cannot uninstall an app that was installed with Winget

Steps to reproduce

  1. Install any package, e.g. Gyan.FFmpeg
  2. winget uninstall Gyan.FFmpeg

Expected behavior

Uninstallation should work

Actual behavior

No installed package found matching input criteria.

Environment

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

Windows: Windows.Desktop v10.0.19045.4957 System Architecture: X64 Package: Microsoft.DesktopAppInstaller v1.23.1911.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 %USERPROFILE%\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 Enabled LocalArchiveMalwareScanOverride Disabled ProxyCommandLineOptions Disabled DefaultProxy Disabled

similar-issues-ai[bot] commented 1 month ago

We've found some similar issues:

If any of the above are duplicates, please consider closing this issue out and adding additional context in the original issue.

Note: You can give me feedback by 👍 or 👎 this comment.

avi12 commented 1 month ago

Note that it's not unique to Gyan.FFmpeg Winget also failed to uninstall Vendicated.Vencord

denelon commented 1 month ago

Do you have more than one version present via winget list?

Can you share the log from running winget uninstall Gyan.FFmpeg --verbose-logs --logs

avi12 commented 1 month ago

WinGet-2024-10-12-21-29-53.275.log

avi12 commented 1 month ago

@denelon

Do you have more than one version present via winget list?

Nope Image

Also, a few minutes ago I tried manually uninstalling FFmpeg via appwiz.cpl, but the uninstaller is stuck Image