Chocolaty packages not installing via OneGet/PackageManagement in Windows 10?

橙三吉。 提交于 2020-01-01 08:00:18

问题


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).

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

yields


回答1:


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).

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



来源:https://stackoverflow.com/questions/31714804/chocolaty-packages-not-installing-via-oneget-packagemanagement-in-windows-10

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!