Skip to main content

Questions tagged [chocolatey]

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

47 votes
2 answers
16k views

How to update all Chocolatey packages except one?

cup all -y is used to update all Chocolatey packages at boot. At the moment there is an issue in the latest version of VirtualBox, and I want to avoid that this package is updated at boot while the ...
3 votes
1 answer
3k 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 ...
1 vote
1 answer
986 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
0 answers
437 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
2 answers
2k 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
1 answer
362 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. ...
2 votes
1 answer
503 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
1 answer
624 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 ...
1 vote
1 answer
2k 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
0 answers
2k 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 ...
1 vote
1 answer
634 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 ...
0 votes
0 answers
94 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
0 answers
675 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 '...
4 votes
1 answer
3k 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 ...
12 votes
1 answer
12k 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, ...

15 30 50 per page
1
3 4
5
6 7
10