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

Cannot uninstall application with duplicate installed entries #4066

Closed
JoelLarson opened this issue Jan 13, 2024 · 2 comments
Closed

Cannot uninstall application with duplicate installed entries #4066

JoelLarson opened this issue Jan 13, 2024 · 2 comments
Labels
Command-Uninstall Issue related to WinGet Uninstall Side-by-Side Issue related to side by side package installation
Milestone

Comments

@JoelLarson
Copy link

Brief description of your issue

I am unable to install Blender from my computer. Winget seems to be confused as to what the two entries are (seemingly due to version differences). I tried uninstalling it using the package name and version, but it is still confused and emits the "Multiple installed packages found matching input criteria. Please refine the input."

Is there a way to get a UUID to force deleting the specific entry? I'm not sure how to uninstall Blender without doing a reinstall of Windows. The entries do not show up in my "Apps & Features".

PS C:\Users\user> winget upgrade -q "Blender"
Multiple installed packages found matching input criteria. Please refine the input.
Name    Id
---------------------------------
Blender BlenderFoundation.Blender
Blender BlenderFoundation.Blender
PS C:\Users\user> winget list -q "Blender"
Name    Id                        Version Available Source
----------------------------------------------------------
blender BlenderFoundation.Blender 3.6.5   4.0.2     winget
blender BlenderFoundation.Blender 4.0.2             winget
PS C:\Users\user> winget uninstall --name Blender --version 3.6.5
Multiple installed packages found matching input criteria. Please refine the input.
Name    Id
---------------------------------
Blender BlenderFoundation.Blender
Blender BlenderFoundation.Blender

PS C:\Users\user> winget uninstall --name Blender --version 4.0.2
Multiple installed packages found matching input criteria. Please refine the input.
Name    Id
---------------------------------
Blender BlenderFoundation.Blender
Blender BlenderFoundation.Blender

Steps to reproduce

I'm not sure how this occurred. It might be from a combination of using https://github.com/Romanitho/Winget-AutoUpdate and/or manually installing blender?

Expected behavior

Packages would be differentiated appropriately in the winget list command.

Actual behavior

Packages cannot be identified separately and cause any command to uninstall to fail.

Environment

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

Windows: Windows.Desktop v10.0.19045.3930
System Architecture: X64
Package: Microsoft.DesktopAppInstaller v1.21.3482.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                     Disabled
LocalArchiveMalwareScanOverride           Disabled
@microsoft-github-policy-service microsoft-github-policy-service bot added the Needs-Triage Issue need to be triaged label Jan 13, 2024
@mdanish-kh
Copy link
Contributor

This is a case where side-by-side installations are not handled properly by winget. Currently one needs to manually remove the old version (from Apps&Features / appwiz.cpl) to unblock the upgrade behavior.

Related to

@microsoft-github-policy-service microsoft-github-policy-service bot added the Side-by-Side Issue related to side by side package installation label Jan 13, 2024
@stephengillie stephengillie removed the Needs-Triage Issue need to be triaged label Jan 15, 2024
@denelon denelon added the Command-Uninstall Issue related to WinGet Uninstall label Jan 16, 2024
@JoelLarson
Copy link
Author

I opened appwiz.cpl and confirmed that I have no installed entries for Blender.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Command-Uninstall Issue related to WinGet Uninstall Side-by-Side Issue related to side by side package installation
Projects
None yet
Development

No branches or pull requests

4 participants