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 #3068
Receive error message 0x8a15000f : Data required by the source is missing when doing pretty much anything with Winget.
Steps to reproduce
winget upgrade --all --verbose-logs
Expected behavior
winget downloads the package, and the sources are reachable
Actual behavior
C:\Users\xx> winget source list
Name Argument
-----------------------------------------------------
msstore https://storeedgefd.dsx.mp.microsoft.com/v9.0
winget https://cdn.winget.microsoft.com/cache
C:\Users\xx> winget search Windows.PowerShell
Failed when searching source; results will not be included: winget
No package found matching input criteria.
C:\Users\xx> winget upgrade --all --verbose-logs
Failed when searching source: winget
An unexpected error occurred while executing the command:
0x8a15000f : Data required by the source is missing
Environment
Windows: Windows.Desktop v10.0.19045.2604
System Architecture: X64
Package: Microsoft.DesktopAppInstaller v1.19.10173.0
Logs: %LOCALAPPDATA%\Packages\Microsoft.DesktopAppInstaller_8wekyb3d8bbwe\LocalState\DiagOutputDir
User Settings: %LOCALAPPDATA%\Packages\Microsoft.DesktopAppInstaller_8wekyb3d8bbwe\LocalState\settings.json
PS C:\Users\xx> winget list winget
Failed when searching source; results will not be included: winget
No installed package found matching input criteria.
C:\Users\xx> winget -v
v1.4.10173
From an administrator terminal:
C:\Users\xx> winget -v
v1.4.10173
C:\Users\xx> winget source reset --force
Resetting all sources...Done
C:\Users\xx> winget source list
Name Argument
-----------------------------------------------------
msstore https://storeedgefd.dsx.mp.microsoft.com/v9.0
winget https://cdn.winget.microsoft.com/cache
Could you try downloading and manually installing the source.msix package and then running winget list (within 5 minutes of the install)?
I'd really love to figure out what the actual root cause of this is. It's an intermittent problem from "my" perspective as "it works on my machine ™️". I suspect it's either something with some file permissions, or network related issue, but it's been pretty tricky to fully isolate.
Hi, i'm not sure it's related to this but got the same issue. I'm currently trying to automate the usage of Winget in our environnement but still blocked with this and didn't yet find a workaround.
During my searches i find a wait to replicate this issue every time.
When the Terms of Transaction isn't yet accepted in a case you use the first time Winget, the app ask you about and need an user interaction to accept the terms.
If you run an install command with the parameters --accept-source-agreements and/or --accept-package-agreements without have accepted the terms before, it prompt the terms acceptance message but do not ask the user and the result is the same as you refuse to accept the terms.
I only encounter this issue in an admin powershell prompt and i cannot run the command winget source reset --force as a user because it need admin rights to do.
Screen capture of an admin powershell prompt when trying to install an app with parameters --accept-source-agreements --accept-package-agreements after have reset Winget.
Screen capture of an admin powershell prompt when trying to install an app without parameters --accept-source-agreements --accept-package-agreements after have reset Winget.
Current version of Winget.
I've installed the latest source.msix as indicated above but got the same issue with it. Hope it help.
PS C:\Windows\system32> winget source reset --force
Resetting all sources...Done
PS C:\Windows\system32> winget install Rustlang.Rust.GNU
The `msstore` source requires that you view the following agreements before using.
Terms of Transaction: https://aka.ms/microsoft-store-terms-of-transaction
The source requires the current machine's 2-letter geographic region to be sent to the backend service to function properly (ex. "US").
Do you agree to all the source agreements terms?
[Y] Yes [N] No: Yes
Failed when searching source: winget
An unexpected error occurred while executing the command:
0x8a15000f : Data required by the source is missing
No packages were found among the working sources.
PS C:\Windows\system32> winget install Rustlang.Rust.GNU --source winget
Failed when opening source(s); try the 'source reset' command if the problem persists.
An unexpected error occurred while executing the command:
0x8a15000f : Data required by the source is missing
PS C:\Windows\system32> winget --version
v1.5.2201
Have, same issue here.
As a hint to reproduce:
Running the commands in administrative shell (as scheduled task when logged in as a "normal" user) I get the errors. When logging in with Athe local adminstrative account I am able to winget upgrade (nothing else) successfully. After relogging in as the "normal" user the task runs fine.
It seems it has something to to with anything in the user context, what is set after a "real" login of the admin...
I have the same issue, if I am building a golden image through packer. I have set of winget commands as a part of install-sw.ps1 script. If it runs unattended as a part of the packer build, it fails with same error. If i finish the build just before the script runs and execute it in real RDP session, it works.
So the context of real login vs. winrm login seems to be the right lead. I do not have the workaround :-(
Reacted by Frederico Gendorf, Chris, Kolxozzznik, YX Cao, Lv Ying, Tim Langford, Charlie Groves, Saurabh Gupta, klangborste, johan and 7 more
Reacted by Chris, Tim Langford, Saurabh Gupta, Nich Overend, klangborste, Nguyen Le Quang Thai, Valentin Bailleul, Fabian Wechselberger, Marcio de Souza and Fabrício Pinto
Reacted by Tim Langford, Saurabh Gupta, klangborste, Luciano Paciornick, Valentin Bailleul, rdartus and Marcio de Souza
Had the same issue on a fresh install of Windows 11. The installation from CDN fixed it for me.
Only thing that worked for me was the following: Add-AppPackage -path "https://cdn.winget.microsoft.com/cache/source.msix."
Could it be that the issue is linked to doing an offline installation? (I did connect my WiFi only after the installation, so that I could set up a local account.)
Reacted by hayden, Expandi Operations Bot and Raphael
I second this. I have only had this issue when doing an offline install of windows 11. Adding the CDN fixed it 👍
Had the same issue on a fresh install of Windows 11. The installation from CDN fixed it for me.
Only thing that worked for me was the following: Add-AppPackage -path "https://cdn.winget.microsoft.com/cache/source.msix."
Could it be that the issue is linked to doing an offline installation? (I did connect my WiFi only after the installation, so that I could set up a local account.)
Tried all of the above fixes without any luck. (Fresh Win11 Pro install)
Only thing that worked for me was the following: Add-AppPackage -path "https://cdn.winget.microsoft.com/cache/source.msix."
Afterwards the error was resolved and I was able to use winget.
This worked perfectly! (Also did an offline installation)
Tried all of the above fixes without any luck. (Fresh Win11 Pro install)↳
Only thing that worked for me was the following: Add-AppPackage -path "https://cdn.winget.microsoft.com/cache/source.msix."↳
Afterwards the error was resolved and I was able to use winget.
Activity
denelon commentedon Mar 13, 2023
Tom Hoad (@tomhoad) If you run
winget list wingetwhich version of the "Windows Package Manager Source (winget)" is installed?Have you tried running
winget source reset --forcein administrator mode?The pre-indexed cache is located at https://cdn.winget.microsoft.com/cache/source.msix.
The client will attempt to download and install the cache based on the default TTL of five minutes (or what is configured via
winget settings).tomhoad commentedon Mar 13, 2023
From an administrator terminal:
denelon commentedon Mar 13, 2023
Could you try downloading and manually installing the source.msix package and then running
winget list(within 5 minutes of the install)?I'd really love to figure out what the actual root cause of this is. It's an intermittent problem from "my" perspective as "it works on my machine ™️". I suspect it's either something with some file permissions, or network related issue, but it's been pretty tricky to fully isolate.
Ithendyr commentedon Mar 17, 2023
Hi, i'm not sure it's related to this but got the same issue. I'm currently trying to automate the usage of Winget in our environnement but still blocked with this and didn't yet find a workaround.
During my searches i find a wait to replicate this issue every time.
When the Terms of Transaction isn't yet accepted in a case you use the first time Winget, the app ask you about and need an user interaction to accept the terms.
If you run an install command with the parameters --accept-source-agreements and/or --accept-package-agreements without have accepted the terms before, it prompt the terms acceptance message but do not ask the user and the result is the same as you refuse to accept the terms.
I only encounter this issue in an admin powershell prompt and i cannot run the command
winget source reset --forceas a user because it need admin rights to do.Screen capture of an admin powershell prompt when trying to install an app with parameters --accept-source-agreements --accept-package-agreements after have reset Winget.

Screen capture of an admin powershell prompt when trying to install an app without parameters --accept-source-agreements --accept-package-agreements after have reset Winget.

Current version of Winget.

I've installed the latest source.msix as indicated above but got the same issue with it. Hope it help.
SudoNova commentedon Sep 12, 2023
Hi. I have the same issue:
inv4lid commentedon Sep 20, 2023
Have, same issue here.
As a hint to reproduce:
Running the commands in administrative shell (as scheduled task when logged in as a "normal" user) I get the errors. When logging in with Athe local adminstrative account I am able to winget upgrade (nothing else) successfully. After relogging in as the "normal" user the task runs fine.
It seems it has something to to with anything in the user context, what is set after a "real" login of the admin...
ecaha commentedon Oct 4, 2023
I have the same issue, if I am building a golden image through packer. I have set of winget commands as a part of install-sw.ps1 script. If it runs unattended as a part of the packer build, it fails with same error. If i finish the build just before the script runs and execute it in real RDP session, it works.
So the context of real login vs. winrm login seems to be the right lead. I do not have the workaround :-(
gustavohellwig commentedon Oct 13, 2023
Same error here. It has been working for months, and now it has started to show this error.
code-ga commentedon Oct 15, 2023
i have same error

gustavohellwig commentedon Oct 15, 2023
It's a bug in the old version. You can fix by updating it. You can use this script below:
fgendorf commentedon Oct 18, 2023
If anyone want install winget to all Users, change
from
to
13 remaining items
Homemaker: Force winget update
Tims777 commentedon May 3, 2024
Had the same issue on a fresh install of Windows 11. The installation from CDN fixed it for me.
Could it be that the issue is linked to doing an offline installation? (I did connect my WiFi only after the installation, so that I could set up a local account.)
haydenkz commentedon May 6, 2024
I second this. I have only had this issue when doing an offline install of windows 11. Adding the CDN fixed it 👍
bartvdbraak commentedon May 24, 2024
This worked perfectly! (Also did an offline installation)
CukitoYT commentedon Jul 12, 2024
You only have to upgrade it from the microsoft store. Link to download.
BlueSquid1 commentedon Jul 13, 2024
This solve my problem as well. Thanks MichaelNeero. Just a little syntax tweak for those inserting this into a script:
Lukas46 commentedon Aug 6, 2024
This solve mi problem too, many thanks MichaelNeero
Sigmanificient commentedon Sep 2, 2024
This fixed my issue
darkSheep404 commentedon Sep 11, 2024
work for me, many thanks
alanlivio commentedon Mar 4, 2025
For me worked the below:
code-ga commentedon Mar 5, 2025
ggjulio commentedon May 9, 2025
See #3652 (comment) on how to fix it.