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

choco list --exact doesn't return anything when package id contains uppercase #924

Closed
ebugusey opened this issue Aug 23, 2016 · 7 comments
Closed

Comments

@ebugusey
Copy link

ebugusey commented Aug 23, 2016

What You Are Seeing?

0 packages found.

What is Expected?

Info about this packet. Or listing with this single packet in case of list --exact.

How Did You Get This To Happen? (Steps to Reproduce)

I'm trying to get information about packet:
choco info powershell
As info is a alias for list --exact I had also tried this:
choco list --exact powershell
choco list --exact PowerShell - There is exact name of a packet, as I see it in choco list -l.

Output Log

PS C:\Users\User> choco list --exact PowerShell -dv
Chocolatey v0.10.0
Chocolatey is running on Windows v 6.1.7601.65536
Attempting to delete file "C:/ProgramData/chocolatey/choco.exe.old".
Attempting to delete file "C:\ProgramData\chocolatey\choco.exe.old".
Command line: "C:\ProgramData\chocolatey\choco.exe" list --exact PowerShell -dv
Received arguments: list --exact PowerShell -dv
RemovePendingPackagesTask is now ready and waiting for PreRunMessage.
Sending message 'PreRunMessage' out if there are subscribers...
[Pending] Removing all pending packages that should not be considered installed...
The source 'https://chocolatey.org/api/v2/' evaluated to a 'normal' source type

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.
Configuration: CommandName='list'|
CacheLocation='C:\Users\User\AppData\Local\Temp\chocolatey'|
ContainsLegacyPackageInstalls='True'|
CommandExecutionTimeoutSeconds='2700'|WebRequestTimeoutSeconds='30'|
Sources='https://chocolatey.org/api/v2/'|SourceType='normal'|
Debug='True'|Verbose='True'|Force='False'|Noop='False'|
HelpRequested='False'|RegularOutput='True'|QuietOutput='False'|
PromptForConfirmation='True'|AcceptLicense='False'|
AllowUnofficialBuild='False'|Input='PowerShell'|AllVersions='False'|
SkipPackageInstallProvider='False'|Prerelease='False'|ForceX86='False'|
OverrideArguments='False'|NotSilent='False'|IgnoreDependencies='False'|
AllowMultipleVersions='False'|AllowDowngrade='False'|
ForceDependencies='False'|Information.PlatformType='Windows'|
Information.PlatformVersion='6.1.7601.65536'|
Information.PlatformName='Windows 7'|
Information.ChocolateyVersion='0.10.0.0'|
Information.ChocolateyProductVersion='0.10.0'|
Information.FullName='choco, Version=0.10.0.0, Culture=neutral, PublicKeyToken=79d02ea9cad655eb'|

Information.Is64Bit='True'|Information.IsInteractive='True'|
Information.IsUserAdministrator='True'|
Information.IsProcessElevated='False'|
Information.IsLicensedVersion='False'|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.VirusCheck='False'|
Features.FailOnInvalidOrMissingLicense='False'|
Features.IgnoreInvalidOptionsSwitches='True'|
Features.UsePackageExitCodes='True'|
Features.UseFipsCompliantChecksums='False'|
ListCommand.LocalOnly='False'|
ListCommand.IncludeRegistryPrograms='False'|ListCommand.PageSize='25'|
ListCommand.Exact='True'|ListCommand.ByIdOnly='False'|
ListCommand.IdStartsWith='False'|ListCommand.OrderByPopularity='False'|
ListCommand.ApprovedOnly='False'|
ListCommand.DownloadCacheAvailable='False'|
ListCommand.NotBroken='False'|UpgradeCommand.FailOnUnfound='False'|
UpgradeCommand.FailOnNotInstalled='False'|
UpgradeCommand.NotifyOnlyAvailableUpgrades='False'|
NewCommand.AutomaticPackage='False'|
NewCommand.UseOriginalTemplate='False'|SourceCommand.Command='unknown'|
SourceCommand.Priority='0'|FeatureCommand.Command='unknown'|
ConfigCommand.Command='unknown'|PinCommand.Command='unknown'|
_ Chocolatey:ChocolateyListCommand - Normal Run Mode _
Searching for package information
Running list with the following filter = 'PowerShell'
--- Start of List ---
--- End of List ---
0 packages found.
Sending message 'PostRunMessage' out if there are subscribers...
Exiting with 0
@ferventcoder ferventcoder changed the title choco list --exact doesn't return anything choco list --exact doesn't return anything when package id contains uppercase Aug 23, 2016
@ferventcoder
Copy link
Member

Updated the title - it seems to affect packages with uppercase only.

@ferventcoder
Copy link
Member

ferventcoder commented Aug 23, 2016

This is similar to #889 but it appears to only affect PowerShell.

I'm wondering if it is an indexing issue at dot org.

@ferventcoder
Copy link
Member

ferventcoder commented Aug 23, 2016

A straight choco search powershell and choco search PowerShell are not turning up results for the PowerShell package either.

@andyundso
Copy link

Can confirm that this issue still persists. Same error happens with Firefox, which first character is also an uppercase. Package also won't be found with choco list "Firefox" -e. If you change to source to a local directory, it works.

@ferventcoder
Copy link
Member

Thanks @andyundso. The source is what we think is affecting this for some reason. And we think it is only related to the community package repository (https://chocolatey.org/packages).

@ebugusey
Copy link
Author

ebugusey commented Jun 6, 2017

Related #1004. Closing as fixed.

@ferventcoder
Copy link
Member

We'll just call this a duplicate of #1004 (even though this was filed first).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants