-
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
List/Upgrade not working #4805
Comments
Hi I'm an AI powered bot that finds similar issues based off the issue title. Please view the issues below to see if they solve your problem, and if the issue describes your problem please consider closing this one and thumbs upping the other issue to help us prioritize it. Thank you! Open similar issues:
Closed similar issues:
|
Hi @stiny861, Can you post the logs from an attempt? These are probably under As a troubleshooting measure, can you try |
You can also append "--verbose-logs" to include more details and "--logs" to open the log directory when the command completes. |
2024-09-12 15:28:37.116 [CORE] WinGet, version [1.8.1911], activity [{EDD44AFE-4AC0-4CC5-A7C0-3B62FB0E469A}] I did try a winget source reset and a winget source reset --force but it did not fix it. |
Interestingly when I try winget list --logs, it does not open the log directory. Only reason I found them was stephengillie's comment. |
Do you have UniGetUI or SomePythonThings.WingetUIStore performing updates or anything else in the background? Do you have more than one version of either of those installed (you should be able to see that in Windows Apps & Features). |
Yes i have UniGetUI. THat is actually how i discovered this issue as all of a sudden all of the winget packages stopped updating. It only every updates python and powershell now. I tried to manually go to winget to updating thinking the UI broke, but nothing was showing in there either. |
UniGetUI shouldn't cause any bad interactions unless something is regularly calling WinGet APIs to do work. We make sure only one instance of WinGet's functionality is running at a time to avoid possible race conditions. I'll add Marti to the thread. He's the maintainer for UniGetUI. Maybe he's seen this before or might have an idea. @marticliment have you seen this before? I'm tempted to see if uninstalling UniGetUI and doing a source reset with a source update would address the core issue here, then reinstalling UniGetUI to see if that helps. |
Just to see what would happen, I did uninstall UniGetUI and did the source reset but that didn't do anything. I have not reinstalled it yet. |
Some users have reported to me a similar problem where winget.exe only reports installed packages when ran as administrator. This issue tends to appear after the user has ran the command @stiny861, perhaps it would be interesting to reinstall UniGetUI and take a look both at both |
This is the UniGet UI log, or part of it at least. This is the verbose package manager log. Logged native task on manager Winget. Task type is ListInstalledPackages -- Task information The task has not finished yet —————————————————————————————————————————— Logged native task on manager Winget. Task type is ListSources -- Task information The task reported success —————————————————————————————————————————— Logged native task on manager Winget. Task type is ListUpdates -- Task information The task has not finished yet —————————————————————————————————————————— |
For additional info, even when running winget from an admin session the packages and updates do not show. |
As from the shared logs, it looks the issue shows as COMException with Error Code 0x800706BE
|
What happens if you rename the folder This is what I know fixed similar issues for some UniGetUI users |
Nothing happened. Forder did not get recreated. I tried switching the UI to the bundled winget and got this in the logs. It is now showing packages and updates, so it looks like something in the embedded winget stopped working. So to be clear, the UI now shows packages, but the CLI does not. |
Does anyone have any additional thoughts or things for me to try to troubleshoot? |
Im having the same issue. List upgrade just shows nothing. Edit: I was able to fix it by using this command: |
Holy crap that actually fixed it. |
Glad I was able to help. Took me a while to find that command to fix it. I was surprised it worked too! |
Brief description of your issue
When running winget list, or winget upgrade, the icon will spin for a few seconds but not return any results. Using the search command reveals results. Using uninstall and install work as long as you specify a package name.
Steps to reproduce
run winget list
Expected behavior
return a list of installed packages
Actual behavior
nothing is returned
Environment
The text was updated successfully, but these errors were encountered: