chocolatey / chocolatey/ChocolateyGUI

Error message "Unable to resolve dependencies. 'package A' is not compatible with ..." not displayed in the GUI

Open
#1,007 0 comments 0 reactions 0 assignees View on GitHub
Enhancement
Dominant language
C#
Stars
1.8k
Forks
271
Avg merge
4d 13h
Merged PRs (30d)
1

Description

### Checklist

- [X] I have verified this is the correct repository for opening this issue.
- [X] I have verified no other issues exist related to my request.

### Is Your Feature Request Related To A Problem? Please describe.

After 2.0.0 upgrade, I had a package conflict preventing me to upgrade other packages, but the GUI didn't show the underlying error. The error message was just saying that it was impossible to upgrade the package.
The exact error was only shown with the cli commands.
"Unable to resolve dependency: Unable to resolve dependencies. 'miktex.install 21.8.0' is not compatible with 'miktex 22.10.0 constraint: miktex.install (= 22.10.0)'."
See [https://github.com/chocolatey/choco/issues/3176](https://github.com/chocolatey/choco/issues/3176)
When i tried to show the console output, the window closed immediatly before the error was readable.

### Describe The Solution. Why is it needed?

I think this error should be displayed with the last error message in the GUI so that cli-afraid users could resolve the problem on their own.
The cherry on the cake would be to display a "conflict" banner on the responsible packages

### Additional Context

_No response_

### Related Issues

[https://github.com/chocolatey/choco/issues/3176](https://github.com/chocolatey/choco/issues/3176)

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.