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

[Package Issue]: Mozilla.Thunderbird #117895

Open
2 tasks done
FurtadoPires opened this issue Aug 23, 2023 · 10 comments
Open
2 tasks done

[Package Issue]: Mozilla.Thunderbird #117895

FurtadoPires opened this issue Aug 23, 2023 · 10 comments
Labels
Area-Matching Help-Wanted This is a good candidate work item from the community. Issue-Bug It either shouldn't be doing this or needs an investigation.

Comments

@FurtadoPires
Copy link

Please confirm these before moving forward

  • I have searched for my issue and not found a work-in-progress/duplicate/resolved issue.
  • I have not been informed if the issue is resolved in a preview version of the winget client.

Category of the issue

Installation issue.

Brief description of your issue

Thunderbird beta is being offered as a update for those who have thunderbird pt-br stable installed (I haven't checked if other languages have the same problem)

image

Steps to reproduce

Install the latest thunderbird stable, then run winget --upgrade

Actual behavior

winget will offer the the version xxx.xbx despite not having a beta version installed

Expected behavior

it should only offer beta updates to those who have a beta version installed

Environment

Gerenciador de Pacotes do Windows v1.5.2201
Copyright (c) Microsoft Corporation. Todos os direitos reservados.

Windows: Windows.Desktop v10.0.22621.2134
Arquitetura do Sistema: X64
Pacote: Microsoft.DesktopAppInstaller v1.20.2201.0

Winget Directories
-------------------------------------------------------------------------------------------------------------------------------
Logs                               %LOCALAPPDATA%\Packages\Microsoft.DesktopAppInstaller_8wekyb3d8bbwe\LocalState\DiagOutputDir
User Settings                      %LOCALAPPDATA%\Packages\Microsoft.DesktopAppInstaller_8wekyb3d8bbwe\LocalState\settings.json
Portable Links Directory (User)    %LOCALAPPDATA%\Microsoft\WinGet\Links
Portable Links Directory (Machine) C:\Program Files\WinGet\Links
Portable Package Root (User)       %LOCALAPPDATA%\Microsoft\WinGet\Packages
Portable Package Root              C:\Program Files\WinGet\Packages
Portable Package Root (x86)        C:\Program Files (x86)\WinGet\Packages

Links
-------------------------------------------------------------------------------
Política de Privacidade https://aka.ms/winget-privacy
Contrato de Licença     https://aka.ms/winget-license
Avisos de Terceiros     https://aka.ms/winget-3rdPartyNotice
Home page               https://aka.ms/winget
Termos da Windows Store https://www.microsoft.com/en-us/storedocs/terms-of-sale

Configuração do Administrador             Estado
------------------------------------------------------
LocalManifestFiles                        Desabilitado
BypassCertificatePinningForMicrosoftStore Desabilitado
InstallerHashOverride                     Desabilitado
LocalArchiveMalwareScanOverride           Desabilitado

Screenshots and Logs

No response

@FurtadoPires FurtadoPires added the Issue-Bug It either shouldn't be doing this or needs an investigation. label Aug 23, 2023
@microsoft-github-policy-service microsoft-github-policy-service bot added the Needs-Triage This work item needs to be triaged by a member of the core team. label Aug 23, 2023
@Danik1601
Copy link

Danik1601 commented Aug 24, 2023

+1 here.

Winget upgraded me from 115 (stable) to 117b4 and now offers 117b6.

P.S. My installation languages are en-us and ru-ru.

@R-Adrian
Copy link

same problem shows up for me, winget wants to "upgrade" my stable Thunderbird x64 en-gb 115.1.1 to beta version 117.0b6

https://ftp.mozilla.org/pub/thunderbird/releases/115.1.1/win64/en-GB/

@cela96
Copy link

cela96 commented Aug 24, 2023

I have the same issue.
Until a few minutes ago, I had an old version, probably 102.x.x installed via .exe I assume that there is no automatic update from 102.x.x to Supernova 115.x.x
winget upgrade saw 102.x.x as Mozilla Thunderbird (x64 it) Mozilla.Thunderbird.Beta > 117.0b4 117.0b6 winget

At this point, I manually updated to the latest stable version via the Italian .msi file available on the official website
https://download-installer.cdn.mozilla.net/pub/thunderbird/releases/115.1.1/win64/it/Thunderbird%20Setup%20115.1.1.msi

Winget continued to see it as Mozilla.Thunderbird.Beta

Then, I forced the installation of the stable version using winget install -e --id Mozilla.Thunderbird --force effectively downgrading from 115.1.1 to 115.0.
Winget used this link
https://download-installer.cdn.mozilla.net/pub/thunderbird/releases/115.0/win64/it/Thunderbird%20Setup%20115.0.msi

After doing this, winget upgrade now sees Thunderbird as
Mozilla Thunderbird (x64 it) Mozilla.Thunderbird 115.0 117.0b6 winget so it's identified correctly.

However, it still wants to update it to the beta version.
After opening and closing Thunderbird (triggering the integrated automatic update), winget upgrade reports
Mozilla Thunderbird (x64 it) Mozilla.Thunderbird 115.1.1 117.0b6 winget

@R-Adrian
Copy link

R-Adrian commented Aug 24, 2023

I think this probably happens because Winget currently only considers as "stable" the version 115.0 because there is no other manifest published for the newer 115.x.y versions and when it encounters a higher version number, it assumes that the currently installed one must be a newer/beta version of Thunderbird and it starts to look at the manifests for the beta versions.... and those have an even higher version number (117).

https://github.com/microsoft/winget-pkgs/tree/master/manifests/m/Mozilla/Thunderbird

@stephengillie stephengillie added Help-Wanted This is a good candidate work item from the community. Area-Matching and removed Needs-Triage This work item needs to be triaged by a member of the core team. labels Aug 24, 2023
@fblz
Copy link

fblz commented Aug 28, 2023

At least in my example #118246 I did not start Thunderbird at all, neither did I invoke the integrated updater.
So there is probably a problem outside the package sources.

@dpprdan
Copy link
Contributor

dpprdan commented Sep 18, 2023

I suspect, winget cannot tell the beta from the stable version, because both have the same (apart from the version number) ARP entries:

Stable:

DisplayName                     DisplayVersion Publisher ProductCode                             Scope
-----------                     -------------- --------- -----------                             -----
Mozilla Thunderbird (x64 en-US) 115.2.2        Mozilla   Mozilla Thunderbird 115.2.2 (x64 en-US) Machine

Beta:

DisplayName                     DisplayVersion Publisher ProductCode                           Scope
-----------                     -------------- --------- -----------                           -----
Mozilla Thunderbird (x64 en-US) 118.0          Mozilla   Mozilla Thunderbird 118.0 (x64 en-US) Machine

Compare Firefox:

DisplayName                 DisplayVersion Publisher ProductCode                         Scope
-----------                 -------------- --------- -----------                         -----
Mozilla Firefox (x64 en-US) 117.0.1        Mozilla   Mozilla Firefox 117.0.1 (x64 en-US) Machine
DisplayName                           DisplayVersion Publisher ProductCode                                 Scope
-----------                           -------------- --------- -----------                                 -----
Firefox Developer Edition (x64 en-US) 118.0          Mozilla   Firefox Developer Edition 118.0 (x64 en-US) Machine

@jedieaston (since you submitted the latest Firefox manifests) is there something we can do here to tell them apart? UpgradeCode or something like that maybe? Or does this have to be fixed by the Thunderbird team?

@TheNavyBear
Copy link

Same issue.
For a few weeks winget just showed the Beta version as an available upgrade with 'winget upgrade' but did not upgrade it with 'winget upgrade --all'. As of this week winget now installs Thunderbird Beta in parallel with my Thunderbird 115.xx when I run 'winget upgrade --all'. I have had to pin Thunderbird in winget to avoid this.
This is a bandaid approach as I can no longer use winget to see if/when there is an update to Thunderbird non-beta, and must now rely on Thunderbird's in-built updater instead of winget...

@dpprdan
Copy link
Contributor

dpprdan commented Sep 28, 2023

Related issues on Thunderbird's Bugzilla:

  1. https://bugzilla.mozilla.org/show_bug.cgi?id=1851791
  2. https://bugzilla.mozilla.org/show_bug.cgi?id=1853673

@trparky
Copy link

trparky commented Oct 2, 2023

OK, but shouldn't pinning Thunderbird prevent Winget from telling me that there's an upgrade? I've tried to pin it like I have done with another program and yet, it doesn't behave the same way.

@dpprdan
Copy link
Contributor

dpprdan commented Oct 4, 2023

The current workaround is that all beta manifests with versions larger than the current stable version have been purged from the repo, see #117949 (comment):

The actual fix would be to address the problem in Support different release channels [released, beta, alpha] winget-cli#147

Or (as mentioned above) that Thunderbird uses a different ARP name for beta versions.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Area-Matching Help-Wanted This is a good candidate work item from the community. Issue-Bug It either shouldn't be doing this or needs an investigation.
Projects
None yet
Development

No branches or pull requests

9 participants