chocolatey / chocolatey/ChocolateyGUI
Package uninstall failure error not providing error details.
- Dominant language
- C#
- Stars
- 1.8k
- Forks
- 271
- Avg merge
- 4d 13h
- Merged PRs (30d)
- 1
Description
### What You Are Seeing?
When uninstalling a package fails, the results do not include any actionable information.
In version `0.14.0-unstable0245`:

In version `1.1.0`:

### What is Expected?
Some sort of error output, or an indication that there was no information.
### How Did You Get This To Happen? (Steps to Reproduce)
1. `choco install putty.portable`
2. Launch Chocolatey GUI and verify that `putty.portable` is showing as installed.
3. `choco uninstall putty.portable`
4. In Chocolatey GUI, find `putty.portable` and attempt to uninstall
### Additional Details
The code to generate this message is right here: https://github.com/chocolatey/ChocolateyGUI/blob/1595d271f44f29251c48b43e59c552b8aac37074/Source/ChocolateyGui.Common.Windows/ViewModels/Items/PackageViewModel.cs#L533-L538
### System Details
N/A
### Output Log
None at this time.
Contributor guide
Research direction
Start in Source/ChocolateyGui.Common.Windows/ViewModels/Items/PackageViewModel.cs at lines 533-538, where the uninstall failure message is generated. Reproduce the failure with choco install putty.portable, choco uninstall putty.portable, and the Chocolatey GUI, then verify that the uninstall result shows actionable error details or clearly indicates that no information is available.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- csharp
- Domain
- desktop
- Issue type
- Bug
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Activity status
- Stale
- Clarity
- Clearly specified
- Newbie friendliness
- 55/100