-
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 |
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: