-
Notifications
You must be signed in to change notification settings - Fork 4.7k
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 upgrades stable Mozilla.Thunderbird to beta versions (because of missing manifests for newer stable versions?) #117949
Comments
The issue is also with Thunderbird 102, see here marticliment/UniGetUI#1302 |
Cross posting, since my issue was closed as dupe: I can't really understand why this issue was moved to winget-pkgs. If winget suggests a beta version as an upgrade for a stable version, I think the problem is not with winget-pkgs, but with the version detection of winget itself. |
I think that a proper solution would be to delete all references to Mozilla beta installers from the winget packages manifest repository. (yes, really, nuke all betas) Beta versions of software from Mozilla have a way faster life cycle than the stable versions, during the course of a week there can sometimes be 2...3 or even 4 new beta versions published by Mozilla and winget is extremely slow with updates to the package manifests. Another reason for dropping the betas completely is that software from Mozilla (Firefox, Thunderbird) has a built-in self-update mechanism, and if someone installs a beta version on purpose they are assumed to at least be knowledgeable enough to also know about the built-in updater. |
This would be possible, but not a solution to the problem at hand. This can also happen at any time with any other software. Updating a stable software to a beta version should not be something that a package manager can do so easily. Furthermore, I - personally - would expect a proper package manager to make anti-patterns like integrated update management obsolete, not to support or promote them. |
If I undestand correctly, this whole situation is a side effect of winget more or less being stateless. Question is whether this can be solved in the current model, or whether it would be a good reason to reconsider some design decisions. |
Is nobody taking care of the manifest? The issue still persists. |
I cannot confirm that winget installs the beta version. It just erroneously thinks version 117.0b4 is installed for some reason. I have the stable version 115.2 installed, but winget says I have beta version 117.0b4 installed. Winget doesn't even upgrade to the beta version when I daringly and jokingly tell it to for experimental research reasons (testing what it does). What's odd to me is that 117.0b4 isn't even the next highest version after 115.0, there's 116.0b7 and 117.0b1. But looking at the manifest file for 117.0b4, there's some entries that seem out of place:
|
Same problem here. |
For me, Winget is (correctly) not upgrading to Beta, but (incorrectly, from my point of view), showing the Beta as the Available version:
After that, EDIT: The next day, |
Not here : But the installed version of Thunderbird is 115.2.3 stable. |
I confirm the issue on all my personal and working machines I am working with, no exclusions. |
I can also confirm this because it happens on all computers at company for which I work. Some computers already got update to beta because of this issue when running |
To avoid roll back, you can pin thunderbird and thunderbird beta |
I know but the issue is still annoying. |
Same issue. Installed stable release 115.2.3, but after
and updating app to beta version. After next running
|
Same issue. |
But this can only be a manifest problem, right? Why is nobody taking care about this? Oh boy, this is annoying...and we can't test possible fixes because we can't have a local repo for testing :( |
Mee too, Does anyone knows how to remove packages or apps from wing get upgrade?
Also I have Intellij Idea in 2023.2.3 an I have conflict too |
Not only Winget installed the beta thunderbird to my system, it has removed all my mail data. Enough with Winget experiment. |
don't worry about data, I have the same problem, Beta install in different directory. |
I have problem with intellIj too with the version |
I have to put more pin to block.... ejem, please solve this situation
|
My workaround for these issues is to consequently pinblock any application that gives me trouble. It's not just package manifests being outdated or incorrect, also winget's inability to deal with letter appendices to version numbering is bothering me. Some authors release hotfixes, so after let's say 3.22 comes 3.22a, 3.22b, but winget treats them as pre-releases due to difference convention. |
Thanks, got my data back. |
To me, the manifests seem correct. It rather seems that Winget is unable to distinguish between installed GA and Beta, Or perhaps the only way to get this working is that Thunderbird changes something in their Beta installer. @fancybody @vedantmgoyal2009 you two have added the last eight Thunderbird Betas. If you ask me, unless there is a proper fix available, |
I've created pin for Thunderbird, but it doesn't work and Thunderbird is still updating. My pin looks like this: Name Id Version Source Pin typeMozilla Thunderbird (x64 en-US) Mozilla.Thunderbird 115.3.1 winget Blocking |
You must pin Thunderbird AND Thunderbird beta. |
I know it's not the actual fix but I made PRs to remove versions of Mozilla.Thunderbird.Beta that have a higher version than the stable one. WinGet seems to be correlating stable versions to beta versions (since they have the exact AppsAndFeatures metadata) and the temporary fix is to just let stable version be the "highest" version in the repo. Since those PRs have been merged, can someone verify if this issue is still occurring?
[Policy] Area-Matching |
I checked, winget doesn't update Thunderbird.Stable to Thunderbird.Beta |
it is not happening anymore for me Discord app and Google Drive though... those are different known problems:
|
It is not happening for me too. |
Or that Thunderbird uses a different ARP name for beta versions, see #117895 (comment) and https://bugzilla.mozilla.org/show_bug.cgi?id=1853673 |
Brief description of your issue
Missing stable package definitions for newer sub-versions than currently listed in the package manifests causes winget to upgrade stable editions to beta versions.
example:
Winget currently tries to upgrade Mozilla Thunderbird 115.0.1, 115.1.0 and 115.1.1 (so far) to the beta 117.0b9 because there is no package manifest definition for any other version in the 115 series except for the 115.0 (115.0,0) one so winget will detect any newer stable version (installed by Mozilla's own updater) as being a beta.... and thus winget starts to install newer betas on top of existing stable editions
Steps to reproduce
see #117895
winget upgrade
- it should say nothing about Thunderbirdwinget upgrade
- winget now identifies the installed 115.1.1 version as being part of the Thunderbird Betas, "> 117.0b4"winget upgrade --all
- winget will now install Thunderbird Beta 117 even if it was Stable 115 beforeExpected behavior
even if winget is missing package manifests for newer stable versions of a software it should not install beta versions on top of the currently stable one, even if the current stable one has higher version numbers than what numbers are present in the manifests repository for whatever version winget considers as "stable"
And this especially if there is a major version change (e.g. 115->117 in the case of Thunderbird)
Actual behavior
winget upgrades stable versions to beta/testing versions.
Environment
The text was updated successfully, but these errors were encountered: