chocolatey / ChocolateyGUI

A delicious GUI for Chocolatey
https://docs.chocolatey.org/en-us/chocolatey-gui/
Apache License 2.0
1.61k stars 248 forks source link

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

Open YamamotoKaderate opened 1 year ago

YamamotoKaderate commented 1 year ago

Checklist

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 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