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
win_chocolatey || Failed to resolve dependency #3416
Comments
I have found the work around by specifying the dependency in the ansible playbook.
But again , its like before installing any packge using chocolatey via ansible, I have to confirm the dependency first from the portal , ensure they are added and then run the playbook. Whereas this was not required earlier . Does anyone aware why the dependency are not getting resolved by the "win_chocolatey" module? |
There were updates yesterday to the Chocolatey Community Repository that could have caused this and then some updates later that could have fixed this. Can you:
The issue may also be down to caching. |
hello @pauby I have tried to re-run the code with the previous logic and its failing for installing "powershell-core" package, but that gives dependency issue. I have checked on the portal and their are update with its dependency. |
Did you 'Try it with Chocolatey CLI directly and see if you get the same results'? |
hello @pauby |
There were issues with the site last week which could have caused this. These were resolved. Thats why I asked if you could try again to run directly using Chocolatey CLI. Im unable to reproduce the issue. Without that there isn't anything we can 'fix'. |
I am trying with Ansible logic, which is failing with below error. Do they still have issue with their website ? Ansible logic:
Error message: |
Is this still relevant? If so, what is blocking it? Is there anything you can do to help move it forward? |
We are good to close it. |
Checklist
What You Are Seeing?
I have below ansible playbook, which was working fine before . From last week, we have been experiencing issues while installing the packages on the windows 2019 server using "win_chocolatey".
Kindly find with the following details.
Below is my playbook
What I tried is to update the "chocolatey" but that didn't work. Although it upgraded from "Chocolatey version: 2.0.0" to "Chocolatey version: 2.2.2", but no luck.
Main issue is that it's not able to resolve the dependency , if I explicit define the dependency which is showing up in the error message, then it will through same error with some other package dependency.
+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
It's failing with below error messages.
What is Expected?
win_chocolatey ansible module should resolve the dependency and install the packages on the windows 2019 server.
How Did You Get This To Happen?
name: Install AWS CLI
win_chocolatey:
name: awscli
state: present
win_chocolatey:
name: powershell-core
state: present
install_args: ADD_EXPLORER_CONTEXT_MENU_OPENPOWERSHELL=1 REGISTER_MANIFEST=1 USE_MU=1 ENABLE_MU=1
win_chocolatey:
name: chromium
state: present
System Details
Installed Packages
Output Log
Additional Context
NA
The text was updated successfully, but these errors were encountered: