Questions tagged [chocolatey]
Chocolatey is a Windows apt-get like global automation tool (used mostly as a silent installer).
142
questions
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 ...
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
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
673
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 '...
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, ...
1
vote
1
answer
673
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 ...
3
votes
1
answer
2k
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 ...
10
votes
2
answers
3k
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 ...
52
votes
1
answer
41k
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
1
answer
1k
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 ...
5
votes
4
answers
9k
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 of ...
1
vote
1
answer
788
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 ...
6
votes
1
answer
1k
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
0
answers
38
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
1
answer
70
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 ...
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 ...
0
votes
1
answer
607
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
1
answer
125
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, ...
8
votes
2
answers
13k
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
1
answer
470
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 ...
7
votes
1
answer
4k
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
0
answers
253
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 ...
149
votes
3
answers
116k
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
1
answer
57
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 ...
10
votes
2
answers
15k
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
1
answer
2k
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
1
answer
838
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:\...
1
vote
1
answer
505
views
Mysql hangs forever after initial installation on Windows 10 with chocolatey
So I got a new work laptop - it's a fresh dell latitude - and windows 10 went through a very nice set up phase. I proceeded to install all the things.
git (for windows)
VSCode
chocolatey
keepass
...
0
votes
0
answers
201
views
Error installing packages using chocolatey behind virtualbox
I have my windows virtual machine in virtualbox, Internet connectivity works fine. I installed chocolatey windows package manager using https://chocolatey.org/install.
However installation of packages ...
5
votes
1
answer
2k
views
How to place symlinks to all executables installed through Chocolatey in a particular directory?
Chocolatey - PowerShell - Symlink
I installed a few packages using Chocolatey Package Manager. Rather than adding each of the installation directory to PATH or in my $PATH variable in PowerShell, I ...
1
vote
1
answer
1k
views
Why multiple versions of notepadplusplus in Chocolatey [duplicate]
https://chocolatey.org/packages?q=notepadplusplus
"Notepad++ (Install) 7.3.3" looks to be the better one based on the number of downloads, but why is there also "Notepad++ 7.3.3" ?
1
vote
1
answer
695
views
Is there a way to persist Chocolatey package parameters so that they are silently reused on upgrade?
E.g. is it possible to set the /NoSetAsDefault parameter for the PDFXchangeEditor package so that it is used on install and each upgrade, including upgrade all?
0
votes
1
answer
52
views
What are mysterious, non-existent versions of Chocolatey packages?
Some Chocolatey packages get updated between official program releases and have their own version number. Examples:
qBittorrent 3.3.11.20170322 (official release notes)
WinDirStat 1.1.2.20161210, 1....
3
votes
1
answer
91
views
The way to file a new-package request ("RFP") with the Chocolatey team
If you're using Debian Linux and apt-get, and you want to ask the Debian team to create a new package, you file a Debian RFP bug.
If you're using Fedora Linux and yum, you visit the Package Database ...
0
votes
1
answer
141
views
Chocolatey GUI crash after trying to install Elixir
After trying to install Elixir, Chocolatey-gui froze, and after giving it an hour, I force closed it, and tried relaunching it, to get this:
choco in the command line still works fin. Does anyone ...
5
votes
2
answers
6k
views
Chocolatey, run installed package
Is there any command to run a installed package with chocolatey?
Something like
choco run console2
21
votes
1
answer
10k
views
How to choose between 32 bit or 64 bit version of a package?
When I install choco install notepadplusplus it installs 64 bit of Notepad++ and it causes issues (there no package manager for 64 bit of npp)
Is there any way to specifically choose 32 bit or 64 ...
0
votes
2
answers
206
views
youtube-dl Chocolatey package
youtube-dl on Chocolatey packages
When running youtube-dl --version command the output is 2016.06.16. The latest youtube-dl version at the moment is 2017.01.05. At first I thought that the package ...
4
votes
1
answer
855
views
What does "(Install)" mean in a package?
example: https://chocolatey.org/packages?q=notepad%2B%2B
Does Chocolatey run the native program installer? If I prefer simplicity, should I avoid packages with (Install) in their name?
10
votes
2
answers
16k
views
Chocolatey - Python - Am I doing it wrong?
I installed Python using Chocolatey:
choco install python3
I did this in an administrative PowerShell prompt. The results seem successful enough:
PS C:\Windows\system32> choco install python3 --...
1
vote
1
answer
3k
views
Nuget Packages do not display on powershell Windows 10
I am new to Windows powershell. I tried some ad-hoc queries to test the package-providers and their respective providers. So far I managed to install Chocolatey and Nuget.
When I try to see the ...
1
vote
1
answer
1k
views
Chocolatey upgrade all as non admin user
I install chocolatey and the programs I want to install with chocolatey on all my domain devices trough MDT. That works!
But I want to create a task that executes (as SYSTEM) the "choco upgrade all" ...
1
vote
1
answer
578
views
Skype update cannot find file
Skype told me to update, but when executing the update, there's an error message
A network error occurred while attempting to read from the file: C:\ProgramData\Skype{FC965A47-4839-40CA-B618-...
2
votes
2
answers
329
views
How to autoupdate chocolatey?
I have an old version of chocolatey (0.9.9.1) to manage windows packages.
How can I upgrade/update it to the latest version since I didn't installed it via chocolatey?
3
votes
1
answer
1k
views
How to install cygwin using chocolatey to specific directory?
I am using chocolatey(community version) to install cygwin. This get installed to
c:\tools\cygwin
I would like to configure cygwin to be at c:\cygwin. How can I do it?
4
votes
1
answer
1k
views
Chocolatey - How to install hidden and unlisted package?
I'd like to install the package available at chocolatey, but listed as hidden\unlisted:
This package is unlisted and hidden from package listings.
Example of such package:
https://chocolatey.org/...
0
votes
0
answers
468
views
Can not install Viber using chocolatey package manager
I can not install Viber using chocolatey package manager. I am using following command under the administrator:
choco install viber -y -debug
And getting the following output:
Chocolatey v0.10.3 ...
22
votes
1
answer
17k
views
Using chocolatey to install lots of apps at once
I am about to reinstall my Windows 10 pc, and would like to use Chocolatey for a lot of applications.
Can I just issue one command to Chocolatey and let it deal with the dependencies and installation ...
0
votes
1
answer
341
views
What are .EXE.IGNORE files and why are they on my windows machine
I found a bunch of zero-length files with the extension .EXE.IGNORE on a few windows machines recently.
Their purpose and source was a unknown, so I dug into it some...
0
votes
1
answer
169
views
Is "the integrity of the file x has not been verified" an user error or an issue with a Chocolatey package?
I get the error when installing Java SE Runtime Environment (with AutoHotkey (Portable) too), the sixth most downloaded Chocolatey package:
The integrity of the file 'jre8Install.exe' from 'http://...