-
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 fails to update packages with 0x80070005 error code #5153
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.
|
Can you share a logfile? Run I've seen this issue before, and it looks like manually updating the cache was a work-around if the command above doesn't fix the issue. |
Running
|
Have you ever run WinGet using a different user account, or any elevation programs like GSudo? |
I only have one user in my computer. I tried using Sudo for Windows by running
The next following is the log when I ran
|
In this case it seems like the built-in administrator account or perhaps the system account (I forget which is used by Sudo) is the account that has the ACLs (permissions) for the data folders WinGet needs, and they aren’t allowing your user to access it for some reason. It's likely that WinGet manages the ACLs of the sources, and just isn’t doing something correctly here |
I have this same issue on v1.9.25200 and I use Winget with admin permissions as well as with a standard user permissions for some packages. Same error in logs as the original poster. |
Try uninstalling the winget source (not the App Installer) and running Windows Package Manager Source (winget) V2 is the name on my system. |
Just to make sure, I uninstall the winget source with the following command |
Search for "winget" your Apps & Features menu Also, I have tried this and it doesn't help, still the same issues |
Ok, so I did uninstall Windows Package Manager Source (winget) V2 and ran
|
What results do you get if you open https://storeedgefd.dsx.mp.microsoft.com/v9.0/information in your browser? |
I get this following error
|
@AvogatoWizardWhisker can you share an image with the error in a browser including the URL? The error you're showing above does not include "/information" at the end. |
AH, sorry, I took the screenshot from a different URL
|
Somehow I'm not facing this issue on my other computer which is running the preview version of winget, which is currently in the following version: |
Brief description of your issue
I wanted to see if there are some updates on packages i downloaded via winget. I ran
winget upgrade
, but failed:Steps to reproduce
winget update
orwinget upgrade
to see available packages.Expected behavior
I expected to see the list of available package update so i can install them with
winget upgrade --all
Actual behavior
Winget fails to fitch available package updates with the following error code
Environment
The text was updated successfully, but these errors were encountered: