You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When a package has a higher version than is available through winget, it shows as an upgrade
Steps to reproduce
Timing is key to reproducing;
Install an application which automatically updates itself, such as Visual Studio Code
Allow the application to auto-update
Ensure the version of the auto-update is higher than the latest version available in any configured sources
Run winget upgrade
Expected behavior
I expect that if an application has a higher semver than is available at the source, it would not be shown for upgrade
If it can't be determined whether the installed version is higher, lower, or equal to the available version, I would expect that it is hidden like packages with unknown version with a message that it could not be determined if an upgrade was available for those packages
Actual behavior
The application is shown as having an upgrade available
Environment
PS C:\WINDOWS\system32> winget upgrade
Name Id Version Available Source
-----------------------------------------------------------------------------------------------------
Microsoft Edge Microsoft.Edge 96.0.1054.57 96.0.1054.62 winget
Microsoft 365 Apps for enterprise Microsoft.Office 16.0.14430.20342 16.0.14527.20276 winget
Microsoft Teams Microsoft.Teams 1.4.00.29469 1.4.00.31569 winget
Microsoft Visual Studio Code Microsoft.VisualStudioCode 1.62.3 1.63.2 winget
4 upgrades available.
PS C:\WINDOWS\system32> winget --version
v1.1.13405
PS C:\WINDOWS\system32> winget --info
Windows Package Manager v1.1.13405
Copyright (c) Microsoft Corporation. All rights reserved.
Windows: Windows.Desktop v10.0.19043.1348
Package: Microsoft.DesktopAppInstaller v1.16.13405.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
The text was updated successfully, but these errors were encountered:
Brief description of your issue
When a package has a higher version than is available through winget, it shows as an upgrade
Steps to reproduce
Timing is key to reproducing;
winget upgrade
Expected behavior
I expect that if an application has a higher semver than is available at the source, it would not be shown for upgrade
If it can't be determined whether the installed version is higher, lower, or equal to the available version, I would expect that it is hidden like packages with unknown version with a message that it could not be determined if an upgrade was available for those packages
Actual behavior
The application is shown as having an upgrade available
Environment
The text was updated successfully, but these errors were encountered: