Skip to content

winget does not updating app version info #2502

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

Closed
demios97 opened this issue Sep 7, 2022 · 9 comments
Closed

winget does not updating app version info #2502

demios97 opened this issue Sep 7, 2022 · 9 comments
Labels
Area-External Issue outside of winget-cli source Issue-Bug It either shouldn't be doing this or needs an investigation.
Milestone

Comments

@demios97
Copy link

demios97 commented Sep 7, 2022

Brief description of your issue

winget doesn't see actual version of the program after upgrade of the program through winget itself. Reinstalling doesn't help.
Screenshot 2022-09-07 125741
Screenshot 2022-09-07 125903

Steps to reproduce

winget install AIMP.AIMP
winget upgrade --all

Expected behavior

After upgrade winget should show me actual version number.

Actual behavior

Every time I try to upgrade, aimp install himself, no matter the version.

Environment

Windows Package Manager v1.3.2091
Copyright (c) Microsoft Corporation. All rights reserved.

Windows: Windows.Desktop v10.0.19044.1949
System Architecture: X64
Package: Microsoft.DesktopAppInstaller v1.18.2091.0

Logs: %LOCALAPPDATA%\Packages\Microsoft.DesktopAppInstaller_8wekyb3d8bbwe\LocalState\DiagOutputDir

Links
---------------------------------------------------------------------------
Privacy Statement   https://aka.ms/winget-privacy
License Agreement   https://aka.ms/winget-license
Third Party Notices https://aka.ms/winget-3rdPartyNotice
Homepage            https://aka.ms/winget
Windows Store Terms https://www.microsoft.com/en-us/storedocs/terms-of-sale
@ghost ghost added the Needs-Triage Issue need to be triaged label Sep 7, 2022
@Trenly
Copy link
Contributor

Trenly commented Sep 7, 2022

What is shown when you run winget list AIMP ?

@denelon denelon added Issue-Bug It either shouldn't be doing this or needs an investigation. Area-External Issue outside of winget-cli source Needs-Author-Feedback Issue needs attention from issue or PR author and removed Needs-Triage Issue need to be triaged labels Sep 7, 2022
@Trenly
Copy link
Contributor

Trenly commented Sep 7, 2022

As I was looking into this, in additon to the bug above, I found that this application installs side by side.

Setting UpgradeBehavior: uninstallPrevious is not an option, as the application uninstaller returns success immediately and is interactive, thus requiring #1885 to provide custom silent uninstall arguments.

@demios97
Copy link
Author

demios97 commented Sep 8, 2022

What is shown when you run winget list AIMP ?

Screenshot 2022-09-08 110837

@ghost ghost added Needs-Attention Issue needs attention from Microsoft and removed Needs-Author-Feedback Issue needs attention from issue or PR author labels Sep 8, 2022
@Trenly
Copy link
Contributor

Trenly commented Sep 8, 2022

What is shown when you run winget list AIMP ?

Screenshot 2022-09-08 110837

Thank you; This looks exactly like the issue I reported in the issue linked above, which means you don’t have the other side-by-side upgrade issue

@denelon denelon added this to WinGet Feb 14, 2023
@denelon denelon added this to the v1.5-Client milestone Feb 14, 2023
@denelon denelon modified the milestones: v1.5-Client, v.Next-Client Apr 18, 2023
@denelon denelon removed this from WinGet Jun 13, 2023
@emoxam
Copy link

emoxam commented Feb 6, 2024

Face the same with a bunch of apps
dbeaver.dbeaver
Docker.DockerDesktop
Microsoft.WindowsTerminal
PostgreSQL.pgAdmin
Telegram.TelegramDesktop
Python.Python.3.12
MongoDB.Compass.Full
VideoLAN.VLC

@emoxam
Copy link

emoxam commented Feb 6, 2024

winget update #Refreshes the repositories
winget upgrade #Actually updates apps
is it true ? Why does "winget update" works if we don't have any mention at "winget -?" ?

winget upgrade

Имя                                                   ИД                           Версия        Доступно      Источник
-----------------------------------------------------------------------------------------------------------------------
OpenWebStart 1.7.0                                    karakun.OpenWebStart         1.7.0         1.9.0         winget
MongoDB Compass                                       MongoDB.Compass.Full         1.40.3        1.42.0.0      winget
Notepad++ (64-bit x64)                                Notepad++.Notepad++          8.2           8.6.2         winget


pgAdmin 4 version 7.3                                 PostgreSQL.pgAdmin           7.3           8.2           winget

winget upgrade PostgreSQL.pgAdmin

Найдено pgAdmin 4 [PostgreSQL.pgAdmin] Версия 8.2
Лицензия на это приложение предоставлена вам владельцем.
Корпорация Майкрософт не несет ответственность за сторонние пакеты и не предоставляет для них никакие лицензии.
Скачивание https://ftp.postgresql.org/pub/pgadmin/pgadmin4/v8.2/windows/pgadmin4-8.2-x64.exe
  ██████████████████████████████   181 MB /  181 MB
Хэш установщика успешно проверен
Запуск установки пакета...
Успешно установлено

And again

winget upgrade

Имя                                                   ИД                           Версия        Доступно      Источник
-----------------------------------------------------------------------------------------------------------------------
OpenWebStart 1.7.0                                    karakun.OpenWebStart         1.7.0         1.9.0         winget
MongoDB Compass                                       MongoDB.Compass.Full         1.40.3        1.42.0.0      winget
Notepad++ (64-bit x64)                                Notepad++.Notepad++          8.2           8.6.2         winget
pgAdmin 4 version 7.3                                 PostgreSQL.pgAdmin           7.3           8.2           winget

Why does PostgreSQL.pgAdmin still shows as not updated ?

@denelon
Copy link
Contributor

denelon commented Jul 9, 2024

WinGet 1.8 has better support for packages that get installed "side-by-side".
Is this a situation where multiple versions are installed?

If it's not, it's possibly a case of the registry entry not getting updated by the installer.

@denelon denelon added Needs-Author-Feedback Issue needs attention from issue or PR author and removed Needs-Attention Issue needs attention from Microsoft labels Jul 9, 2024
@demios97
Copy link
Author

demios97 commented Jul 9, 2024

There were no multiple versions of the same app. But the issue was gone long ago. Maybe @emoxam can provide recent feedback?

@microsoft-github-policy-service microsoft-github-policy-service bot added Needs-Attention Issue needs attention from Microsoft and removed Needs-Author-Feedback Issue needs attention from issue or PR author labels Jul 9, 2024
@denelon denelon modified the milestones: v.Next-Client, 1.9 Client Jul 9, 2024
@denelon
Copy link
Contributor

denelon commented Jul 9, 2024

I'm going to go ahead and close this issue. If the problem persists, please re-open this issue or file a new one. I'm fairly confident the issue has been resolved in WinGet 1.8.

@denelon denelon closed this as completed Jul 9, 2024
@microsoft-github-policy-service microsoft-github-policy-service bot removed the Needs-Attention Issue needs attention from Microsoft label Jul 9, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Area-External Issue outside of winget-cli source Issue-Bug It either shouldn't be doing this or needs an investigation.
Projects
None yet
Development

No branches or pull requests

4 participants