Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

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

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

powershell result from command

windows directory

like image 811
Ashtonian Avatar asked Jul 30 '15 03:07

Ashtonian


People also ask

Where does chocolatey install files to?

NOTICE: As of 0.9. 8.24, Chocolatey's default install location is C:\ProgramData\Chocolatey. This reduces the attack surface on a local installation of Chocolatey and limits who can make changes to the directory. You can install Chocolatey to Program Files if you feel that is a more appropriate place.

How do you check if you have chocolatey installed?

To verify that Chocolatey is installed, we will use the choco command. C:\WINDOWS\system32>choco Chocolatey v0. 10.15 Please run 'choco -? ' or 'choco -?

Should I install chocolatey?

Chocolatey is a Windows Package Manager, it manages packages. You don't need Chocolatey in order to do web development. Having Chocolatey makes the automated installation and updating of the applications on your machine easier.


1 Answers

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.

like image 136
ferventcoder Avatar answered Sep 18 '22 15:09

ferventcoder