-
Notifications
You must be signed in to change notification settings - Fork 1.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
winget is no longer usable, and cannot be repaired/reinstalled #4999
Comments
We've found some similar issues:
If any of the above are duplicates, please consider closing this issue out and adding additional context in the original issue.
|
This seems to be a combo of:
Both issues mention the same error with using The underlying root cause in both issues appears to be a fault WinApp SDK issue. See
@sba923 Let me know if trying the recommendation of upgrading WinAppSDK (see above comments) work. If you believe your issue is different to what's reported above & and this was closed incorrectly, let me know and I'll re-open it 🙂 |
Running https://aka.ms/windowsappsdk/1.6/1.6.241114003/windowsappruntimeinstall-x64.exe (once) has fixed Thanks for the quick solution! |
Brief description of your issue
On my system (work laptop, IT-managed Windows 10 Enterprise build 19045.5131)
winget
has stopped working.In CMD the error message is:
In PowerShell 7.4.6 the message is:
Reinstalling
winget
using the.msixbundle
file fails:Repairing with
Repair-WinGetPackageManager
also fails:Steps to reproduce
I hate to say, but I have no idea about what can have caused this.
Expected behavior
winget
should be usableActual behavior
No
winget
actions can be performed.Environment
The text was updated successfully, but these errors were encountered: