Skip to content

Cannot uninstall application with duplicate installed entries #4066

Closed

Description

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

Activity

  1. mdanish-kh commented on Jan 13, 2024

    @mdanish-kh
    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

  2. added
    Side-by-Side
    on Jan 13, 2024
  3. added
    Command-Uninstall
    on Jan 16, 2024
  4. JoelLarson commented on Jan 22, 2024

    @JoelLarson
    Author

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

  5. mi-skam commented on Sep 23, 2024

    @mi-skam

    Have the same issue. The db are seemingly not in sync. What a mess this still is...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Command-UninstallSide-by-Side

    Type

    No type

    Projects

    No projects

      Milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions