-
Notifications
You must be signed in to change notification settings - Fork 1.4k
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
Nonsensical version tracking and listing #3735
Comments
Some of this is related to: Python is split out in the repository as separate packages, but the matching logic still detects the newer versions due to the metadata written by the installer. One possible workaround for this package is to pin it to the version or "range" of versions you want. When you see a ">" or a "<" in a version, it's an indication that the manifest is using a "marketing version" (packageVersion) rather than what the installer actually writes to the registry (Apps & Features displayVersion). Often the reason is due to the installed "displayVersion" not having a corresponding manifest in the community repository. |
Looking to Python.Python to see if there is 0 file.. |
Action before Id column which is Upgrade Code. |
Brief description of your issue
On the below screenshot you can see Winget suggesting 4 updates for packages that are all on the latest version:
Firefox Developer edition:
The version actually installed is 119.0 Beta 5, the latest available for that release channel, but Winget detects a non-beta release of 119.0 (which will never exist since developer edition only gets beta channel builds) and suggests me "upgrade" to the previous beta.
This is problematic for 2 reasons:
Microsoft Windows Desktop Runtime - 3.1.32
Winget is suggesting me to replace the 3.x desktop runtime with a completely incompatible version of the .NET desktop runtime (which for the record I have installed as well).
This is a serious issue as it would cause an update loop, as the 3.1.32 runtime is not overwritten by the 6.0.22 one and therefore will still show an update available after the install of the "updated" package.
Epic Games Launcher
This program is on the latest version according to the launcher's internal updater (15.15.0-2846563), neither the version Winget claims the program currently is or the one Winget claims is the latest can be found anywhere in the program, including the executable's version details.
Ideally Winget would not touch programs like these that include their own installers, but unfortunately the closest we have to a package ignore list is pinning, which breaks the program's internal updaters.
Python 3.12.0
Perhaps the most puzzling of them all, Winget detects my Python 3.12 install as an unknown version Python 3.11 install and is trying to get me to update to the version it currently is at. This is an issue for 2 reasons:
All of these are recurring issues that manifest themselves frequently and cause me to have to avoid the convenient
winget upgrade --all
command.Steps to reproduce
Install the aforementioned packages and run
winget upgrade
Expected behavior
Only packages with newer versions available would show updates.
Actual behavior
Inexistent updates show as available.
Environment
The text was updated successfully, but these errors were encountered: