0xA8A15000F: Data Required by Source Is Missing

Introduction

Recently when trying to install PowerShell 7 using Winget, I ran into the below issue.

winget search Microsoft.PowerShell

PowerShell

I am just trying to search the available packages via Winget to check for the latest PowerShell version. It says,  0xa8a15000f: Data required by the source is missing.

Reason

This could be a reason for new Win 11 builds. This could be due to the source not configured for the WINGET to search and download the required packages.

Fix

The fix is fairly simple. You just need to download the MSIX file by clicking on the link: https://winget.azureedge.net/cache/source.msix

Downloads

On clicking on the below link the .msix file automatically gets downloaded to the ‘Downloads’ folder by default.

Double-click the file and it will show the below pop-up window, requesting permission to install. Click on the ‘Install’ button.

Install Windows Package Manager Source

After successful installation, you will see the below message. Click on close.

Install Windows Package Manager Source

Validation

Restart the command prompt and run the below command again. Here I am trying to install the PowerShell 7.

winget search Microsoft.PowerShell

You should be getting the below messages showing the PowerShell available modules to install. Here I am seeing the PowerShell.

Microsoft PowerShell

Conclusion

Thus, in this blog, we have seen the issue with Winget where the source is not configured and how to fix it to install the latest packages using Winget.