microsoft / microsoft/winget-cli

avoid that winget mixed up updates for LibreOffice v. 7.x with the v. 24.x

Open
#4,331 4 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Issue-Bug
Dominant language
C++
Stars
26.4k
Forks
1.8k
Avg merge
1d 11h
Merged PRs (30d)
15

Description

Brief description of your issue

winget mixed up updates for LibreOffice v. 7.x with the v. 24.x

what would happen if we would mix up Office 2019 with Office 365 ?
The results would be similar.

winget list --upgrade-available (the result is false)
Name - - ID - - Update Version
LibreOffice 7.6.6.3 - - - TheDocumentFoundation.LibreOffice 7.6.6.3 - - - 24.2.2.2

correct would be eg. based on the previous version:
LibreOffice 7.6.6.2 - - - TheDocumentFoundation.LibreOffice 7.6.6.2 - - - 7.6.6.3

or is it caused by the strange ID?
TheDocumentFoundation.LibreOffi

or caused by the name?
winget show "LibreOffice 7.6.6.3" = no result
winget show "LibreOffice" = shows result of v. 24
this could lead to a wrong match

Steps to reproduce

please follow as described above

Expected behavior

Please follow with your provided winget update information the given rules on
https://www.libreoffice.org/download/download-libreoffice/

and please treat the versions separately.

v. 24 is not equal v.7
even a future version v. 25 will never be a v. 8

further infos about the v. 24.2.2
https://download.documentfoundation.org/libreoffice/stable/24.2.2/win/x86_64/LibreOffice_24.2.2_Win_x86-64.msi.mirrorlist

further infos about the v. 7.6.6
https://download.documentfoundation.org/libreoffice/stable/7.6.6/win/x86_64/LibreOffice_7.6.6_Win_x86-64.msi.mirrorlist

Thank you

Actual behavior

please suppresses the false update message for the version 7

Environment
winget --info
Windows-Paket-Manager v1.7.10861

Windows: Windows.Desktop v10.0.19045.4170
Systemarchitektur: X64
Paket: Microsoft.DesktopAppInstaller v1.22.10861.0

WinGet-Folders
- - -
Protokolle %LOCALAPPDATA%\Packages\Microsoft.DesktopAppInstaller_8wekyb3d8bbwe\LocalState\DiagOutputDir
Benutzereinstellungen %LOCALAPPDATA%\Packages\Microsoft.DesktopAppInstaller_8wekyb3d8bbwe\LocalState\settings.json
Verzeichnis für portierbare Links (Benutzer) %LOCALAPPDATA%\Microsoft\WinGet\Links
Portables Linkverzeichnis (Computer) C:\Program Files\WinGet\Links
Portierbarer Paketstamm (Benutzer) %LOCALAPPDATA%\Microsoft\WinGet\Packages
Portierbarer Paketstamm C:\Program Files\WinGet\Packages
Portierbares Paketstamm (x86) C:\Program Files (x86)\WinGet\Packages
Installationsprogrammdownloads %USERPROFILE%\Downloads

Administrator-Settings                  Status
- - -
LocalManifestFiles                        Deaktiviert
BypassCertificatePinningForMicrosoftStore Deaktiviert
InstallerHashOverride                     Deaktiviert
LocalArchiveMalwareScanOverride           Deaktiviert

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reproducing the reported winget list --upgrade-available and winget show commands with the LibreOffice 7.6.6 and 24.2.2 versions linked in the issue. Compare how the two version lines are matched and reported; done means the false update for the 7.x installation is no longer shown while valid updates remain available.

Written by the indexing model from the issue text.

Assessment

Tech stack
cpp
Domain
cli, operating-systems
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.