capsulecorp-pentest icon indicating copy to clipboard operation
capsulecorp-pentest copied to clipboard

Gohan Fails: Problems adding package provider

Open srand2 opened this issue 3 years ago • 2 comments

TASK [mssql : Powershell | Check for SQLServer DSC Powershell module] **********
fatal: [gohan]: FAILED! => {"changed": false, "msg": "Problems adding package provider: No match was found for the specified search criteria for the provider 'NuGet'. The package provider requires 'PackageManagement' and 'Provider' tags. Please check if the specified package has the tags.", "nuget_changed": false, "output": "", "repository_changed": false}

PLAY RECAP *********************************************************************
gohan                      : ok=1    changed=0    unreachable=0    failed=1    skipped=0    rescued=0    ignored=0

Ansible failed to complete successfully. Any error output should be
visible above. Please fix these errors and try again.

I really dont know what the issue here is. I tried vagrant destroy and then started again.. still didnt work.

I saw this article https://answers.microsoft.com/en-us/windows/forum/windows_7-performance/trying-to-install-program-using-powershell-and/4c3ac2b2-ebd4-4b2a-a673-e283827da143

not sure how to implement it with vagrant, ansible etc...

Any help would be appreciated

srand2 avatar Mar 17 '21 18:03 srand2

I'm having touble replicating this issue on my end. Can you post more verbose output? Try vagrant up gohan --debug & vagrant provision gohan --debug

R3dy avatar Apr 01 '21 13:04 R3dy

sorry for not getting back to you. Ive been working on something else so Ill try to update when I get back to this

srand2 avatar Apr 12 '21 21:04 srand2

Sorry I haven't been responsive on Github issue tracker. It's easier to reach me on Discord!

R3dy avatar Dec 13 '22 16:12 R3dy