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

winget installs Firefox beta version during upgrade #89513

Open
simkoG opened this issue Nov 23, 2022 · 3 comments
Open

winget installs Firefox beta version during upgrade #89513

simkoG opened this issue Nov 23, 2022 · 3 comments
Labels
Issue-Bug It either shouldn't be doing this or needs an investigation.

Comments

@simkoG
Copy link

simkoG commented Nov 23, 2022

Brief description of your issue

When I upgrade all apps with winget upgrade --all "Firefox Developer Edition (x64 hu)" updates to the latest beta version of the program.

Steps to reproduce

winget upgrade --all

Expected behavior

Do not update to beta version by default.

Actual behavior

Install the beta version of the program.

Environment

> winget --info
Windows Package Manager v1.3.2691
Copyright (c) Microsoft Corporation. All rights reserved.

Windows: Windows.Desktop v10.0.19044.2251
System Architecture: X64
Package: Microsoft.DesktopAppInstaller v1.18.2691.0

Logs: %LOCALAPPDATA%\Packages\Microsoft.DesktopAppInstaller_8wekyb3d8bbwe\LocalState\DiagOutputDir

Links
---------------------------------------------------------------------------
Privacy Statement   https://aka.ms/winget-privacy
License Agreement   https://aka.ms/winget-license
Third Party Notices https://aka.ms/winget-3rdPartyNotice
Homepage            https://aka.ms/winget
Windows Store Terms https://www.microsoft.com/en-us/storedocs/terms-of-sale
@ghost ghost added the Needs-Triage This work item needs to be triaged by a member of the core team. label Nov 23, 2022
@denelon denelon transferred this issue from microsoft/winget-cli Nov 23, 2022
@denelon denelon added Issue-Bug It either shouldn't be doing this or needs an investigation. and removed Needs-Triage This work item needs to be triaged by a member of the core team. labels Nov 23, 2022
@denelon denelon changed the title winget install beta version during upgrade winget installs Firefox beta version during upgrade Nov 23, 2022
@stephengillie
Copy link
Collaborator

stephengillie commented Dec 9, 2022

This seems like it could be part of

@dantman
Copy link

dantman commented Dec 12, 2022

I'm not sure what the original issue is, but instead of release channels it could actually be the issue with winget's version resolution I'm having.

Name                                  Id                               Version    Available   Source
----------------------------------------------------------------------------------------------------
Firefox Developer Edition (x64 en-US) Mozilla.Firefox.DeveloperEdition 108.0      108.0b9     winget

I have the latest version of Firefox Developer Edition (x64 en-US), which is 108.0. But winget insists that I "upgrade" to to the 108.0b9 release that came before 108.0. This issue is not a matter of not wanting beta versions, but winget considering betas to be newer than the stable release that comes after the beta.

i.e. Something is wrong with winget's version comparison algorithim.

@stephengillie
Copy link
Collaborator

Oh, it might be related to this one:

It's for letters preceding the version number, but both fall under the general umbrella of 'Alphanumeric version "numbers" impacting sort order'.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Issue-Bug It either shouldn't be doing this or needs an investigation.
Projects
None yet
Development

No branches or pull requests

4 participants