无法通过Chocolatey在Windows 10上从myget检索Flare VM软件包。

huangapple go评论47阅读模式
英文:

Unable to retrieve Flare VM packages from myget via Chocolatey on Windows 10

问题

我正在尝试在Windows 10上使用Chocolatey安装Flare VM的软件包,但我在安装过程中遇到了问题。您能帮我解决这个问题吗?以下是我收到的输出:

从源'https://www.myget.org/F/vm-packages/api/v2'检索软件包时出错:
  1. 安装较旧版本的Chocolatey。我当前正在使用Chocolatey版本1.4.0,因为较新版本v2存在兼容性问题,已解决此问题 https://github.com/mandiant/flare-vm/issues/454 但出现了这个问题。

  2. 检查源的状态,它是正常的。

英文:

I am trying to install packages for Flare VM on Windows 10 using Chocolatey, but I'm facing issues with the installation. Could you please help me resolve this problem? Here is the output I receive:

Error retrieving packages from source 'https://www.myget.org/F/vm-packages/api/v2':
  1. Install older version of Chocolatey and I am currently using Chocolatey version 1.4.0 because there are compatibility issues with the newer version, v2. solved this issue https://github.com/mandiant/flare-vm/issues/454 but this one arises.

  2. Checked the sources status and its up.

答案1

得分: 1

由于Chocolatey CLI 2.0的发布,Boxstarter在其引导阶段不再能够使用'cinst'。- 这个问题已经在Boxstarter存储库中提出并已合并。

在发布新版本的Boxstarter之前,最好将环境变量chocolateyVersion设置为1.4,以明确使用Chocolatey版本1.4。

$env:chocolateyVersion = '1.4.0'

请参见https://github.com/mandiant/flare-vm/issues/454#issuecomment-1573046515。

英文:

Due to the release of Chocolatey CLI 2.0, Boxstarter is not able to use 'cinst' during its bootstrapping phase any more. - a PR for this has been raised in the Boxstarter repository and already been merged in.

Until a new version of Boxstarter is being released, you best set the environmental variable chocolateyVersion to 1.4 in order to explicitly stick to Chocolatey version 1.4 for now.

$env:chocolateyVersion = '1.4.0'

see https://github.com/mandiant/flare-vm/issues/454#issuecomment-1573046515

huangapple
  • 本文由 发表于 2023年6月6日 10:01:40
  • 转载请务必保留本文链接:https://go.coder-hub.com/76410989.html
匿名

发表评论

匿名网友

:?: :razz: :sad: :evil: :!: :smile: :oops: :grin: :eek: :shock: :???: :cool: :lol: :mad: :twisted: :roll: :wink: :idea: :arrow: :neutral: :cry: :mrgreen:

确定