powershell - 巧克力不工作

标签 powershell chocolatey

当我使用Choclatey 安装 之类的东西时choco 安装 flashplayerplugin .我收到以下错误:

Chocolatey v0.10.3
Installing the following packages:
flashplayerplugin
By installing you accept licenses for the packages.
flashplayerplugin 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): "https://chocolatey.org/api/v2/"

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

Failures
 - flashplayerplugin - flashplayerplugin 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): "https://chocolatey.org/api/v2/"

最佳答案

当你看到这样的东西时,你应该首先检查以排除会阻止这个特定位置的代理。

大约 90% 的时间,您需要设置代理。

如果不是这样,您可以随时使用 Fiddler 来确定问题所在。

此外,最好在 super 用户或服务器故障(因为这个问题被投票关闭 b/c 而不是关于开发)或在规定的 Chocolatey channel (Gitter 或电子邮件)上询问。高温高压

关于powershell - 巧克力不工作,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/42314997/

相关文章:

chocolatey - 如何降级 Chocolatey 套餐?

windows - Ansible Chocolatey - 只是想更新软件包(如果有)

powershell - 使用powershell创建事件日志条目并填写用户

Powershell:如何创建自定义对象并将其传递给Powershell中的函数?

Powershell重命名多个服务器名称

android - 如何绕过 Powershell 脚本中的安装向导直接启动 Android Studio 的可移植安装?

artifactory - 镜面巧克力与 Artifactory

chocolatey - 从本地源安装 Chocolatey 包时出错

chocolatey - 使用 Chocolatey 和 packages.config 安装 Windows 功能

azure - 在Azure powershell中将输出设置为表格式而不是json