Closed TonalidadeHidrica closed 2 years ago
This looks to be a duplicate of this issue.
So you mean choco.exe
is working correctly but chocolate.org is returning a wrong API response? Can we somehow verify the interaction between the server and choco.exe
?
The Chocolatey Community Repository isn't returning a wrong API response. It's returning what it knows about. You could use Fiddler to sit between choco.exe and community.chocolatey.org.
Since this has a high likelihood of being related directly to the caching issue, I'll be closing this issue now.
We can always re-open the issue again if needed.
Follow pinned issue #8 for caching-related problems.
Duplicate of #8
What You Are Seeing?
choco search vcredist
founds zero packages, whilechoco search vcredis
andchoco search vcredist2
returns a lot.What is Expected?
choco search vcredist
should return the 10 packages returned bychoco search vcredis
.How Did You Get This To Happen? (Steps to Reproduce)
Run
choco search vcredist
.Output Log
Full Log Output for
choco search vcredist
(behaiving unexpectedly)~~~sh 2022-06-08 17:29:03,240 13044 [DEBUG] - XmlConfiguration is now operational 2022-06-08 17:29:03,271 13044 [INFO ] - ============================================================ 2022-06-08 17:29:03,349 13044 [INFO ] - Chocolatey v1.1.0 2022-06-08 17:29:03,365 13044 [DEBUG] - Chocolatey is running on Windows v 10.0.22000.0 2022-06-08 17:29:03,365 13044 [DEBUG] - Attempting to delete file "C:/ProgramData/chocolatey/choco.exe.old". 2022-06-08 17:29:03,365 13044 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\choco.exe.old". 2022-06-08 17:29:03,365 13044 [DEBUG] - Command line: "C:\ProgramData\chocolatey\choco.exe" search vcredist 2022-06-08 17:29:03,365 13044 [DEBUG] - Received arguments: search vcredist 2022-06-08 17:29:03,396 13044 [DEBUG] - RemovePendingPackagesTask is now ready and waiting for PreRunMessage. 2022-06-08 17:29:03,396 13044 [DEBUG] - Sending message 'PreRunMessage' out if there are subscribers... 2022-06-08 17:29:03,396 13044 [DEBUG] - [Pending] Removing all pending packages that should not be considered installed... 2022-06-08 17:29:03,427 13044 [DEBUG] - Performing validation checks. 2022-06-08 17:29:03,427 13044 [DEBUG] - Global Configuration Validation Checks: 2022-06-08 17:29:03,427 13044 [DEBUG] - - Package Exit Code / Exit On Reboot = Checked 2022-06-08 17:29:03,427 13044 [DEBUG] - System State Validation Checks: 2022-06-08 17:29:03,427 13044 [DEBUG] - Reboot Requirement Checks: 2022-06-08 17:29:03,427 13044 [DEBUG] - - Pending Computer Rename = Checked 2022-06-08 17:29:03,427 13044 [DEBUG] - - Pending Component Based Servicing = Checked 2022-06-08 17:29:03,427 13044 [DEBUG] - - Pending Windows Auto Update = Checked 2022-06-08 17:29:03,427 13044 [DEBUG] - - Pending File Rename Operations = Ignored 2022-06-08 17:29:03,427 13044 [DEBUG] - - Pending Windows Package Installer = Checked 2022-06-08 17:29:03,427 13044 [DEBUG] - - Pending Windows Package Installer SysWow64 = Checked 2022-06-08 17:29:03,427 13044 [INFO ] - 2 validations performed. 2 success(es), 0 warning(s), and 0 error(s). 2022-06-08 17:29:03,443 13044 [DEBUG] - The source 'https://community.chocolatey.org/api/v2/' evaluated to a 'normal' source type 2022-06-08 17:29:03,443 13044 [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. 2022-06-08 17:29:03,443 13044 [DEBUG] - Configuration: CommandName='search'| CacheLocation='C:\Users\UserName\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='True'| QuietOutput='False'|PromptForConfirmation='True'| DisableCompatibilityChecks='False'|AcceptLicense='False'| AllowUnofficialBuild='False'|Input='vcredist'|AllVersions='False'| SkipPackageInstallProvider='False'|Prerelease='False'|ForceX86='False'| OverrideArguments='False'|NotSilent='False'| ApplyPackageParametersToDependencies='False'| ApplyInstallArgumentsToDependencies='False'|IgnoreDependencies='False'| AllowMultipleVersions='False'|AllowDowngrade='False'| ForceDependencies='False'|Information.PlatformType='Windows'| Information.PlatformVersion='10.0.22000.0'| Information.PlatformName='Windows 10'| Information.ChocolateyVersion='1.1.0.0'| Information.ChocolateyProductVersion='1.1.0'| Information.FullName='choco, Version=1.1.0.0, Culture=neutral, PublicKeyToken=79d02ea9cad655eb'| Information.Is64BitOperatingSystem='True'| Information.Is64BitProcess='True'|Information.IsInteractive='True'| Information.UserName='UserName'| Information.UserDomainName='DESKTOP-BV13SJU'| 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\UserName'| 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='False'|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'| 2022-06-08 17:29:03,443 13044 [DEBUG] - _ Chocolatey:ChocolateyListCommand - Normal Run Mode _ 2022-06-08 17:29:03,443 13044 [DEBUG] - Searching for package information 2022-06-08 17:29:03,443 13044 [DEBUG] - Running list with the following filter = 'vcredist' 2022-06-08 17:29:03,443 13044 [DEBUG] - --- Start of List --- 2022-06-08 17:29:03,814 13044 [DEBUG] - --- End of List --- 2022-06-08 17:29:03,814 13044 [WARN ] - 0 packages found. 2022-06-08 17:29:03,814 13044 [DEBUG] - Sending message 'PostRunMessage' out if there are subscribers... 2022-06-08 17:29:03,814 13044 [DEBUG] - Exiting with 0 ~~~
Full Log Output for
choco search vcredis
(behaving as expected)~~~sh 2022-06-08 17:34:29,886 9848 [DEBUG] - XmlConfiguration is now operational 2022-06-08 17:34:29,902 9848 [INFO ] - ============================================================ 2022-06-08 17:34:29,996 9848 [INFO ] - Chocolatey v1.1.0 2022-06-08 17:34:30,011 9848 [DEBUG] - Chocolatey is running on Windows v 10.0.22000.0 2022-06-08 17:34:30,011 9848 [DEBUG] - Attempting to delete file "C:/ProgramData/chocolatey/choco.exe.old". 2022-06-08 17:34:30,011 9848 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\choco.exe.old". 2022-06-08 17:34:30,011 9848 [DEBUG] - Command line: "C:\ProgramData\chocolatey\choco.exe" search vcredis 2022-06-08 17:34:30,011 9848 [DEBUG] - Received arguments: search vcredis 2022-06-08 17:34:30,042 9848 [DEBUG] - RemovePendingPackagesTask is now ready and waiting for PreRunMessage. 2022-06-08 17:34:30,042 9848 [DEBUG] - Sending message 'PreRunMessage' out if there are subscribers... 2022-06-08 17:34:30,042 9848 [DEBUG] - [Pending] Removing all pending packages that should not be considered installed... 2022-06-08 17:34:30,074 9848 [DEBUG] - Performing validation checks. 2022-06-08 17:34:30,074 9848 [DEBUG] - Global Configuration Validation Checks: 2022-06-08 17:34:30,074 9848 [DEBUG] - - Package Exit Code / Exit On Reboot = Checked 2022-06-08 17:34:30,074 9848 [DEBUG] - System State Validation Checks: 2022-06-08 17:34:30,074 9848 [DEBUG] - Reboot Requirement Checks: 2022-06-08 17:34:30,074 9848 [DEBUG] - - Pending Computer Rename = Checked 2022-06-08 17:34:30,074 9848 [DEBUG] - - Pending Component Based Servicing = Checked 2022-06-08 17:34:30,074 9848 [DEBUG] - - Pending Windows Auto Update = Checked 2022-06-08 17:34:30,074 9848 [DEBUG] - - Pending File Rename Operations = Ignored 2022-06-08 17:34:30,074 9848 [DEBUG] - - Pending Windows Package Installer = Checked 2022-06-08 17:34:30,074 9848 [DEBUG] - - Pending Windows Package Installer SysWow64 = Checked 2022-06-08 17:34:30,074 9848 [INFO ] - 2 validations performed. 2 success(es), 0 warning(s), and 0 error(s). 2022-06-08 17:34:30,074 9848 [DEBUG] - The source 'https://community.chocolatey.org/api/v2/' evaluated to a 'normal' source type 2022-06-08 17:34:30,074 9848 [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. 2022-06-08 17:34:30,089 9848 [DEBUG] - Configuration: CommandName='search'| CacheLocation='C:\Users\UserName\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='True'| QuietOutput='False'|PromptForConfirmation='True'| DisableCompatibilityChecks='False'|AcceptLicense='False'| AllowUnofficialBuild='False'|Input='vcredis'|AllVersions='False'| SkipPackageInstallProvider='False'|Prerelease='False'|ForceX86='False'| OverrideArguments='False'|NotSilent='False'| ApplyPackageParametersToDependencies='False'| ApplyInstallArgumentsToDependencies='False'|IgnoreDependencies='False'| AllowMultipleVersions='False'|AllowDowngrade='False'| ForceDependencies='False'|Information.PlatformType='Windows'| Information.PlatformVersion='10.0.22000.0'| Information.PlatformName='Windows 10'| Information.ChocolateyVersion='1.1.0.0'| Information.ChocolateyProductVersion='1.1.0'| Information.FullName='choco, Version=1.1.0.0, Culture=neutral, PublicKeyToken=79d02ea9cad655eb'| Information.Is64BitOperatingSystem='True'| Information.Is64BitProcess='True'|Information.IsInteractive='True'| Information.UserName='UserName'| Information.UserDomainName='DESKTOP-BV13SJU'| Information.IsUserAdministrator='True'| Information.IsUserSystemAccount='False'| Information.IsUserRemoteDesktop='False'| Information.IsUserRemote='True'| Information.IsProcessElevated='True'| Information.IsLicensedVersion='False'|Information.LicenseType='Foss'| Information.CurrentDirectory='C:\'|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='False'|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'| 2022-06-08 17:34:30,089 9848 [DEBUG] - _ Chocolatey:ChocolateyListCommand - Normal Run Mode _ 2022-06-08 17:34:30,089 9848 [DEBUG] - Searching for package information 2022-06-08 17:34:30,089 9848 [DEBUG] - Running list with the following filter = 'vcredis' 2022-06-08 17:34:30,089 9848 [DEBUG] - --- Start of List --- 2022-06-08 17:34:30,387 9848 [INFO ] - vcredist2008 9.0.30729.616104 [Approved] Downloads cached for licensed users 2022-06-08 17:34:30,387 9848 [INFO ] - vcredist2005 8.0.50727.619501 [Approved] Downloads cached for licensed users 2022-06-08 17:34:30,387 9848 [INFO ] - vcredist2010 10.0.40219.32503 [Approved] Downloads cached for licensed users 2022-06-08 17:34:30,387 9848 [INFO ] - vcredist-all 1.0.1 [Approved] 2022-06-08 17:34:30,402 9848 [INFO ] - vcredist2013 12.0.40660.20180427 [Approved] 2022-06-08 17:34:30,402 9848 [INFO ] - vcredist2015 14.0.24215.20170201 [Approved] 2022-06-08 17:34:30,402 9848 [INFO ] - vcredist2017 14.16.27033 [Approved] 2022-06-08 17:34:30,402 9848 [INFO ] - vcredist2012 11.0.61031.20220311 [Approved] Downloads cached for licensed users 2022-06-08 17:34:30,402 9848 [INFO ] - vcredist140 14.32.31326 [Approved] 2022-06-08 17:34:30,402 9848 [INFO ] - Devbox-VCRedist2010 10.0.40219.20130422 2022-06-08 17:34:30,402 9848 [DEBUG] - --- End of List --- 2022-06-08 17:34:30,402 9848 [WARN ] - 10 packages found. 2022-06-08 17:34:30,402 9848 [DEBUG] - Sending message 'PostRunMessage' out if there are subscribers... 2022-06-08 17:34:30,402 9848 [DEBUG] - Exiting with 0 ~~~