microsoft / microsoft/winget-cli

winget upgrade --all --scope does do nothing on certain upgrades without giving reason

Open
#6,516 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Command-Upgrade Issue-Bug
Dominant language
C++
Stars
26.4k
Forks
1.8k
Avg merge
1d 11h
Merged PRs (30d)
15

Description

Relevant area(s)

WinGet CLI

Relevant command(s)

winget upgrade

Brief description of your issue

Winget does not upgrade certain apps and does not give any reason as to why it does not upgrade them.

The exact same commands did before what I expected for large list of other apps, except those 2 Podman apps: listing them & (trying to) upgrading them.

The same output can be seen even with --verbose-logs enabled.

Steps to reproduce
  1. have an older RedHat.Podman-Desktop and/or Podman.CLI installed (see actual behavior for my versions)
  2. run winget upgrade --all --scope user or winget upgrade --all --scope machine
Expected behavior
  • either upgrading the listed packages
  • or giving reason
Actual behavior

on PowerShell in "Terminal" from Win+X menu:

PS C:\Users\of4710> winget upgrade --all --scope user
Name                  ID                    Version Verfügbar Quelle
--------------------------------------------------------------------
Podman Desktop 1.29.1 RedHat.Podman-Desktop 1.29.1  1.29.3    winget
1 Aktualisierungen verfügbar.
PS C:\Users\of4710>

on PowerShell in "Terminal (Administrator)" from Win+X menu:

PS C:\Users\of4710> winget upgrade --all --scope machine
Name       ID         Version Verfügbar Quelle
----------------------------------------------
Podman CLI Podman.CLI 6.0.2   6.1.1     winget
1 Aktualisierungen verfügbar.
PS C:\Users\of4710>
additional info

interestingly running upgrade without --scope in a not Adminstrator PowerShell did show following behavior:

PS C:\Users\of4710> winget upgrade --all
Name                  ID                    Version Verfügbar Quelle
--------------------------------------------------------------------
Podman CLI            Podman.CLI            6.0.2   6.1.1     winget
Podman Desktop 1.29.1 RedHat.Podman-Desktop 1.29.1  1.29.3    winget
2 Aktualisierungen verfügbar.

(1/1) Gefunden Podman CLI [Podman.CLI] Version 6.1.1
Diese Anwendung wird von ihrem Besitzer an Sie lizenziert.
Microsoft ist nicht verantwortlich und erteilt keine Lizenzen für Pakete von Drittanbietern.
Download läuft https://github.com/podman-container-tools/podman/releases/download/v6.1.1/podman-installer-windows-amd64.msi
  ██████████████████████████████  27.4 MB / 27.4 MB
Der Installer-Hash wurde erfolgreich überprüft
Paketinstallation wird gestartet...
Erfolgreich installiert

PS C:\Users\of4710> winget upgrade --all
Name                  ID                    Version Verfügbar Quelle
--------------------------------------------------------------------
Podman Desktop 1.29.1 RedHat.Podman-Desktop 1.29.1  1.29.3    winget
1 Aktualisierungen verfügbar.
PS C:\Users\of4710>

I.e. winget was able to upgrade Podman CLI, which was suppossedly installed in machine scope, when not running as Admin and without an UAC prompt. I'm not sure if I have tried out winget upgrade --all --scope machine on a non-Admin Terminal before, I assume not. But winget continues to not upgrade Podman Desktop, even when now trying with upgrade --all without --scope in either Admin or non-Admin Terminal.

And when trying to upgrade the app manually, then winget is suddenly able to list a reason:

PS C:\Users\of4710> winget upgrade RedHat.Podman-Desktop
Es wurde kein anwendbares Upgrade gefunden.
In einer konfigurierten Quelle ist eine neuere Paketversion verfügbar, die jedoch nicht auf Ihr System oder Ihre Anforderungen zutrifft.
PS C:\Users\of4710>

Translated: new version is available, but not suitable for my system and/or requirements.
And just to be clear, this is not the issue I'm trying to report here, it is rather that upgrade --all does not inform users as to why it does not upgrade the listed packages in these cases.

Environment
Windows-Paket-Manager v1.29.290
© 2026 Microsoft. Alle Rechte vorbehalten.

Windows: Windows.Desktop v10.0.26200.9445
Systemarchitektur: X64
Paket: Microsoft.DesktopAppInstaller v1.29.290.0

WinGet-Verzeichnisse
------------------------------------------------------------------------------------------------------------------------------------
Protokolle                                   %LOCALAPPDATA%\Packages\Microsoft.DesktopAppInstaller_8wekyb3d8bbwe\LocalState\DiagOut…
Benutzereinstellungen                        %LOCALAPPDATA%\Packages\Microsoft.DesktopAppInstaller_8wekyb3d8bbwe\LocalState\setting…
Verzeichnis für portierbare Links (Benutzer) %LOCALAPPDATA%\Microsoft\WinGet\Links
Portables Linkverzeichnis (Computer)         C:\Program Files\WinGet\Links
Portierbarer Paketstamm (Benutzer)           %LOCALAPPDATA%\Microsoft\WinGet\Packages
Portierbarer Paketstamm                      C:\Program Files\WinGet\Packages
Portierbares Paketstamm (x86)                C:\Program Files (x86)\WinGet\Packages
Installationsprogrammdownloads               %USERPROFILE%\Downloads
Konfigurationsmodule                         %LOCALAPPDATA%\Microsoft\WinGet\Configuration\Modules

Links
-----------------------------------------------------------------------------------------
Datenschutzerklärung              https://aka.ms/winget-privacy
Lizenzvereinbarung                https://aka.ms/winget-license
Hinweise von Drittanbietern       https://aka.ms/winget-3rdPartyNotice
Startseite                        https://aka.ms/winget
Windows Store-Nutzungsbedingungen https://www.microsoft.com/en-us/storedocs/terms-of-sale

Administratoreinstellung                  Status
-----------------------------------------------------
LocalManifestFiles                        Deaktiviert
BypassCertificatePinningForMicrosoftStore Deaktiviert
InstallerHashOverride                     Deaktiviert
LocalArchiveMalwareScanOverride           Deaktiviert
ProxyCommandLineOptions                   Deaktiviert
ConfigurationProcessorPath                Deaktiviert
DefaultProxy                              Deaktiviert

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reproducing the scoped and unscoped winget upgrade --all commands with the Podman packages and compare their output. Trace the upgrade-all path against the manual upgrade path, then verify that packages skipped because they are unsuitable report a reason while eligible packages still upgrade normally.

Written by the indexing model from the issue text.

Assessment

Tech stack
cpp
Domain
cli
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Active
Clarity
Mostly clear
Newbie friendliness
52/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.