microsoft / winget-cli

WinGet is the Windows Package Manager. This project includes a CLI (Command Line Interface), PowerShell modules, and a COM (Component Object Model) API (Application Programming Interface).
https://learn.microsoft.com/windows/package-manager/
MIT License
23.25k stars 1.45k forks source link

Update loop with balenaEtcher #4664

Open github4jojo opened 3 months ago

github4jojo commented 3 months ago

Brief description of your issue

After updating balenaEtcher from 1.18.11 to 1.19.21 by winget! Winget do want to update 1.18. to version version 1.19. once more again and again and again ... Winget is not able to regonize, balenaEtcher is still intalled with version 1.19.21 or not able to regnoize, that this software is still installed with the neweste version!

Steps to reproduce

Install older version of balenaEtcher and test it!

Expected behavior

After updating, winget will regonize that this software is still up to date!

Actual behavior

Make a Bug-Report!

Environment

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

Windows: Windows.Desktop v10.0.22631.3880
Systemarchitektur: X64
Paket: Microsoft.DesktopAppInstaller v1.23.1911.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
ProxyCommandLineOptions                   Deaktiviert
DefaultProxy                              Deaktiviert

C:\Windows\System32>
Trenly commented 3 months ago

Can you share the output of winget list Balena ?

github4jojo commented 3 months ago

Microsoft Windows [Version 10.0.22631.3880] (c) Microsoft Corporation. Alle Rechte vorbehalten.

C:\Windows\System32>winget list Balena Name ID Version Quelle

balenaEtcher Balena.Etcher 1.19.21 winget balenaEtcher 1.18.11 Balena.Etcher 1.18.11 winget

C:\Windows\System32>

github4jojo commented 3 months ago

After deinstallation of all balenaEtcher and reinstall newest balenaEtcher Version. It seems to me, i've found the solution for that behavior.

Trenly commented 3 months ago

Looks like this is an issue where two versions installed side by side and the client wasn’t able to detect the side by side install.

[Policy] Side by side