如何成功升级Chocolatey

How to successfully upgrade Chocolatey

我尝试升级 Chocolatey 失败:

> choco upgrade chocolatay
Chocolatey v0.11.2
Upgrading the following packages:
chocolatay
By upgrading, you accept licenses for the packages.
chocolatay is not installed. Installing...
chocolatay not installed. The package was not found with the source(s) listed.
 Source(s): 'https://community.chocolatey.org/api/v2/'
 NOTE: When you specify explicit sources, it overrides default sources.
If the package version is a prerelease and you didn't specify `--pre`,
 the package may not be found.

有没有办法摆脱这种困境?

choco upgrade chocolatay -f

结果大致相同。

这似乎只是一个打字错误 - 该产品名为 Chocolatey(在 y[ 之前有一个 e =18=] - 不是 "a") - 所以试试这个:

choco upgrade chocolatey

你应该没问题:-)