Skip to content

Unable to Uninstall Duplicate Packages #4475

Closed

Description

@SuperBartimus

Brief description of your issue

I'm having problems with trying to uninstall or remove the package

Steps to reproduce

Here are the commands issued:

PS> winget list winpaletter
Name        Id                        Version Available Source
--------------------------------------------------------------
WinPaletter Abdelrhman-AK.WinPaletter 1.0.9.0 1.0.9.3   winget
WinPaletter Abdelrhman-AK.WinPaletter 1.0.8.4 1.0.9.3   winget


PS> winget uninstall --force -e --ID Abdelrhman-AK.WinPaletter
No installed package found matching input criteria.


PS> winget uninstall --force -e --name WinPaletter --version 1.0.8.4
Multiple installed packages found matching input criteria. Please refine the input.
Name        Id
-------------------------------------
WinPaletter Abdelrhman-AK.WinPaletter
WinPaletter Abdelrhman-AK.WinPaletter

Expected behavior

Ability to target the package in some form or fashion and perform the uninstall or remove the entry from Winget if the uninstaller doesn't exist.

Actual behavior

See "Steps to reproduce"

Environment

winget --info
Windows Package Manager v1.7.11261
Copyright (c) Microsoft Corporation. All rights reserved.

Windows: Windows.Desktop v10.0.22631.3527
System Architecture: X64
Package: Microsoft.DesktopAppInstaller v1.22.11261.0

Winget Directories
-------------------------------------------------------------------------------------------------------------------------------
Logs                               %LOCALAPPDATA%\Packages\Microsoft.DesktopAppInstaller_8wekyb3d8bbwe\LocalState\DiagOutputDir
User Settings                      %LOCALAPPDATA%\Packages\Microsoft.DesktopAppInstaller_8wekyb3d8bbwe\LocalState\settings.json
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                \\Meir-Storr\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. github-actions commented on May 13, 2024

    @github-actions

    Hi I'm an AI powered bot that finds similar issues based off the issue title.

    Please view the issues below to see if they solve your problem, and if the issue describes your problem please consider closing this one and thumbs upping the other issue to help us prioritize it. Thank you!

    Open similar issues:

    Closed similar issues:

    Note: You can give me feedback by thumbs upping or thumbs downing this comment.

  2. denelon commented on May 14, 2024

    @denelon
    Collaborator

    SuperBartimus

    We've been doing some work in WinGet with respect to packages that allow different versions to be installed side-by-side. If you are interested, you could try our latest preview release of WinGet and enable the experimental feature.

  3. added
    Issue-Bug
    on May 14, 2024
  4. denelon commented on Jul 3, 2024

    @denelon
    Collaborator

    WinGet 1.8 now supports uninstalling a specific version of an application when more than one is installed side-by-side.

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

    Issue-Bug

    Type

    No type

    Projects

    No projects

      Milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions