Closed tenmeiiii closed 1 day ago
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.
Note: You can give me feedback by 👍 or 👎 this comment.
Hi @tenmeiiii,
The package manager usually logs to %LOCALAPPDATA%\Packages\Microsoft.DesktopAppInstaller_8wekyb3d8bbwe\LocalState\DiagOutputDir
- are there any log files in this location?
winget --info
to verify the logging location, but I see in your comment that this command isn't available.If WinGet is in a bad state, I'd suggest trying to run the Repair cmdlet in the PowerShell module in a PowerShell prompt:
Install-Module Microsoft.WinGet.Client
Repair-WinGetPackageManager -Latest -Force
@stephengillie There are log files, but none of them recent (i.e. none from when this issue occured).
@denelon Install-Module seemed to work, but winget still errored with the same code.
Command (2) didn't work, with
Repeating with -AllUsers
seemed to begin installing/repairing but failed with
I'm having the exact same issue here, woke up one day and winget suddenly stopped working... Same errors as tenmeiiii with those commands as well, except for the last error being:
I also have no logs from the past 11 days. The most recent log (11 days ago) is simply that of it running successfully and updating things.
Update; for some reason, running it in verbose mode 2 times after rebooting fixed it?
It seems MS Store is broken in some way as well; unsure if related:
Rebooted to install windows updates; seems to have fixed every issue including ms store and winget. Still very weird
Brief description of your issue
Cannot run winget - immediately exits with
following readme troubleshooting, updating/installing winget errors with code 0x80073CF9 similar to #3166 ; installing via latest stable release fails with:
Steps to reproduce
open powershell,
winget
Expected behavior
no error
Actual behavior
as above
Environment