Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Warning: Unable to resolve dependency 'chocolatey' #10

Open
koppor opened this issue Sep 20, 2023 · 4 comments
Open

Warning: Unable to resolve dependency 'chocolatey' #10

koppor opened this issue Sep 20, 2023 · 4 comments

Comments

@koppor
Copy link

koppor commented Sep 20, 2023

When using the action today, the output is:

[NuGet] One or more unresolved package dependency constraints detected in the Chocolatey lib folder. All dependency constraints must be resolved to add or update packages. If these packages are being updated this message may be ignored, if not the following error(s) may be blocking the current package operation: 'apache-httpd 2.4.55 constraint: chocolatey (>= 1.2.0)', 'cmake.install 3.27.4 constraint: chocolatey (>= 0.10.5)', 'php 8.2.10 constraint: chocolatey (>= 0.10.0)'
Unable to resolve dependency 'chocolatey': Unable to resolve dependencies. 'chocolatey 1.1.0' is not compatible with 'apache-httpd 2.4.55 constraint: chocolatey (>= 1.2.0)'.

Does it really try to install chocolatey itself?

@t-w
Copy link

t-w commented Mar 8, 2024

I have also just started getting this error - but it was working well quite recently, like a week ago or so. Now, CygWin installation is failing in the same way.

Any news on this?

@t-w
Copy link

t-w commented Mar 9, 2024

So it seems to me like some problem with CygWin repositories/mirrors:

I switched to the official CygWin install action, and specified manually some mirror. It worked.
Than, after a while - it stopped working in the same way as this action. Initially, I thought that it is something due to mirror overuse by the CI (the build was executed several times), but then I had a look at the contents on the mirror - the signature files that were present when it was working (I checked!) were gone. So, it seems like some unfinished/invalid update of CygWin repositories(?) that propagates.

If it is so, this causes issues in case of every CygWin installation action (or whatever using CygWin's installer).

@EliahKagan
Copy link

I believe the recent outage is the problem described in the Signature files missing thread on the Cygwin mailing list. Assuming that is the case, I think it should be resolved now, at least for most mirrors.

I still get "Unable to resolve dependency 'chocolatey'" messages--as I had before the recent problem started--but Cygwin is able to install and run again for me on CI with this action.

@t-w
Copy link

t-w commented Mar 11, 2024

Yep, it seems it is working, now.

(I meant: the CygWin installer, as I wrote I started using a different action...).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants