Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Incomplete Chocolatey installs cause subsequent installs to throw the wrong error message #115

Open
4 tasks done
engineertdog opened this issue Mar 3, 2023 · 1 comment
Labels
Bug Issues where something has happened which was not expected or intended

Comments

@engineertdog
Copy link

Checklist

  • I have verified this is the correct repository for opening this issue.
  • I have verified no other issues exist related to my problem.
  • I have verified this is not an issue for a specific package.
  • I have verified this issue is not security related.

What You Are Seeing?

When trying to install Chocolatey using the win_chocolatey module, I was receiving the following error on a handful of servers:

Failed to find choco.exe, make sure it is added to the PATH or the env var 'ChocolateyInstall' is set

This lead to investigation and ultimately, attempting to install Chocolatey manually on the server. When that occurred, the following error message was received:

WARNING: Files from a previous installation of Chocolatey were found at 'C:\ProgramData\chocolatey'.
WARNING: An existing Chocolatey installation was detected. Installation will not continue.
For security reasons, this script will not overwrite existing installations.

Please use choco upgrade chocolatey to handle upgrades of Chocolatey itself.
If the existing installation is not functional or a prior installation did not complete, follow these steps:
 - Backup the files at the path listed above so you can restore your previous installation if needed
 - Remove the existing installation manually
 - Rerun this installation script
 - Reinstall any packages previously installed, if needed (refer to the lib folder in the backup)

Once installation is completed, the backup folder is no longer needed and can be deleted.

What is Expected?

When installing Chocolatey through the win_chocolatey module, I think a more concise error message for this particular case would be more helpful to let users know they need to address the partially installed Chocolatey instance on the server.

How Did You Get This To Happen?

I'm not exactly sure what caused Chocolatey to become partially installed on the servers I was working with as Ansible was used to perform the installation. After removing the folder at C:\ProgramData\chocolatey, the installations were successful.

System Details

  • Operating System: Windows 2019 DataCenter
  • Windows PowerShell version: 5.1.17763.2931
  • Chocolatey CLI Version: v1.3
  • Chocolatey Licensed Extension version:
  • Chocolatey License type:
  • Terminal/Emulator:

Installed Packages

No packages were installed.

Output Log

2023-03-03 07:50:27,736 5780 [DEBUG] - XmlConfiguration is now operational

Additional Context

2023-03-03 07:50:27,736 5780 [DEBUG] - XmlConfiguration is now operational
2023-03-03 07:50:27,798 5780 [DEBUG] - Adding new type 'WebPiService' for type 'ISourceRunner' from assembly 'choco'
2023-03-03 07:50:27,798 5780 [DEBUG] - Adding new type 'WindowsFeatureService' for type 'ISourceRunner' from assembly 'choco'
2023-03-03 07:50:27,798 5780 [DEBUG] - Adding new type 'CygwinService' for type 'ISourceRunner' from assembly 'choco'
2023-03-03 07:50:27,798 5780 [DEBUG] - Adding new type 'PythonService' for type 'ISourceRunner' from assembly 'choco'
2023-03-03 07:50:27,798 5780 [DEBUG] - Adding new type 'RubyGemsService' for type 'ISourceRunner' from assembly 'choco'
2023-03-03 07:50:27,798 5780 [DEBUG] - Adding new type 'SystemStateValidation' for type 'IValidation' from assembly 'choco'
2023-03-03 07:50:27,986 5780 [DEBUG] - Registering new command 'templates' in assembly 'choco'
2023-03-03 07:50:27,986 5780 [DEBUG] - Registering new command 'upgrade' in assembly 'choco'
2023-03-03 07:50:28,001 5780 [DEBUG] - Registering new command 'export' in assembly 'choco'
2023-03-03 07:50:28,001 5780 [DEBUG] - Registering new command 'list' in assembly 'choco'
2023-03-03 07:50:28,001 5780 [DEBUG] - Registering new command 'info' in assembly 'choco'
2023-03-03 07:50:28,001 5780 [DEBUG] - Registering new command 'help' in assembly 'choco'
2023-03-03 07:50:28,001 5780 [DEBUG] - Registering new command 'config' in assembly 'choco'
2023-03-03 07:50:28,001 5780 [DEBUG] - Registering new command 'feature' in assembly 'choco'
2023-03-03 07:50:28,001 5780 [DEBUG] - Registering new command 'new' in assembly 'choco'
2023-03-03 07:50:28,001 5780 [DEBUG] - Registering new command 'outdated' in assembly 'choco'
2023-03-03 07:50:28,001 5780 [DEBUG] - Registering new command 'pack' in assembly 'choco'
2023-03-03 07:50:28,001 5780 [DEBUG] - Registering new command 'pin' in assembly 'choco'
2023-03-03 07:50:28,001 5780 [DEBUG] - Registering new command 'push' in assembly 'choco'
2023-03-03 07:50:28,001 5780 [DEBUG] - Registering new command 'apikey' in assembly 'choco'
2023-03-03 07:50:28,001 5780 [DEBUG] - Registering new command 'sources' in assembly 'choco'
2023-03-03 07:50:28,001 5780 [DEBUG] - Registering new command 'uninstall' in assembly 'choco'
2023-03-03 07:50:28,001 5780 [DEBUG] - Registering new command 'unpackself' in assembly 'choco'
2023-03-03 07:50:28,001 5780 [DEBUG] - Registering new command 'install' in assembly 'choco'
2023-03-03 07:50:28,017 5780 [DEBUG] - Attempting to create directory "C:\ProgramData\chocolatey\config".
2023-03-03 07:50:28,158 5780 [INFO ] - ============================================================
2023-03-03 07:50:28,329 5780 [DEBUG] - Attempting to replace "C:\ProgramData\chocolatey\config\chocolatey.config"
with "C:\ProgramData\chocolatey\config\chocolatey.config.5780.update".
Backup placed at "C:\ProgramData\chocolatey\config\chocolatey.config.backup".
2023-03-03 07:50:28,329 5780 [DEBUG] - Attempting to copy "C:\ProgramData\chocolatey\config\chocolatey.config.5780.update"
to "C:\ProgramData\chocolatey\config\chocolatey.config".
2023-03-03 07:50:28,329 5780 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\config\chocolatey.config.5780.update".
2023-03-03 07:50:28,345 5780 [INFO ] - 1.3.0
2023-03-03 07:50:28,345 5780 [DEBUG] - Exiting with 0
2023-03-03 07:51:46,471 5788 [DEBUG] - XmlConfiguration is now operational
2023-03-03 07:51:46,534 5788 [DEBUG] - Adding new type 'WebPiService' for type 'ISourceRunner' from assembly 'choco'
2023-03-03 07:51:46,534 5788 [DEBUG] - Adding new type 'WindowsFeatureService' for type 'ISourceRunner' from assembly 'choco'
2023-03-03 07:51:46,534 5788 [DEBUG] - Adding new type 'CygwinService' for type 'ISourceRunner' from assembly 'choco'
2023-03-03 07:51:46,534 5788 [DEBUG] - Adding new type 'PythonService' for type 'ISourceRunner' from assembly 'choco'
2023-03-03 07:51:46,534 5788 [DEBUG] - Adding new type 'RubyGemsService' for type 'ISourceRunner' from assembly 'choco'
2023-03-03 07:51:46,534 5788 [DEBUG] - Adding new type 'SystemStateValidation' for type 'IValidation' from assembly 'choco'
2023-03-03 07:51:46,674 5788 [DEBUG] - Registering new command 'templates' in assembly 'choco'
2023-03-03 07:51:46,675 5788 [DEBUG] - Registering new command 'upgrade' in assembly 'choco'
2023-03-03 07:51:46,675 5788 [DEBUG] - Registering new command 'export' in assembly 'choco'
2023-03-03 07:51:46,675 5788 [DEBUG] - Registering new command 'list' in assembly 'choco'
2023-03-03 07:51:46,675 5788 [DEBUG] - Registering new command 'info' in assembly 'choco'
2023-03-03 07:51:46,675 5788 [DEBUG] - Registering new command 'help' in assembly 'choco'
2023-03-03 07:51:46,675 5788 [DEBUG] - Registering new command 'config' in assembly 'choco'
2023-03-03 07:51:46,675 5788 [DEBUG] - Registering new command 'feature' in assembly 'choco'
2023-03-03 07:51:46,675 5788 [DEBUG] - Registering new command 'new' in assembly 'choco'
2023-03-03 07:51:46,675 5788 [DEBUG] - Registering new command 'outdated' in assembly 'choco'
2023-03-03 07:51:46,675 5788 [DEBUG] - Registering new command 'pack' in assembly 'choco'
2023-03-03 07:51:46,675 5788 [DEBUG] - Registering new command 'pin' in assembly 'choco'
2023-03-03 07:51:46,675 5788 [DEBUG] - Registering new command 'push' in assembly 'choco'
2023-03-03 07:51:46,675 5788 [DEBUG] - Registering new command 'apikey' in assembly 'choco'
2023-03-03 07:51:46,675 5788 [DEBUG] - Registering new command 'sources' in assembly 'choco'
2023-03-03 07:51:46,675 5788 [DEBUG] - Registering new command 'uninstall' in assembly 'choco'
2023-03-03 07:51:46,675 5788 [DEBUG] - Registering new command 'unpackself' in assembly 'choco'
2023-03-03 07:51:46,675 5788 [DEBUG] - Registering new command 'install' in assembly 'choco'
2023-03-03 07:51:46,785 5788 [INFO ] - ============================================================
2023-03-03 07:51:46,925 5788 [DEBUG] - Chocolatey is running on Windows v 10.0.17763.0
2023-03-03 07:51:46,925 5788 [DEBUG] - Attempting to delete file "C:/ProgramData/chocolatey/choco.exe.old".
2023-03-03 07:51:46,925 5788 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\choco.exe.old".
2023-03-03 07:51:46,941 5788 [DEBUG] - Command line: "C:\ProgramData\chocolatey\choco.exe" list --local-only --limit-output --all-versions
2023-03-03 07:51:46,941 5788 [DEBUG] - Received arguments: list --local-only --limit-output --all-versions
2023-03-03 07:51:47,003 5788 [DEBUG] - RemovePendingPackagesTask is now ready and waiting for PreRunMessage.
2023-03-03 07:51:47,003 5788 [DEBUG] - Sending message 'PreRunMessage' out if there are subscribers...
2023-03-03 07:51:47,019 5788 [DEBUG] - [Pending] Removing all pending packages that should not be considered installed...
2023-03-03 07:51:47,066 5788 [DEBUG] - Performing validation checks.
2023-03-03 07:51:47,066 5788 [DEBUG] - Global Configuration Validation Checks:
2023-03-03 07:51:47,082 5788 [DEBUG] - - Package Exit Code / Exit On Reboot = Checked
2023-03-03 07:51:47,082 5788 [DEBUG] - System State Validation Checks:
2023-03-03 07:51:47,082 5788 [DEBUG] - Reboot Requirement Checks:
2023-03-03 07:51:47,082 5788 [DEBUG] - - Pending Computer Rename = Checked
2023-03-03 07:51:47,082 5788 [DEBUG] - - Pending Component Based Servicing = Checked
2023-03-03 07:51:47,082 5788 [DEBUG] - - Pending Windows Auto Update = Checked
2023-03-03 07:51:47,082 5788 [DEBUG] - - Pending File Rename Operations = Checked
2023-03-03 07:51:47,082 5788 [DEBUG] - - Pending Windows Package Installer = Checked
2023-03-03 07:51:47,082 5788 [DEBUG] - - Pending Windows Package Installer SysWow64 = Checked
2023-03-03 07:51:47,113 5788 [DEBUG] - The source 'https://community.chocolatey.org/api/v2/' evaluated to a 'normal' source type
2023-03-03 07:51:47,113 5788 [DEBUG] -
NOTE: Hiding sensitive configuration data! Please double and triple
check to be sure no sensitive data is shown, especially if copying
output to a gist for review.
2023-03-03 07:51:47,113 5788 [DEBUG] - Configuration: CommandName='list'|
CacheLocation='C:\Users\ansible\AppData\Local\Temp\chocolatey'|

ContainsLegacyPackageInstalls='True'|
CommandExecutionTimeoutSeconds='2700'|WebRequestTimeoutSeconds='30'|
Sources='https://community.chocolatey.org/api/v2/'|SourceType='normal'|
Debug='False'|Verbose='False'|Trace='False'|Force='False'|Noop='False'|
HelpRequested='False'|UnsuccessfulParsing='False'|
RegularOutput='False'|
QuietOutput='False'|PromptForConfirmation='True'|
DisableCompatibilityChecks='False'|AcceptLicense='False'|
AllowUnofficialBuild='False'|AllVersions='True'|
SkipPackageInstallProvider='False'|SkipHookScripts='False'|
Prerelease='False'|ForceX86='False'|OverrideArguments='False'|
NotSilent='False'|ApplyPackageParametersToDependencies='False'|
ApplyInstallArgumentsToDependencies='False'|IgnoreDependencies='False'|
AllowMultipleVersions='False'|AllowDowngrade='False'|
ForceDependencies='False'|PinPackage='False'|
Information.PlatformType='Windows'|
Information.PlatformVersion='10.0.17763.0'|
Information.PlatformName='Windows Server 2016'|
Information.ChocolateyVersion='1.3.0.0'|
Information.ChocolateyProductVersion='1.3.0'|
Information.FullName='choco, Version=1.3.0.0, Culture=neutral, PublicKeyToken=79d02ea9cad655eb'|

Information.Is64BitOperatingSystem='True'|
Information.Is64BitProcess='True'|Information.IsInteractive='False'|
Information.UserName='ansible'|
Information.UserDomainName='AD'|Information.IsUserAdministrator='True'|
Information.IsUserSystemAccount='False'|
Information.IsUserRemoteDesktop='False'|
Information.IsUserRemote='True'|
Information.IsProcessElevated='True'|
Information.IsLicensedVersion='False'|Information.LicenseType='Foss'|
Information.CurrentDirectory='C:\Users\ansible'|
Features.AutoUninstaller='True'|Features.ChecksumFiles='True'|
Features.AllowEmptyChecksums='False'|
Features.AllowEmptyChecksumsSecure='True'|
Features.FailOnAutoUninstaller='False'|
Features.FailOnStandardError='False'|Features.UsePowerShellHost='True'|
Features.LogEnvironmentValues='False'|Features.LogWithoutColor='False'|
Features.VirusCheck='False'|
Features.FailOnInvalidOrMissingLicense='False'|
Features.IgnoreInvalidOptionsSwitches='True'|
Features.UsePackageExitCodes='True'|
Features.UseEnhancedExitCodes='False'|
Features.UseFipsCompliantChecksums='False'|
Features.ShowNonElevatedWarnings='True'|
Features.ShowDownloadProgress='True'|
Features.StopOnFirstPackageFailure='False'|
Features.UseRememberedArgumentsForUpgrades='False'|
Features.IgnoreUnfoundPackagesOnUpgradeOutdated='False'|
Features.SkipPackageUpgradesWhenNotInstalled='False'|
Features.RemovePackageInformationOnUninstall='False'|
Features.ExitOnRebootDetected='False'|
Features.LogValidationResultsOnWarnings='True'|
Features.UsePackageRepositoryOptimizations='True'|
ListCommand.LocalOnly='True'|ListCommand.IdOnly='False'|
ListCommand.IncludeRegistryPrograms='False'|ListCommand.PageSize='25'|
ListCommand.Exact='False'|ListCommand.ByIdOnly='False'|
ListCommand.ByTagOnly='False'|ListCommand.IdStartsWith='False'|
ListCommand.OrderByPopularity='False'|ListCommand.ApprovedOnly='False'|
ListCommand.DownloadCacheAvailable='False'|
ListCommand.NotBroken='False'|
ListCommand.IncludeVersionOverrides='False'|
UpgradeCommand.FailOnUnfound='False'|
UpgradeCommand.FailOnNotInstalled='False'|
UpgradeCommand.NotifyOnlyAvailableUpgrades='False'|
UpgradeCommand.ExcludePrerelease='False'|
NewCommand.AutomaticPackage='False'|
NewCommand.UseOriginalTemplate='False'|SourceCommand.Command='unknown'|
SourceCommand.Priority='0'|SourceCommand.BypassProxy='False'|
SourceCommand.AllowSelfService='False'|
SourceCommand.VisibleToAdminsOnly='False'|
FeatureCommand.Command='unknown'|ConfigCommand.Command='unknown'|
ApiKeyCommand.Remove='False'|PinCommand.Command='unknown'|
OutdatedCommand.IgnorePinned='False'|
ExportCommand.IncludeVersionNumbers='False'|Proxy.BypassOnLocal='True'|
TemplateCommand.Command='unknown'|
2023-03-03 07:51:47,128 5788 [DEBUG] - _ Chocolatey:ChocolateyListCommand - Normal Run Mode _
2023-03-03 07:51:47,285 5788 [INFO ] - chocolatey|1.3.0
2023-03-03 07:51:47,285 5788 [DEBUG] - Sending message 'PostRunMessage' out if there are subscribers...
2023-03-03 07:51:47,300 5788 [DEBUG] - Exiting with 0
2023-03-03 07:51:47,628 6032 [DEBUG] - XmlConfiguration is now operational
2023-03-03 07:51:47,692 6032 [DEBUG] - Adding new type 'WebPiService' for type 'ISourceRunner' from assembly 'choco'
2023-03-03 07:51:47,692 6032 [DEBUG] - Adding new type 'WindowsFeatureService' for type 'ISourceRunner' from assembly 'choco'
2023-03-03 07:51:47,692 6032 [DEBUG] - Adding new type 'CygwinService' for type 'ISourceRunner' from assembly 'choco'
2023-03-03 07:51:47,692 6032 [DEBUG] - Adding new type 'PythonService' for type 'ISourceRunner' from assembly 'choco'
2023-03-03 07:51:47,692 6032 [DEBUG] - Adding new type 'RubyGemsService' for type 'ISourceRunner' from assembly 'choco'
2023-03-03 07:51:47,692 6032 [DEBUG] - Adding new type 'SystemStateValidation' for type 'IValidation' from assembly 'choco'
2023-03-03 07:51:47,817 6032 [DEBUG] - Registering new command 'templates' in assembly 'choco'
2023-03-03 07:51:47,817 6032 [DEBUG] - Registering new command 'upgrade' in assembly 'choco'
2023-03-03 07:51:47,817 6032 [DEBUG] - Registering new command 'export' in assembly 'choco'
2023-03-03 07:51:47,817 6032 [DEBUG] - Registering new command 'list' in assembly 'choco'
2023-03-03 07:51:47,817 6032 [DEBUG] - Registering new command 'info' in assembly 'choco'
2023-03-03 07:51:47,817 6032 [DEBUG] - Registering new command 'help' in assembly 'choco'
2023-03-03 07:51:47,817 6032 [DEBUG] - Registering new command 'config' in assembly 'choco'
2023-03-03 07:51:47,817 6032 [DEBUG] - Registering new command 'feature' in assembly 'choco'
2023-03-03 07:51:47,817 6032 [DEBUG] - Registering new command 'new' in assembly 'choco'
2023-03-03 07:51:47,817 6032 [DEBUG] - Registering new command 'outdated' in assembly 'choco'
2023-03-03 07:51:47,817 6032 [DEBUG] - Registering new command 'pack' in assembly 'choco'
2023-03-03 07:51:47,817 6032 [DEBUG] - Registering new command 'pin' in assembly 'choco'
2023-03-03 07:51:47,817 6032 [DEBUG] - Registering new command 'push' in assembly 'choco'
2023-03-03 07:51:47,817 6032 [DEBUG] - Registering new command 'apikey' in assembly 'choco'
2023-03-03 07:51:47,817 6032 [DEBUG] - Registering new command 'sources' in assembly 'choco'
2023-03-03 07:51:47,817 6032 [DEBUG] - Registering new command 'uninstall' in assembly 'choco'
2023-03-03 07:51:47,817 6032 [DEBUG] - Registering new command 'unpackself' in assembly 'choco'
2023-03-03 07:51:47,817 6032 [DEBUG] - Registering new command 'install' in assembly 'choco'
2023-03-03 07:51:47,942 6032 [INFO ] - ============================================================
2023-03-03 07:51:48,067 6032 [DEBUG] - Chocolatey is running on Windows v 10.0.17763.0
2023-03-03 07:51:48,082 6032 [DEBUG] - Attempting to delete file "C:/ProgramData/chocolatey/choco.exe.old".
2023-03-03 07:51:48,082 6032 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\choco.exe.old".
2023-03-03 07:51:48,082 6032 [DEBUG] - Command line: "C:\ProgramData\chocolatey\choco.exe" list --local-only --limit-output --all-versions
2023-03-03 07:51:48,082 6032 [DEBUG] - Received arguments: list --local-only --limit-output --all-versions
2023-03-03 07:51:48,145 6032 [DEBUG] - RemovePendingPackagesTask is now ready and waiting for PreRunMessage.
2023-03-03 07:51:48,145 6032 [DEBUG] - Sending message 'PreRunMessage' out if there are subscribers...
2023-03-03 07:51:48,161 6032 [DEBUG] - [Pending] Removing all pending packages that should not be considered installed...
2023-03-03 07:51:48,207 6032 [DEBUG] - Performing validation checks.
2023-03-03 07:51:48,207 6032 [DEBUG] - Global Configuration Validation Checks:
2023-03-03 07:51:48,207 6032 [DEBUG] - - Package Exit Code / Exit On Reboot = Checked
2023-03-03 07:51:48,207 6032 [DEBUG] - System State Validation Checks:
2023-03-03 07:51:48,207 6032 [DEBUG] - Reboot Requirement Checks:
2023-03-03 07:51:48,223 6032 [DEBUG] - - Pending Computer Rename = Checked
2023-03-03 07:51:48,223 6032 [DEBUG] - - Pending Component Based Servicing = Checked
2023-03-03 07:51:48,223 6032 [DEBUG] - - Pending Windows Auto Update = Checked
2023-03-03 07:51:48,223 6032 [DEBUG] - - Pending File Rename Operations = Checked
2023-03-03 07:51:48,223 6032 [DEBUG] - - Pending Windows Package Installer = Checked
2023-03-03 07:51:48,223 6032 [DEBUG] - - Pending Windows Package Installer SysWow64 = Checked
2023-03-03 07:51:48,239 6032 [DEBUG] - The source 'https://community.chocolatey.org/api/v2/' evaluated to a 'normal' source type
2023-03-03 07:51:48,239 6032 [DEBUG] -
NOTE: Hiding sensitive configuration data! Please double and triple
check to be sure no sensitive data is shown, especially if copying
output to a gist for review.
2023-03-03 07:51:48,254 6032 [DEBUG] - Configuration: CommandName='list'|
CacheLocation='C:\Users\ansible\AppData\Local\Temp\chocolatey'|

ContainsLegacyPackageInstalls='True'|
CommandExecutionTimeoutSeconds='2700'|WebRequestTimeoutSeconds='30'|
Sources='https://community.chocolatey.org/api/v2/'|SourceType='normal'|
Debug='False'|Verbose='False'|Trace='False'|Force='False'|Noop='False'|
HelpRequested='False'|UnsuccessfulParsing='False'|
RegularOutput='False'|
QuietOutput='False'|PromptForConfirmation='True'|
DisableCompatibilityChecks='False'|AcceptLicense='False'|
AllowUnofficialBuild='False'|AllVersions='True'|
SkipPackageInstallProvider='False'|SkipHookScripts='False'|
Prerelease='False'|ForceX86='False'|OverrideArguments='False'|
NotSilent='False'|ApplyPackageParametersToDependencies='False'|
ApplyInstallArgumentsToDependencies='False'|IgnoreDependencies='False'|
AllowMultipleVersions='False'|AllowDowngrade='False'|
ForceDependencies='False'|PinPackage='False'|
Information.PlatformType='Windows'|
Information.PlatformVersion='10.0.17763.0'|
Information.PlatformName='Windows Server 2016'|
Information.ChocolateyVersion='1.3.0.0'|
Information.ChocolateyProductVersion='1.3.0'|
Information.FullName='choco, Version=1.3.0.0, Culture=neutral, PublicKeyToken=79d02ea9cad655eb'|

Information.Is64BitOperatingSystem='True'|
Information.Is64BitProcess='True'|Information.IsInteractive='False'|
Information.UserName='ansible'|
Information.UserDomainName='AD'|Information.IsUserAdministrator='True'|
Information.IsUserSystemAccount='False'|
Information.IsUserRemoteDesktop='False'|
Information.IsUserRemote='True'|
Information.IsProcessElevated='True'|
Information.IsLicensedVersion='False'|Information.LicenseType='Foss'|
Information.CurrentDirectory='C:\Users\ansible'|
Features.AutoUninstaller='True'|Features.ChecksumFiles='True'|
Features.AllowEmptyChecksums='False'|
Features.AllowEmptyChecksumsSecure='True'|
Features.FailOnAutoUninstaller='False'|
Features.FailOnStandardError='False'|Features.UsePowerShellHost='True'|
Features.LogEnvironmentValues='False'|Features.LogWithoutColor='False'|
Features.VirusCheck='False'|
Features.FailOnInvalidOrMissingLicense='False'|
Features.IgnoreInvalidOptionsSwitches='True'|
Features.UsePackageExitCodes='True'|
Features.UseEnhancedExitCodes='False'|
Features.UseFipsCompliantChecksums='False'|
Features.ShowNonElevatedWarnings='True'|
Features.ShowDownloadProgress='True'|
Features.StopOnFirstPackageFailure='False'|
Features.UseRememberedArgumentsForUpgrades='False'|
Features.IgnoreUnfoundPackagesOnUpgradeOutdated='False'|
Features.SkipPackageUpgradesWhenNotInstalled='False'|
Features.RemovePackageInformationOnUninstall='False'|
Features.ExitOnRebootDetected='False'|
Features.LogValidationResultsOnWarnings='True'|
Features.UsePackageRepositoryOptimizations='True'|
ListCommand.LocalOnly='True'|ListCommand.IdOnly='False'|
ListCommand.IncludeRegistryPrograms='False'|ListCommand.PageSize='25'|
ListCommand.Exact='False'|ListCommand.ByIdOnly='False'|
ListCommand.ByTagOnly='False'|ListCommand.IdStartsWith='False'|
ListCommand.OrderByPopularity='False'|ListCommand.ApprovedOnly='False'|
ListCommand.DownloadCacheAvailable='False'|
ListCommand.NotBroken='False'|
ListCommand.IncludeVersionOverrides='False'|
UpgradeCommand.FailOnUnfound='False'|
UpgradeCommand.FailOnNotInstalled='False'|
UpgradeCommand.NotifyOnlyAvailableUpgrades='False'|
UpgradeCommand.ExcludePrerelease='False'|
NewCommand.AutomaticPackage='False'|
NewCommand.UseOriginalTemplate='False'|SourceCommand.Command='unknown'|
SourceCommand.Priority='0'|SourceCommand.BypassProxy='False'|
SourceCommand.AllowSelfService='False'|
SourceCommand.VisibleToAdminsOnly='False'|
FeatureCommand.Command='unknown'|ConfigCommand.Command='unknown'|
ApiKeyCommand.Remove='False'|PinCommand.Command='unknown'|
OutdatedCommand.IgnorePinned='False'|
ExportCommand.IncludeVersionNumbers='False'|Proxy.BypassOnLocal='True'|
TemplateCommand.Command='unknown'|

@engineertdog engineertdog added the Bug Issues where something has happened which was not expected or intended label Mar 3, 2023
@mwtrigg
Copy link

mwtrigg commented Aug 22, 2023

Workaround I've been using:

choco.exe install chocolatey --exact --skip-powershell --yes

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug Issues where something has happened which was not expected or intended
Projects
None yet
Development

No branches or pull requests

2 participants