Questions tagged [chocolatey]

Chocolatey is a Windows apt-get like global automation tool (used mostly as a silent installer).

Filter by
Sorted by
Tagged with
1
vote
1answer
19 views

Error message: root element is missing

When updating all Chocolatey packages, the following error message appears: Root element is missing. See the log for details (C:\ProgramData\chocolatey\logs\chocolatey.log). chocolatey.log details ...
0
votes
0answers
11 views

How to list packages installed with chocolatey ordered by install date?

'Choco list -lia' shows a lot of information, but not the installation dates. What parameters do I use to get those?
0
votes
0answers
25 views

Chocolatey giving A call to SSPI failed

I used parted to clone my HDD to a SSD everything seems to work perfectly except chocolatey. I wonder if it's related? Here's what I see if I try to install a package with chocolatey now (the time ...
1
vote
1answer
113 views

How do I install Ruby 2.6 with Chocolatey?

I tried to list all version of Ruby but it only lists one. choco list ruby --exact --all ruby 2.7.0.1 [Approved] 1 packages found. Nokogiri won't work with the latest Ruby. Gem::...
0
votes
0answers
61 views

Set unzip location in Chocolatey Package Install Arguments

I'm trying to install a Chocolatey package which is essentially a zip archive from Github repository releases. Is it possible to set a custom unzip path in a manner similar to choco install ...
0
votes
1answer
168 views

Where is the Visual Studio 2015 Build Tools installed to?

I installed the Microsoft Build Tools 2015 Update 3 using Chocolatey: https://chocolatey.org/packages/microsoft-build-tools/14.0.25420.1 But I can't find where it actually installed the files. Can't ...
0
votes
0answers
20 views

chocolatey updates re-populate start menu at undesired places

I have a habit of categorizing applications on my start menu, so they don't all clog it up but rather arranged in a nice tree-like structure, easy to browse (for me at least). However - I install my ...
0
votes
1answer
65 views

chocolatey upgrade all -y command fails

I've been getting this error for a long time and can't update it. Error Like for every package: You have flashplayeractivex v32.0.0.293 installed. Version 32.0.0.303 is available ...
1
vote
1answer
473 views

Force reinstall of all chocolatey packages after profile “migration”

For various reasons, my Windows user profile has been recreated; and - AppData files have been copied into the new profile, but not registry contents. Now, I'm trying to restore the installation ...
0
votes
1answer
91 views

Using Chocolately how do I upgrade just one side-by-side package version?

I have to support two versions of the .net core SDK owing to compatibility issues. Therefore I run: choco install dotnetcore-sdk --version 2.1.700 -y --side-by-side choco install dotnetcore-sdk --...
0
votes
0answers
80 views

Configure SQL Server listening port with Ansible

I installed SQL Server Express Edition in remote Windows machine using Ansible-playbook, Ansible module "win_chocolatey" and Chocolatey package "sql-server-express". Here is my Ansible-playbook task: ...
0
votes
0answers
20 views

Trouble using “make” to compile firmware

I am attempting to flash firmware for the Odrive motor controller. I am using the recommended Visual Studio Code. I cloned the Github link and intially when I clicked "build firmware" from the "...
1
vote
0answers
47 views

how do you open applications after installing with chocolatey?

I have checked through similar questions concerning chocolately/choco on windows powershell but I still can't find the answer to this simple one: How do you open a package after it's been installed ...
1
vote
1answer
29 views

How To Determine Bitness of Choclatey Package

Looking through the help, I see that the install defaults to your processor architecture; but if you have a 64-bit OS and only 32-bit package is available, it will fall back. So how can you tell ...
1
vote
0answers
71 views

Installing Chocolatey so that it can install packages as admin level

If chocolatey (windows package manager) is installed using administrator privileges , does it need admin privileges to install other apps? If so, is there a way to allow chocolatey to self escalate ...
0
votes
0answers
23 views

Chocolatey and Boxstarter, which installs which

Many articles talked about Chocolatey and Boxstarter, but I haven't found one that clearly explains which installs which Of course Boxstarter can be installed by Chocolatey, but https://boxstarter....
0
votes
2answers
242 views

chocolatey - is it safe to delete the hidden .chocolatey folder in Windows 10 [duplicate]

I'm not sure if it's okay to remove this folder located here C:\ProgramData\chocolatey This is not related to How to clear Chocolatey cache in the free version? as this did not solve the issue. Is ...
0
votes
1answer
71 views

The file was a text file but is attempting to be run as an executable - installing vim

I am trying to install vim using chocolately PS C:\opt1\abc> choco install -y vim Chocolatey v0.10.15 Installing the following packages: vim By installing you accept licenses for the packages. ...
1
vote
1answer
209 views

How to install numpy for Python 2 with choco?

I want to use chocolately to install numpy onto a Windows machine. However when I run: choco install numpy it tried to install a numpy for Python 3. How can I force it to install a version for ...
2
votes
1answer
58 views

Chocolatey needs permissions for 'Windows Security Client'

I'm trying to software using Chocolatey onto a Windows 7 Enterprise machine, but it requires permissions for "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\Microsoft Security ...
2
votes
1answer
575 views

Re-installing Python using Chocolatey doesn't work

Recently, I installed Python 3.8 using Chocolatey via Windows PowerShell on Windows 10. That was successful and added a new folder C:\Python38. However, I wanted to downgrade to a lower version of ...
0
votes
1answer
315 views

Chocolatey: How to retain certain version of a package but install new version when available also?

I have a software with v1.0 installed with chocolatey. I want to keep that version but want chocolatey to install v2.0 also (next to the older one) when I do the next choco update all. Is: choco ...
0
votes
0answers
567 views

Chocolatey can't install (Unable to connect to the remote server)

I have installed Chocolatey on my Windows 10 machine and then I have setup an internal Chocolatey registry on a internal Nexus instance. I have setup my Nexus instance as proxy for default official ...
0
votes
1answer
225 views

Chocolatey throwing errors when installing openvpn

As the title describes, choco install openvpn returns the below error; ERROR: Unable to import PGP key C:\ProgramData\chocolatey\lib\openvpn\tools\openvpn_public_key.asc' in the temporary keyring ...
1
vote
1answer
660 views

Choco install within Packer

I am running Packer within Jenkins using Chocolatey to install packages onto that Windows Server before it's created into an AMI, I am currently having an issue with chocolatey within packer not ...
0
votes
0answers
28 views

Can I recover Chocolatey from corrupted Win10

I have a corrupted win10 install that won't boot. I can read the hdd just fine. I would like to quickly recover and reinstall all the Chocolatey packages. Is there a way to recover the list of ...
0
votes
0answers
217 views

Access denied when trying to install Chocolatey from an elevated cmd

I'm trying to install Chocolatey following the instructions on their website. So I run Command Prompt as an administrator but when trying to install Chocolatey I get a message in the cmd saying '...
3
votes
1answer
2k views

Does chocolatey allow to have multiple versions of same packages side by side?

As example, I am looking to have multiple versions of same package present on my machine, and switch active version without having to re-download it from chocolatey/nuget server. To take this further, ...
1
vote
1answer
201 views

How to upgrade a Chocolatey package ONLY if it's installed (never install)?

I want to upgrade a specific package but only if its not installed. I run an update script that keeps all my pc's up2date. cup all and choco upgrade all work well for exactly this purpose, but does ...
2
votes
0answers
508 views

Chocolaty install of Google Chrome fails HASH check

I am getting an error when installing Google Chrome Browser in powershell using chocolatey. It works when I by-parse the hash check, but how do I make sure this is fixed in nuget? I can install other ...
5
votes
2answers
686 views

How do I tell chocolatey a program updated itself?

I installed a program (Paint.Net) with Choco. At the time, the version was 3.13, but Paint.Net updated itself to 3.15. However, when I run choco outdated, it still thinks 3.13 is installed and wants ...
14
votes
1answer
7k views

How to clear Chocolatey cache in the free version?

Installation-file-cleaning is currently only available in the licensed edition of Chocolatey ($96 a year) and the developers seemingly have no plans to offer cache-cleaning support for the free ...
4
votes
1answer
516 views

Installing Node Causes Windows 10 Machine to Repeatedly Restart

I've installed NodeJS, the Current (not LTS) version on my Windows 10 system. That seems to have installed at least a couple additional things along with it, namely Chocolatey and BoxStarter. Since ...
4
votes
2answers
3k views

How to resolve “ERROR: Specified cast is not valid.” error during installation?

I'm currently receiving this error when installing Java SE Runtime Environment (jre8), updating used to work fine: Searching if new version exists... ERROR: Specified cast is not valid. The install ...
1
vote
1answer
461 views

is there an alternative to in-sourcing chocolatey packages into say artifactory, if your users haven't got internet access

I am trying to set up Chocolatey, at my place of work. We do not allow users access to install software from the internet, but we do allow tools such as NuGet, Maven, Gradle and Chocolatey to pull ...
4
votes
1answer
206 views

Where does chocolatey install sysinternals?

Chocolatey has a nice sysinternals package, but where does it install to? (by default) https://chocolatey.org/packages/sysinternals
1
vote
0answers
33 views

Files in the same directory seen differently by different tools [duplicate]

I have installed chocolate(packet manager) programs at: C:\ProgramData\chocolatey\bin And also installed fzf(search tool) as GVIM plugin.Accidently installed at the same dir: C:\ProgramData\...
0
votes
1answer
61 views

Upgrading software with Chocolatey using installer GUI

I want to upgrade a specific package (gpg4win) with Chocolatey, but I would like to see the actual installer and tweak some settings (specifically I want to uncheck a certain option because of this ...
3
votes
1answer
765 views

List local chocolatey packages and order by installation date

Chocolatey packages tend to accumulate when you have installed them long ago and have stopped using them later. I could go manually through a list of local packages choco list -lo But with a long ...
0
votes
1answer
143 views

Chocolatey cannot install Microsoft Teams

I can perform other installations with Choco but not MS-Teams. It fails with this error even though I did the installation in elevated mode. What can I do about it?
1
vote
1answer
84 views

Stop adding unwanted processes to autorun after program update

1. Summary I install program → I remove program/service of program from autorun → I update program → program/service in autorun again. How I can remove process from Windows autorun preventively, ...
3
votes
2answers
1k views

How can I solve warning when I install chocolatey?

When I install chocolatey, I get error like this : ... WARNING: It's very likely you will need to close and reopen your shell before you can use choco. ... WARNING: You can safely ignore errors ...
1
vote
1answer
263 views

How to upgrade Git through Chocolatey that I got when installing Cmder

I installed Cmder by running the following in an Administrative PowerShell: choco install cmder This also installed Git for me. But it installed an older version of Git, not the latest that is ...
3
votes
1answer
1k views

How can I upgrade a Chocolatey package if it's already installed, and install it if it isn't?

I'm writing a set of PS scripts to help set up and maintain a Windows dev environment. Right now, I am maintaining two script files, one for installing Chocolatey packages, and another for upgrading ...
0
votes
0answers
89 views

Is it possible to skip one package update?

Sometimes Chocolatey package maintainers lag behind and I update a program manually. I can use a command choco pin add -n=packagename to lock a package to its current revision, but I must remember to ...
46
votes
2answers
21k views

How to list installed Chocolatey packages?

Probably a simple question, but how do I get Chocolatey to list which packages are currently installed on my system? When googling, I end up at the question below. It is related but slightly ...
1
vote
1answer
41 views

How to change the order of packages updating with Chocolatey?

When executing cup all -y it looks like Chocolatey updates all the packages alphabetically. Is there an option to change this behavior to sort the packages by size, and then install largest or ...
4
votes
1answer
4k views

How do I uninstall a Chocolatey package that won't go away?

C:\Users\Chloe>choco uninstall cyg-get Chocolatey v0.10.8 Uninstalling the following packages: cyg-get cyg-get v1.1.0 Skipping auto uninstaller - No registry snapshot. Chocolatey uninstalled 1/1 ...
2
votes
1answer
1k views

Run interactive script at system startup, or start interactive user session (Windows)

I am creating ephemeral Windows Server VMs on AWS and would like to install a list of software unattended when they first start up. To do this, I am running a bootstrap script at startup that installs ...
0
votes
1answer
694 views

cpp-ethereum not installed. The package was not found with the source(s) listed. (Chocolatey)

I would like to install cpp-ethereum following the documentation Powershell is running in admin mode, but if I try to run the install command (choco install cpp-ethereum), I get this error: PS C:\...