microsoft / microsoft/winget-pkgs
[Package Uninstall Issue]: Anaconda3.Anaconda3
Nobody has claimed this yet.
- Dominant language
- No language data
- Stars
- 11.1k
- Forks
- 9.7k
- Avg merge
- 1h 32m
- Merged PRs (30d)
- 376
Description
Please confirm these before moving forward
- I have searched for my issue and not found a work-in-progress/duplicate/resolved issue.
- I have not been informed if the issue is resolved in a preview version of the winget client.
Category of the issue
Other
Brief description of your issue
It seems that winget list Anaconda.Anaconda3 doesn't run properly the uninstaller of anaconda at <INSTALLDIR>\Uninstall-Anaconda3.exe. This might cause error on upgrade for newer versions.
Need help to configure its manifest to point the uninstaller at someway...
Steps to reproduce
I installed Anaconda interactively with this command: winget install -e -i --id=Anaconda.Anaconda3 --source=winget --scope=machine.
And no problem at installation. But when I uninstall it with this command winget list Anaconda.Anaconda3, it doesn't uninstall it, and it says that uninstallation is completed with no errors...
Actual behavior
The code winget list Anaconda.Anaconda3 runs without errors but doesn't uninstall Anaconda, and also break the default uninstaller so that it uninstalls with errors.
Expected behavior
Using winget to uninstall Anaconda.Anaconda3 should run its uninstaller at <INSTALLDIR>\Uninstall-Anaconda3.exe.
For example, I installed Anaconda for all users, so that at my system the uninstaller is at "C:\ProgramData\anaconda3\Uninstall-Anaconda3.exe".
Environment
Windows Package Manager v1.4.11071
Copyright (c) Microsoft Corporation. All rights reserved.
Windows: Windows.Desktop v10.0.19045.2965
System Architecture: X64
Package: Microsoft.DesktopAppInstaller v1.19.11071.0
Logs: %LOCALAPPDATA%\Packages\Microsoft.DesktopAppInstaller_8wekyb3d8bbwe\LocalState\DiagOutputDir
User Settings: %LOCALAPPDATA%\Packages\Microsoft.DesktopAppInstaller_8wekyb3d8bbwe\LocalState\settings.json
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
Screenshots and Logs
No response
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Reproduce the problem with winget list Anaconda.Anaconda3, then inspect the Anaconda3 package manifest and its uninstall configuration. Compare the configured behavior with the reported C:\ProgramData\anaconda3\Uninstall-Anaconda3.exe path; done means winget runs that uninstaller and Anaconda is actually removed without breaking the default uninstaller.
Written by the indexing model from the issue text.
Assessment
- Domain
- cli
- Issue type
- Bug
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100