Skip to content

Upgrade --all getting ignored / failing #1985

Description

@github-account1111

Brief description of your issue

Winget sees that there are upgrades but..

  1. ignores all but one upgrade when I run upgrade --all.
  2. the one package it does attempt to upgrade errors out with Installer hash does not match.
    Could be related to the recent Nvidia breach?
PS C:\Users\<username>\Desktop> winget upgrade --all --source winget
Name Id Version Available
----------------------------------------------------------------------
Brave BraveSoftware.BraveBrowser 98.1.35.103 99.1.36.107
VeraCrypt IDRIX.VeraCrypt 1.25.4 1.25.9
PowerToys (Preview) Microsoft.PowerToys 0.35.0 0.55.2
NVIDIA GeForce NOW Nvidia.GeForceNow 2.0.37.138 2.0.37.148
4 upgrades available.
4 packages have version numbers that cannot be determined. Use "--include-unknown" to see all results.
(1/1) Found NVIDIA GeForce NOW [Nvidia.GeForceNow] Version 2.0.37.148
This application is licensed to you by its owner.
Microsoft is not responsible for, nor does it grant any licenses to, third-party packages.
Downloading https://download.nvidia.com/gfnpc/GeForceNOW-release.exe
██████████████████████████████ 140 MB / 140 MB
Installer hash does not match; to override this check use --force
4 packages have version numbers that cannot be determined. Use "--include-unknown" to see all results.

Note: PowerToys isn't supposed to upgrade because they only support above 1809, and I'm on 1809, so that behavior is correct.

Steps to reproduce

Run winget upgrade --all --source winget.

Expected behavior

All packages are updated except for the unsupported ones by the system.

Actual behavior

Some packages are ignored, others fail.

Environment

Windows Package Manager (Preview) v1.3.431-preview
Windows: Windows.Desktop v10.0.17763.2628
Package: Microsoft.DesktopAppInstaller v1.18.431.0

Metadata

Metadata

Assignees

No one assigned

    Labels

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

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions