-
Notifications
You must be signed in to change notification settings - Fork 1.5k
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
winget update
reports a Hashicorp.Terraform
update is available, but winget update Hashicorp.Terraform
says none is found
#4761
Comments
What is the output from Can you share verbose logs from the failure?
|
Here's the output:
Here are the logs: |
It looks like we're seeing multiple correlations. I'm not sure if there are extra registry entries or something else causing the failure. I think this is the same issue as:
winget search hashicorp.terraform
Name Id Version Source
--------------------------------------------------------------------------
Hashicorp Terraform Hashicorp.Terraform 1.9.5 winget
Hashicorp Terraform Hashicorp.Terraform.Alpha 1.10.0-alpha20240807 winget
Hashicorp Terraform Hashicorp.Terraform.Beta 1.7.0-beta2 winget
Hashicorp Terraform Hashicorp.Terraform.RC 1.8.0-rc1 winget
|
From the log:
2024-08-28 16:54:58.499 [REPO] ... installed package [ARP\Machine\X64\Hashicorp.Terraform_Microsoft.Winget.Source_8wekyb3d8bbwe] had multiple correlations and is being ignored as a match for [Hashicorp.Terraform] The package manager downloads a compressed copy of all manifests in the repo, then matches this data against the data in the Registry. It seems that the data in Registry might be matching to more than 1 manifest, and so the package manager ignores it. The next step would seem to be reducing the correlations to 1 through removing data that correlates to other manifest versions.
|
That matching issue looks like it is with portables specifically, and is probably not due to other packages with ids that are longer, but rather with other packages that are so similar we can't tell them apart. Ultimately we should be able to go from portable directly to an ID and source but we aren't. I suspect that we just need some "enlightening" given to the ARP reading for portable specific info we write in. This should chain through the tracking DB back to the original package without any confusion 🤞 |
Feel free to ask me to look up registry entries that |
Seems that the registry only contains one entry:
|
Anything I can do to troubleshoot this further? |
Brief description of your issue
Running
winget update
reports aHashicorp.Terraform
update is available, butwinget update Hashicorp.Terraform
says none is found:See logs:
WinGet-2024-08-28-09-37.zip
Steps to reproduce
On a system with
Hashicorp.Terraform
version 1.9.0 installed, runwinget update Hashicorp.Terraform
Expected behavior
Hashicorp.Terraform
version 1.9.5 should get installedActual behavior
winget update Hashicorp.Terraform
reportsNo installed package found matching input criteria.
Environment
The text was updated successfully, but these errors were encountered: