Open kotenok2000 opened 1 year ago
It seems that winget doesn't read its version number properly. it actually shows "3.0.18" as version number. I already used winget to update it and I have this same issue.
This pull : https://github.com/microsoft/winget-pkgs/pull/109546 seems to have triggered this.
This pull : #109546 seems to have triggered this.
Hey folks, this was my PR. The question is why WinGet is reporting the version as > 3.0.17.4
rather than 3.0.18
as reported by Add/Remove Programs.
I suspect that this is due to the previous version (3.0.17.4) being bugged by the vendor and not reporting the correct versions for all installer variants. This led to a workaround for the WinGet manifest specifying different versions for each file.
My updated manifest for 3.0.18 cleaned this up but WinGet may need that specificity maintained once it was added.
If someone who knows for sure can confirm, I'll get this updated accordingly.
[Policy] Area-Matching
The problem appeared due to a matching issue in WinGet CLI:
Basically, the advice is that if the previous manifest(s) contains AppsAndFeaturesEntries: DisplayVersion
as was the case with the older manifest of VLC:
Then all manifests should contain DisplayVersion key (including prev and any future ones) or none of them should to avoid seeing the >
symbol and the infinite upgrade loop scenario.
OK, so exactly what I thought it might be. Thank you for the explanation and the swift PR to fix this!
I will be mindful of this in the future. Definitely an annoying issue since it doesn't become visible until the manifest is actually merged into the source.
Can confirm it's working again. Thanks Kris & Muhammad for the quick fix.
I'm seeing this issue again with version 3.0.21, WinGet is reporting it as > 3.0.20
, is this happening to anyone else?
The "DisplayVersion: 3.0.21.0" is missing from VideoLAN.VLC.installer.yaml, maybe this is the problem?
Please confirm these before moving forward
Category of the issue
Installation issue.
Brief description of your issue
When i upgraded VLC to 3.0.18 winget still offers upgrade.
Steps to reproduce
Install VLC
Actual behavior
VLC media player VideoLAN.VLC > 3.0.17.4 3.0.18 winget
Expected behavior
Winget detects version correctly.
Environment
Screenshots and Logs
No response