Skip to content
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

Higher semver installed; Shows as upgrade available #1815

Closed
Trenly opened this issue Dec 18, 2021 · 1 comment
Closed

Higher semver installed; Shows as upgrade available #1815

Trenly opened this issue Dec 18, 2021 · 1 comment
Milestone

Comments

@Trenly
Copy link
Contributor

Trenly commented Dec 18, 2021

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;

  • 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
@ghost ghost added the Needs-Triage Issue need to be triaged label Dec 18, 2021
@Trenly
Copy link
Contributor Author

Trenly commented Dec 18, 2021

I misread the version. Ignore this

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants