Skip to content

Upgrade doesn't work for several packages #752

@denelon

Description

@denelon

Edited:

The most common reasons upgrades don't work has to do with how we match an installed application against a manifest in a configured source. We are depending on data available in Windows Apps & Features to match a manifest based on the "displayName" and "version". In many cases there are multiple packages with data similar enough to make it unclear which manifest matches to an installed package.

We are working to improve the matching heuristic so we can distinguish between packages with a true update vs. packages that have a similar name and newer versions are installed "side by side".

Original issue:


Upgrade didn't work for PowerToys.

I have all of the experimental features enabled.

PS C:\Users\denelon> winget upgrade
Name                 Id                    Version         Available Source
----------------------------------------------------------------------------
Microsoft Whiteboard Microsoft.Whiteboard  21.10111.5555.0 Latest    msstore
HyperLabel           SixgillLLC.hyperlabel 1.1.10.0        Latest    msstore
PowerToys            Microsoft.PowerToys   0.31.1          0.31.2    winget
PS C:\Users\denelon> winget uprade Microsoft.PowerToys
Windows Package Manager v0.2.10191 Preview
Copyright (c) Microsoft Corporation. All rights reserved.

PS C:\Users\denelon> winget list Power
Name                     Id                                     Version     Available Source
--------------------------------------------------------------------------------------------
PowerToys                Microsoft.PowerToys                    0.31.1      0.31.2    winget
PowerShell 7-x64         {41D89B69-B90A-4CFB-9783-4B86D2B34EC3} 7.1.1.0
PowerShell 7-preview-x64 {7DDB4F02-04AE-48FA-BC1D-962D3A567FF6} 7.1.0.5
Windows Terminal Preview Microsoft.WindowsTerminalPreview       1.6.10272.0
Windows Terminal         Microsoft.WindowsTerminal              1.5.10271.0

PS C:\Users\denelon> winget upgrade Microsoft.PowerToys
--------------------------------------------------------------------------------------------
Found PowerToys [Microsoft.PowerToys]
No applicable update found.

PS C:\Users\denelon> winget --info
--------------------------------------------------------------------------------------------
Windows Package Manager v0.2.10191 Preview
Copyright (c) Microsoft Corporation. All rights reserved.

Windows: Windows.Desktop v10.0.19042.804
Package: Microsoft.DesktopAppInstaller v1.11.10191.0

Metadata

Metadata

Assignees

No one assigned

    Labels

    Issue-BugIt either shouldn't be doing this or needs an investigation.

    Type

    No type

    Projects

    Status

    Done

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions