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.18k stars 1.45k forks source link

winget upgrade incorrect version #3481

Open shuohao opened 1 year ago

shuohao commented 1 year ago

Brief description of your issue

my indellij idea version is 2023.2 but winget output > 2023.1 image image

Steps to reproduce

winget upgrade my indellij idea version is 2023.2 but winget output > 2023.1

Expected behavior

correct version 2023.2

Actual behavior

2023.1

Environment

Windows 程序包管理器 v1.5.1881
版权所有 (C) Microsoft Corporation。保留所有权利。

Windows: Windows.Desktop v10.0.22621.2070
系统体系结构: X64
软件包: Microsoft.DesktopAppInstaller v1.20.1881.0

Winget Directories
-----------------------------------------------------------------------------------------------------------------------
Logs                               %LOCALAPPDATA%\Packages\Microsoft.DesktopAppInstaller_8wekyb3d8bbwe\LocalState\Diag…
User Settings                      %LOCALAPPDATA%\Packages\Microsoft.DesktopAppInstaller_8wekyb3d8bbwe\LocalState\sett…
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

链接
----------------------------------------------------------------------------
隐私声明             https://aka.ms/winget-privacy
许可协议             https://aka.ms/winget-license
第三方声明           https://aka.ms/winget-3rdPartyNotice
主页                 https://aka.ms/winget
Windows 应用商店条款 https://www.microsoft.com/en-us/storedocs/terms-of-sale

管理员设置                                状态
------------------------------------------------
LocalManifestFiles                        已禁用
BypassCertificatePinningForMicrosoftStore 已禁用
InstallerHashOverride                     已禁用
LocalArchiveMalwareScanOverride           已禁用
stephengillie commented 1 year ago

I believe this might have been reported, but can't find the issue.

DaeMon87 commented 1 year ago

I have the same issue but in my case, it also applies to Webstorm. I was also having this issue when I upgraded to IntelliJ IDEA version 2023.1.4

image

ruffy91 commented 1 year ago

I have the same issue, it applies to Nextcloud too.

Windows: Windows.Desktop v10.0.22621.2283
System Architecture: X64
Package: Microsoft.DesktopAppInstaller v1.20.2201.0
> winget list nextcloud
Name      Id                         Version Available Source
-------------------------------------------------------------
Nextcloud Nextcloud.NextcloudDesktop > 3.9.3 3.9.4     winget
image image