winget-cli icon indicating copy to clipboard operation
winget-cli copied to clipboard

winget recommends spurious onenote update

Open fehrin1 opened this issue 1 year ago • 5 comments

Brief description of your issue

With winget update (upgrade) i get the following upgrade recommendation: Microsoft OneNote - de-de XPFFZHVGQWWLHB 16.0.16731.20636 16.0.17231.20236 msstore Looking at https://learn.microsoft.com/en-us/officeupdates/update-history-microsoft365-apps-by-date this is not a sensible suggestion:

  • 16731.20636 is the latest update from the half year enterprise channel, so there is nothing to update here.
  • 16.0.17231.20236 is not the latest update from the monthly enterprise channel, why is it that exactly this version is recommended?

Steps to reproduce

winget update or winget upgrade

Expected behavior

No onenote upgrade should be suggested.

Actual behavior

A spurious upgrade is suggested.

Environment

C:\Users\FEH01589>winget --info
Windows-Paket-Manager v1.7.11132
Copyright (c) Microsoft Corporation. Alle Rechte vorbehalten.

Windows: Windows.Desktop v10.0.19045.4355
Systemarchitektur: X64
Paket: Microsoft.DesktopAppInstaller v1.22.11132.0

WinGet-Verzeichnisse
-----------------------------------------------------------------------------------------------------------------------------------------
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

Links
-----------------------------------------------------------------------------------------
Datenschutzerklärung              https://aka.ms/winget-privacy
Lizenzvereinbarung                https://aka.ms/winget-license
Hinweise von Drittanbietern       https://aka.ms/winget-3rdPartyNotice
Startseite                        https://aka.ms/winget
Windows Store-Nutzungsbedingungen https://www.microsoft.com/en-us/storedocs/terms-of-sale

Administratoreinstellung                  Status
-----------------------------------------------------
LocalManifestFiles                        Deaktiviert
BypassCertificatePinningForMicrosoftStore Deaktiviert
InstallerHashOverride                     Deaktiviert
LocalArchiveMalwareScanOverride           Deaktiviert

fehrin1 avatar May 03 '24 08:05 fehrin1

I couldn't find identical output (no version, and no "Microsoft"), but it does appear that the MSStore has a package named OneNote:

PS C:\ManVal> find-WinGetPackage OneNote

Name                              Id                         Version          Source
----                              --                         -------          ------
OneNote                           XPFFZHVGQWWLHB             Unknown          msstore
OneNote Tagging Kit               wethat.onenotetaggingkit   5.1.8514         winget
OneMoreAddIn                      stevencohn.OneMore         5.9.0            winget
OneMark                           Neux.OneMark               1.0.2            winget
Microsoft 365 Apps for enterprise Microsoft.Office           16.0.17425.20176 winget
NoteHighlight2016                 elvirbrk.notehighlight2016 3.7              winget

Installing into a VM, it appears to download and install Office 365:

image

stephengillie avatar May 03 '24 15:05 stephengillie

Can you share logs for this incident?

If it's reproduceable you can append "--verbose-logs --logs" to get verbose logs and open the directory containing the files. I would just need the latest one with the error.

denelon avatar May 04 '24 00:05 denelon

I couldn't find identical output (no version, and no "Microsoft"), but it does appear that the MSStore has a package named OneNote:

PS C:\ManVal> find-WinGetPackage OneNote

Name                              Id                         Version          Source
----                              --                         -------          ------
OneNote                           XPFFZHVGQWWLHB             Unknown          msstore
OneNote Tagging Kit               wethat.onenotetaggingkit   5.1.8514         winget
OneMoreAddIn                      stevencohn.OneMore         5.9.0            winget
OneMark                           Neux.OneMark               1.0.2            winget
Microsoft 365 Apps for enterprise Microsoft.Office           16.0.17425.20176 winget
NoteHighlight2016                 elvirbrk.notehighlight2016 3.7              winget

Installing into a VM, it appears to download and install Office 365:

image

@stephengillie There is a onenote installed via Office 365 Enterprise. The update suggested by winget on top of this installation is spurious.

fehrin1 avatar May 04 '24 09:05 fehrin1

Can you share logs for this incident?

If it's reproduceable you can append "--verbose-logs --logs" to get verbose logs and open the directory containing the files. I would just need the latest one with the error.

winget update --verbose-logs --logs WinGet-2024-05-04-11-33-01.458.log WinGet-2024-05-04-11-32-51.462.log WinGet-2024-05-04-11-33-36.222.log

fehrin1 avatar May 04 '24 09:05 fehrin1

@denelon I added the log file(s) requested.

fehrin1 avatar May 04 '24 09:05 fehrin1

Hi @denelon any idea on this, it is for me the last remaining problem, apart from this, winget is "clean" for me?

fehrin1 avatar May 19 '24 08:05 fehrin1

I have 16731.20674 in the meantime and still 16.0.17231.20236 is suggested.

fehrin1 avatar May 19 '24 09:05 fehrin1

With winget 1.8 it is still C:\Users\FEH01589>winget update Name ID Version Verfügbar Quelle

Microsoft OneNote - de-de XPFFZHVGQWWLHB 16.0.16731.20716 16.0.17231.20236 msstore 1 Aktualisierungen verfügbar. My guess is that there is some information base for software versions which needs an update too. Personally i would exclude OneNote from winget updates, it is only a placeholder for a full blown Office 365 installation.

fehrin1 avatar Jul 04 '24 06:07 fehrin1

As of today no OneNote update is suggested anymore. If it stays this way the issue can be closed. winget update Es wurde kein installiertes Paket gefunden, das den Eingabekriterien entspricht.

fehrin1 avatar Jul 17 '24 12:07 fehrin1