Skip to content

Repair-WinGetPackageManager fails with Microsoft.WinGet.Client 1.11.400 in Windows Sandbox #5559

@God-damnit-all

Description

@God-damnit-all

Brief description of your issue

Unable to install winget in Windows Sandbox on Windows 10 because Repair-WinGetPackageManager fails with the latest version of the Microsoft.WinGet.Client module (1.11.400).

Steps to reproduce

In Windows 10's Windows Sandbox:

  1. Set-ExecutionPolicy RemoteSigned
  2. Install-PackageProvider NuGet -Force
  3. Install-Module Microsoft.WinGet.Client -Repository PSGallery -Scope CurrentUser -Force
  4. Repair-WinGetPackageManager

Expected behavior

winget should be functional afterward.

Actual behavior

Fails with this error:

Repair-WinGetPackageManager : Deployment failed with HRESULT: 0x80073CF3, Package failed updates, dependency or
conflict validation.

Windows cannot install package Microsoft.DesktopAppInstaller_1.26.400.0_x64__8wekyb3d8bbwe because this package
depends on a framework that could not be found. Provide the framework "Microsoft.UI.Xaml.2.8" published by
"CN=Microsoft Corporation, O=Microsoft Corporation, L=Redmond, S=Washington, C=US", with neutral or x64 processor
architecture and minimum version 8.2310.30001.0, along with this package to install. The frameworks with name
"Microsoft.UI.Xaml.2.8" currently installed are: {}

NOTE: For additional information, look for [ActivityId] 70de5d77-9b3b-0003-c301-df703b9bdb01 in the Event Log or use
the command line Get-AppPackageLog -ActivityID 70de5d77-9b3b-0003-c301-df703b9bdb01

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