在Windows 10中没有通过OneGet / PackageManagement安装Chocolaty包?

时间:2021-05-30 07:25:13

I'm trying to use oneget w/chocolaty and it doesn't seem to be working at all. The package says it's installed, no warning or notification. It installs the package in the choco directory, but doesn't run the install script and therefore the application is not actually installed. Note this is Windows 10 (Powershell 5).

我正在尝试使用带有chocolaty的oneget,它似乎根本不起作用。该软件包说它已安装,没有任何警告或通知。它将软件包安装在choco目录中,但不运行安装脚本,因此实际上并未安装应用程序。请注意,这是Windows 10(Powershell 5)。

Get-PackageProvider –Name Chocolatey -ForceBootstrap
Set-PackageSource -Name chocolatey -Trusted 
Install-package filezilla -Verbose -Force -ProviderName chocolatey

yields

产量

在Windows 10中没有通过OneGet / PackageManagement安装Chocolaty包?

在Windows 10中没有通过OneGet / PackageManagement安装Chocolaty包?

1 个解决方案

#1


2  

The answer - I wouldn't use the OneGet Chocolatey provider until you hear an official announcement that it is up to date and no longer using the early CTP preview that came out in April 2014 (not a typo).

答案 - 我不会使用OneGet Chocolatey提供商,直到您听到官方声明它是最新的并且不再使用2014年4月发布的早期CTP预览(不是拼写错误)。

Until then you should continue to use the official choco client.

在此之前,您应该继续使用官方choco客户端。

#1


2  

The answer - I wouldn't use the OneGet Chocolatey provider until you hear an official announcement that it is up to date and no longer using the early CTP preview that came out in April 2014 (not a typo).

答案 - 我不会使用OneGet Chocolatey提供商,直到您听到官方声明它是最新的并且不再使用2014年4月发布的早期CTP预览(不是拼写错误)。

Until then you should continue to use the official choco client.

在此之前,您应该继续使用官方choco客户端。