winget-cli: Cannot install apps

Brief description of your issue

Installing an app results in an error:

Found GitHub CLI [GitHub.cli]
An unexpected error occurred while executing the command:
Unsupported ManifestVersion: 1.0.0
0x8a150007 : Cannot process manifest. The manifest version is higher than supported. Please update the client.

Steps to reproduce

winget install github.cli

Expected behavior

Being able to install the app.

Actual behavior

Getting the error above.

Environment

[winget --info]
Windows Package Manager v0.2.10191 Preview
Windows: Windows.Desktop v10.0.19042.870
Package: Microsoft.DesktopAppInstaller v1.11.10191.0

Additional software
PowerShell (admin): 5.1.19041.868
Windows Terminal: 1.6.10571.0

About this issue

  • Original URL
  • State: closed
  • Created 3 years ago
  • Comments: 17 (7 by maintainers)

Most upvoted comments

I am in the insider program, I got email with link to fetch the update via store. Not on a insider build in that PC though.

And the package delivered by the store, before and after uninstall, is supposedly 1.x not 0.2

Well, maybe some databases not synchronized yet.

joi, 2 sept. 2021, 17:32 denelon @.***> a scris:

I can’t think of any, editing the release notes when the build hits the store and keeping the latest release marked latest would be the best move so people can know there’s a manual update available to fix bugs.

What would be even better is if we could do winget upgrade --all and have winget upgraded, but I just tried that with a local manifest and since winget has to close to complete the upgrade, it just kind of stops (the upgrade completes successfully, but the progress bar stops at 21% since that’s when the old version of winget is closed and there is never a message that install failed or succeeded). I don’t know a great solution to that, other than having another copy of winget somewhere that is only used for bootstrapping winget, but it’s a use case to think about.