projectkudu / ARMClient

A simple command line tool to invoke the Azure Resource Manager API
http://blog.davidebbo.com/2015/01/azure-resource-manager-client.html
Other
316 stars 97 forks source link

can't install armclient #38

Closed jeffrey-ACE-zz closed 6 years ago

jeffrey-ACE-zz commented 6 years ago

C:\windows\system32>choco install armclient Chocolatey v0.10.8 Installing the following packages: armclient By installing you accept licenses for the packages. armclient not installed. The package was not found with the source(s) listed. If you specified a particular version and are receiving this message, it is possible that the package name exists but the version does not. Version: "" Source(s): "http://wanuget/bootstrap/nuget"

Chocolatey installed 0/1 packages. 1 packages failed. See the log for details (C:\ProgramData\chocolatey\logs\chocolatey.log).

Failures

Enjoy using Chocolatey? Explore more amazing features to take your experience to the next level at https://chocolatey.org/compare

davidebbo commented 6 years ago

It could have been some temporary chocolatey condition, and nothing specific to ARMClient.

jeffrey-ACE-zz commented 6 years ago

You are right, I am not able to install anything from chocolatey.

shis-microsoft commented 6 years ago

Hi, I am also facing similar issue

C:\WINDOWS\system32> choco install armclient Installing the following packages: armclient By installing you accept licenses for the packages. armclient not installed. The package was not found with the source(s) listed. If you specified a particular version and are receiving this message, it is possible that the package name exists but the version does not. Version: "" Source(s): "http://wanuget/bootstrap/nuget"

Chocolatey installed 0/1 packages. 1 packages failed. See the log for details (C:\ProgramData\chocolatey\logs\chocolatey.log).

Failures

is there any alternate way to install armclient without using chocolatey

davidebbo commented 6 years ago

@shis-microsoft why is your package source set to http://wanuget/bootstrap/nuget? It should be https://chocolatey.org/api/v2/. e.g.

C:\Windows\System32>choco sources
Chocolatey v0.10.8
chocolatey - https://chocolatey.org/api/v2/ | Priority 0|Bypass Proxy - False|Self-Service - False|Admin Only - False.
jeffrey-ACE-zz commented 6 years ago

@shis-microsoft try this: choco install armclient -source https://chocolatey.org/api/v2/

davidebbo commented 6 years ago

@jeffrey-ACE that should do it. But why would it be picking up that random other (intranet) source unless something explicitly registered it with Chocolatey?

jeffrey-ACE-zz commented 6 years ago

@davidebbo We need run some powershell script before enlist our source code, I think the powershell script did that.

shis-microsoft commented 6 years ago

Thanks @davidebbo and @jeffrey-ACE it worked :)