Skip to content

Repair-WingetPackageManager -force does not force repair #4981

@Surawsome

Description

@Surawsome

Brief description of your issue

Running the command Repair-WingetPackageManager with -force does not force a repair. This prevents updates and repairs from being possible even when the application is not working correctly.

Steps to reproduce

Run the command Repair-WingetPackageManager -force -verbose

Expected behavior

DesktopAppInstaller will reinstall or update

Actual behavior

Image
Currently, even if winget is not in a good state, the command will fail

Environment

Windows 11 24H2
V1.9.25190

Metadata

Metadata

Assignees

No one assigned

    Labels

    Issue-BugIt either shouldn't be doing this or needs an investigation.PowerShellIssue related to WinGet PowerShell Module or cmdlet

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions