Help: Failed when opening source(s)... #3258
-
I'm trying to install git on my computer as admin. What I do is type the following from an admin Windows Terminal:
I get this error:
Based on some searching that I have done I've tried the following commands:
But they have not made a difference. Any ideas what to do? I'm running winget version v1.4.10173. Thanks, Mike |
Beta Was this translation helpful? Give feedback.
Replies: 4 comments 6 replies
-
If you download the file from https://cdn.winget.microsoft.com/cache/source.msix how many KB is it? |
Beta Was this translation helpful? Give feedback.
-
just change region in windows settings, probably your local CDN is having issue, use a CDN of a different region |
Beta Was this translation helpful? Give feedback.
-
Just try executing the command in powershell as administrator. Should solve the problem. |
Beta Was this translation helpful? Give feedback.
-
is this answered? Feels like the system not being able to detect, inform or fix itself is a bug and having to meddle with random files on the system to get it unbroken is not really a fix but a quick hack no? I guess what is needed is for winget to be better at reporting what is the actual error... being able to fix itself winget source reset --force should do it, and not get in this state. |
Beta Was this translation helpful? Give feedback.
Hmm, that means it isn't a CDN issue. If you install that MSIX manually using
Add-AppxPackage -Path https://cdn.winget.microsoft.com/cache/source.msix
or by double clicking to install, that would force the winget source to be updated; That might narrow down whether it's the winget source or msstore source