-
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
Does Winget have the "Windows 9" bug? #5239
Comments
NOTE: Same thing occurs in both Windows 11 24H2 Pro and Windows 10 Home, fully updated release versions. |
The "Windows 9" bug is a myth, no API nor registry value contained 95. |
The "upgrade always available" issue is due to a sorting issue. Frequently, this is due to one of the Searching for the package returns an older version: PS C:\ManVal> Find-WinGetPackage GnuCash
Name Id Version Source
---- -- ------- ------
GnuCash GnuCash.GnuCash 5.1 winget But PS C:\ManVal> (Find-WinGetPackage GnuCash).AvailableVersions
5.10
5.9
5.8
5.7
5.6
5.5
5.4
5.3
5.1
5.0
4.13
4.12
4.11
4.10
4.9
4.8
4.7
4.6
4.5
4.4
4.3
4.2
4.1
3.10 I mentioned earlier that this sometimes happens due to the
So I'm not sure why the sort issue is happening here. |
I took a looked at the manifests, the version numbers are in quotes. @Trenly do you think it's being treated as a string rather than a version number? When I perform the search, I see version 5.1 as the latest as opposed to 5.10. |
Duplicate of #4928 |
Hello @mreiky, We've identified this as a duplicate of another issue or PR that already exists. This specific instance is being closed in favor of the linked issue. Please add your 👍 to the other issue to raise its priority. Thanks for your contribution! Template: msftbot/duplicate/closed |
Brief description of your issue
Winget seems to have the "Windows 9" bug with regard to GnuCash. After it reached version 5.10, winget started downloading and installing it every time I do a "winget upgrade --all --include-unknown". It sure looks like winget is interpreting the installed v. "5.10" (followed 5.9) as "5.1" dropping the zero. Resembles the alleged reason for not having a "Windows 9" because version checkers would think it was 95 or 98.
Steps to reproduce
Install GnuCash 5.9 (available from the history pages at gnucash.org).
Do winget upgrade --all --include-unknown. 5.10 (current until March 2025) will be downloaded and installed, correctly.
Any time that winget command is used after that, though, it will again download and try to install 5.10. That can only be cancelled by aborting installation by rejecting administrator authorization.
Expected behavior
Once GnuCash 5.10 is installed, until 5.11 comes out in March 2025, I expect Gnucash to be skipped (since it's up to date) in the winget upgrade scan.
Actual behavior
GnuCash 5.10 is downloaded and installed every time a winget upgrade scan is done.
Environment
The text was updated successfully, but these errors were encountered: