Skip to content

Winget appinstaller upgrade is very inconsistent #6563

Description

@yllekz

Relevant area(s)

WinGet CLI

Relevant command(s)

winget upgrade

Brief description of your issue

winget upgrade microsoft.appinstaller

This command frequently fails, seemingly at random. Often the error is "InstallerFailedWithCode"

Steps to reproduce

winget upgrade microsoft.appinstaller

Results are inconsistent. If you keep retrying, it might eventually work. It needs to successfully work on the first try.

Expected behavior

Command should work and successfully upgrade winget every time.

Actual behavior

Randomly fails, but if you retry, sometimes it randomly works.

Environment

Windows.Server v10.0.17763.9245
winget v1.28.240 (trying to update it to latest)

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Command-UpgradeIssue related to WinGet UpgradeIssue-BugIt either shouldn't be doing this or needs an investigation.Needs-TriageIssue needs to be triaged

    Type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions