You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
0x8a15000f : Data required by the source is missing #1348
This XML file does not appear to have any style information associated with it. The document tree is shown below.
<Error>
<script/>
<script/>
<Code>ResourceNotFound</Code>
<Message>The specified resource does not exist. RequestId:4d9be7ed-201e-0064-0e25-8b2bb1000000 Time:2021-08-07T00:45:45.8777912Z</Message>
</Error>
Name Argument
-----------------------------------------
winget https://winget.azureedge.net/cache
What‘s the problem here:
When I visit the same url "https://winget.azureedge.net/cache/source.msix" , in some computer it get "source.zip" and in other computer it will be "source.msix", so winget fail when get "source.zip".
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:
Windows Package Manager v1.1.13405
Copyright (c) Microsoft Corporation. All rights reserved.
Windows: Windows.Desktop v10.0.22000.348
Package: Microsoft.DesktopAppInstaller v1.16.13405.0
Edit 2 - https://winget.azureedge.net/cache/source.msix is no longer returning a 404 error, and winget functionality is restored on my system. Probably a temporary issue server-side. Should still be better communicated to the end user.
Reacted by Demitrius Nelon, Stephen Gillie and sh2dow
His suggestion to download the source as an msix and installing it with add-appxpackage.
Thanks Stefan, this is just an endless chain of failures over the course of troubleshooting. Check this out:
PowerShell 7.3.1
PS C:\temp> Add-AppxPackage .\source.msix
Add-AppxPackage: The 'Add-AppxPackage' command was found in the module 'Appx', but the module could not be loaded due to the following error: [Operation is not supported on this platform. (0x80131539)]
For more information, run 'Import-Module Appx'.
PS C:\temp> Import-Module Appx
Import-Module: Operation is not supported on this platform. (0x80131539)
That error led me to this issue which recommends flag -usewindowspowershell
PowerShell 7.3.1
PS C:\temp> import-module appx -usewindowspowershell
WARNING: Module appx is loaded in Windows PowerShell using WinPSCompatSession remoting session; please note that all input and output of commands from this module will be deserialized objects. If you want to load this module into PowerShell please use 'Import-Module -SkipEditionCheck' syntax.
PS C:\temp> Add-AppxPackage .\source.msix
PS C:\temp> winget upgrade --all
$$$
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.
I just sat down at a different computer today and found the issue running as admin still exists in v1.5.2201
If downloading the source.msix and installing it is the fix, why doesn't winget do that? I had to come back to this thread to remember how to fix this problem.
I suspect that the issue is happening during the source update, based on the 0% showing in your output. The logs from winget source update winget would probably be the most helpful to understand why it is failing silently. Alternatively, winget is basically doing this:
1. Download from https://cdn.winget.microsoft.com/cache/source.msix
2. PS> Add-AppxPackage
It is possible that this would give more direct logging/errors about my suspicions.
My guess is that something is wedged on the machine related to the Microsoft.Winget.Source package, and that manually removing it would help to unstick it. winget source remove winget would also attempt to remove that package in theory, but I'm not sure that I would trust winget to find the package to remove since it can't find it to use.
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.
Activity
denelon commentedon Aug 5, 2021
Eureka Chen (@EurekaChen) what happens when you run
winget source reset?This is usually caused by a temporary network issue downloading the source package.
You might try changing your settings for the network downloader.
EurekaChen commentedon Aug 7, 2021
same after
winget source resetand same after insert
"network": {"downloader": "wininet"}in settings.jsonvist https://winget.azureedge.net/cache get:
plekhov commentedon Aug 7, 2021
Same problem.
And the same response from https://winget.azureedge.net/cache
The output of the command
winget source listplekhov commentedon Aug 7, 2021
Okay... I'm an install source.msix without a problem on my computer and then run
winget search edge. Works perfectly! Thanks!But I'm a little confused. I'm taken a msixbundle from here https://github.com/microsoft/winget-cli/releases/tag/v1.0.11692 and installed it. For what need
source.msix? And why package don't work without separate installsource.msix?EurekaChen commentedon Aug 7, 2021
ping winget.azureedgesuccesuful.visit https://winget.azureedge.net/cache/source.msix and I get download "source.zip"
I rename source.zip to source.msix and install it.
now run
winget search edge,it work!But with warning: "尝试更新源时失败:winget“
EurekaChen commentedon Aug 18, 2021
What‘s the problem here:
When I visit the same url "
https://winget.azureedge.net/cache/source.msix" , in some computer it get "source.zip" and in other computer it will be "source.msix", so winget fail when get "source.zip".and run
winget install inkscapeget
NPittinger commentedon Dec 14, 2021
Experiencing this issue now. Found the root cause to be that
https://winget.azureedge.net/cache/source.msixis 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.msixis no longer returning a 404 error, andwingetfunctionality is restored on my system. Probably a temporary issue server-side. Should still be better communicated to the end user.36 remaining items
stefanfritsch commentedon Feb 1, 2023
His suggestion to download the source as an msix and installing it with
add-appxpackage.A9G-Data-Droid commentedon Feb 1, 2023
Thanks Stefan, this is just an endless chain of failures over the course of troubleshooting. Check this out:
mdanish-kh commentedon Feb 1, 2023
Adam Kauffman (@A9G-Data-Droid) Try running the command in "Windows PowerShell" (not to be confused with PowerShell 7 / PowerShell Core)
A9G-Data-Droid commentedon Feb 1, 2023
That error led me to this issue which recommends flag
-usewindowspowershellThis is the first time I've ever seen
winget upgrade --allfunction 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.ItsFated commentedon Aug 26, 2023
Its work for me too, thank you.
A9G-Data-Droid commentedon Aug 29, 2023
I just sat down at a different computer today and found the issue running as admin still exists in v1.5.2201
If downloading the
source.msixand installing it is the fix, why doesn't winget do that? I had to come back to this thread to remember how to fix this problem.niisenpai commentedon Sep 13, 2023
this really helped thanks a lot
nielssiebert commentedon Oct 9, 2023
Try this in the powershell:
Add-AppxPackage -RegisterByFamilyName -MainPackage Microsoft.Winget.Source_8wekyb3d8bbweWorked for me
nikoscbr commentedon Oct 9, 2023
This is the only solution that worked for me !
It solved the issue.
Winget works correctly now.
OldakCZ commentedon Oct 18, 2023
Worked for me!
jdrch commentedon Dec 10, 2023
This worked for me, thanks!
I should point out that both
> winget source update --name winget&> winget source update wingetrequire 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.MRRRKING commentedon Mar 9, 2024
Bravo! 终于搞定了!
mahvili commentedon Aug 8, 2024
This solved my problem:
https://learn.microsoft.com/en-us/answers/questions/1688882/how-do-we-fix-0x8a15000f-data-required-by-the-sour
Mapaler commentedon Aug 22, 2024
I can't use winget in a virtual machine, then I reinstalled Windows and it still doesn't work.