Open lackovic opened 3 months ago
Unfortunately, uninstallation isn't currently tested by the pipelines.
Edit: Testing in a Windows 10 VM, I couldn't replicate the issue.
PS C:\Users\User\Desktop> winget --info
Windows Package Manager v1.7.11261
Copyright (c) Microsoft Corporation. All rights reserved.
Windows: Windows.Desktop v10.0.19044.1288
System Architecture: X64
Package: Microsoft.DesktopAppInstaller v1.22.11261.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 Enabled
BypassCertificatePinningForMicrosoftStore Disabled
InstallerHashOverride Disabled
LocalArchiveMalwareScanOverride Enabled
PS C:\Users\User\Desktop>
I have it listed as installed twice, although I only installed it once:
> winget list | findstr Neovim
Neovim Neovim.Neovim 0.9.5 0.10.0 winget
Neovim Neovim.Neovim 0.10.0 winget
I uninstalled the 0.9.5 manually from the menu Start > Add and remove programs.
After doing so the uninstallation through winget worked.
This is not the first app that I found installed twice on my system. What's going on with these double installations?
Please confirm these before moving forward
Category of the issue
Installation issue.
Brief description of your issue
I have installed
Neovim.Neovim
withwinget install neovim
. When I try to uninstall it I get the following message:Steps to reproduce
Run
winget install neovim
and thenwinget uninstall --id Neovim.Neovim
.Actual behavior
winget outputs the following message:
Expected behavior
Neovim.Neovim gets uninstalled.
Environment
Screenshots and Logs
WinGet-2024-05-31-16-32-43.295.log