winget-cli: 0x8a15000f : Data required by the source is missing
install version v1.0.11692
run:
winget search edge
get:
无法打开源; 如果问题仍然存在,请尝试“source reset”命令。
执行此命令时发生意外错误:
0x8a15000f : Data required by the source is missing
About this issue
- Original URL
- State: closed
- Created 3 years ago
- Reactions: 1
- Comments: 52 (7 by maintainers)
Make sure you don’t have any firewalls blocking the
winget.azureedge.net
andazureedge.net
subdomain and domain. Most “privacy” tools for Windows block this by default.Perhaps try booting up Windows Sandbox or other virtual machine software and see if it’s reproducible there. If it’s not reproducible, then the issue comes from your host machine and is likely caused by the above.
Also, https://winget.azureedge.net/cache - without
/source.msix
added to the end of the URL - is not meant to be accessible, so seeing ResourceNotFound is expected here, as long as doingping winget.azureedge.net
causes no issues and that the website is online and not offline.If you go to https://winget.azureedge.net/cache/source.msix and install the
source.msix
file, does any error pop up on your screen? And what happens when you dowinget search edge
if it’s installed?I see this issue on Windows 11 specifically when running winget from an Administrator command prompt. If the command prompt is not run as Administrator, the issue does not occur for me.
My specific error when running as Admin: Failed when searching source: winget An unexpected error occurred while executing the command: 0x8a15000f : Data required by the source is missing
谢谢各位的帖子,让我从一个小白不断摸索成长,你们坚持的精神感染了我,本来我打算从做系统的,可是我没放弃,你们每个人的建议我都尝试过,可是总失效,最后,一条奇葩的命令改变了这种现状:winget uninstall winget
winget uninstall winget winget uninstall winget 重要的命令说三遍!!
Try this in the powershell:
Add-AppxPackage -RegisterByFamilyName -MainPackage Microsoft.Winget.Source_8wekyb3d8bbwe
Worked for me
For clarification In my case, just running PowerShell with a “normal” user, but selecting “as Administrator” did not help. I literally meant: Start the windows-session as local Administrator. My last log-in as local admin was quite a while ago. So while logging in, I got greeted with the typical “Please wait. We’re running updates for you.” After that, I ran PowerShell (within the admin-session) and the problem disappeared.
Since then, I’m able to do a “winget source update” as a normal user. I’m living in Germany.
I’m not an expert. But I thought this might help.
In my case, I could resolve the issue as follows:
i also have this problem on windows 11 pro 0x8a15000f : Data required by the source is missing
“winget source reset” - did not help
Experiencing this issue now. Found the root cause to be that
https://winget.azureedge.net/cache/source.msix
is returning a 404 error. A 404 error should be communicated to the user in a more direct way than a generic “data is missing” message.Edit - additional info:
Edit 2 -
https://winget.azureedge.net/cache/source.msix
is no longer returning a 404 error, andwinget
functionality is restored on my system. Probably a temporary issue server-side. Should still be better communicated to the end user.We’ve largely gotten past the issue with the zero-byte file being returned by the CDN. I’m going to go ahead and close this issue as resolved. We’ve created the following Issue to track improving the error message as well as logging:
This worked for me, thanks!
I should point out that both
> winget source update --name winget
&> winget source update winget
require admin privileges to work, and so if you intend to run them over SSH, you’ll need to ensure your SSH session starts with elevated privileges by following Step 1.This is the only solution that worked for me ! It solved the issue. Winget works correctly now.
That error led me to this issue which recommends flag
-usewindowspowershell
This is the first time I’ve ever seen
winget upgrade --all
function properly. What a day to be alive. I’ve always wanted a Windows package manager and this give me hope that it could be a stable thing some day.Have they? I am still having this issue in UK
Guys they fixed it! 😊😊😊
https://github.com/microsoft/winget-cli/issues/1656 I solved it by:
Then, I can use
winget install -e --id vim.vim
You can find more apps here: https://winget.run/ This issue is a big problem.