winget-cli icon indicating copy to clipboard operation
winget-cli copied to clipboard

0x8a15000f : Data required by the source is missing

Open AdRoz78 opened this issue 1 year ago • 3 comments

Upon trying to run winget upgrade --all, i get 0x8a15000f : Data required by the source is missing. Resetting the sources and updating them cancels by itself on updating winget. Attempting to download the source package manually shows this: App installation failed with error message: Windows cannot install package Microsoft.Winget.Source_2024.908.823.15_neutral__8wekyb3d8bbwe to volume D: with media ID {58E4B45F-0000-0000-F09B-FF231C37D264} because the volume is offline. (0x80073d0d) However, in settings new apps are chosen to save to C:. This started after a failed repartitioning of D: and has not stopped no matter what I do - chkdsk C:, chkdsk D:, DISM, sfc, etc. This also seems to break Minecraft Launcher as it too displays the same error. Microsoft store however works flawlessly. Also, checking D: in powershell and cmd shows it as Online, not Offline.

Steps to reproduce

Just run winget upgrade --all

Expected behavior

All the apps get updated, no errors.

Actual behavior

PS C:\Windows\System32> winget upgrade --all Failed in attempting to update the source: winget Failed when searching source: winget An unexpected error occurred while executing the command: 0x8a15000f : Data required by the source is missing

Environment

Windows Package Manager v1.8.1911
Copyright (c) Microsoft Corporation. All rights reserved.

Windows: Windows.Desktop v10.0.22631.4037
System Architecture: X64
Package: Microsoft.DesktopAppInstaller v1.23.1911.0

Winget Directories
-----------------------------------------------------------------------------------------------------------------------
Logs                               %LOCALAPPDATA%\Packages\Microsoft.DesktopAppInstaller_8wekyb3d8bbwe\LocalState\Diag…
User Settings                      %LOCALAPPDATA%\Packages\Microsoft.DesktopAppInstaller_8wekyb3d8bbwe\LocalState\sett…
Portable Links Directory (User)    %LOCALAPPDATA%\Microsoft\WinGet\Links
Portable Links Directory (Machine) C:\Program Files\WinGet\Links
Portable Package Root (User)       %LOCALAPPDATA%\Microsoft\WinGet\Packages
Portable Package Root              C:\Program Files\WinGet\Packages
Portable Package Root (x86)        C:\Program Files (x86)\WinGet\Packages
Installer Downloads                D:\Downloads

Links
---------------------------------------------------------------------------
Privacy Statement   https://aka.ms/winget-privacy
License Agreement   https://aka.ms/winget-license
Third Party Notices https://aka.ms/winget-3rdPartyNotice
Homepage            https://aka.ms/winget
Windows Store Terms https://www.microsoft.com/en-us/storedocs/terms-of-sale

Admin Setting                             State
--------------------------------------------------
LocalManifestFiles                        Disabled
BypassCertificatePinningForMicrosoftStore Disabled
InstallerHashOverride                     Disabled
LocalArchiveMalwareScanOverride           Disabled
ProxyCommandLineOptions                   Disabled
DefaultProxy                              Disabled

AdRoz78 avatar Sep 08 '24 10:09 AdRoz78

Hi I'm an AI powered bot that finds similar issues based off the issue title.

Please view the issues below to see if they solve your problem, and if the issue describes your problem please consider closing this one and thumbs upping the other issue to help us prioritize it. Thank you!

Open similar issues:

Closed similar issues:

Note: You can give me feedback by thumbs upping or thumbs downing this comment.

github-actions[bot] avatar Sep 08 '24 10:09 github-actions[bot]

Try installing the msix file directly from the source itself:

https://winget.azureedge.net/cache/source.msix

crazo7924 avatar Sep 12 '24 11:09 crazo7924

Hello, I am having the same error when I try to use the upgrade command. I recently read through another thread that talked about bypassing the certificate pinning for a different error I was getting. I used the command winget settings --enable BypassCertificatePinningForMicrosoftStore After this the upgrade command did get past the initial error, seemed to download the file, asked if I agree to source agreements terms and then failed when I typed Y (for yes). I am in a corp environment with a Palo Alto Firewall that is set to do SSL Packet inspection. I heard this is part of the problem from another thread but not sure how to convince my network engineer.

ScientiaAeternum avatar Sep 26 '24 15:09 ScientiaAeternum

I also faced the issue "0x8a15000f : Data required by the source is missing" when e.g. searching in the winget repository (winget search powershell --source winget). I tried:

  • resetting/removing the source and adding it again. (Why the heck is resetting all sources via winget source reset --force via not removing them, but resetting a single source does remove the source given via -n?) I re-installed
  • Repair-WinGetPackageManager -Latest -Force
  • Add-AppxPackage -DisableDevelopmentMode -Register "C:\Program Files\WindowsApps\Microsoft.Winget.Source_...\AppXManifest.xml" -Verbose

All to no avail.

The command Add-AppxPackage -Path "https://cdn.winget.microsoft.com/cache/source.msix" also fixed the issue for me. It was also mentioned here: https://github.com/microsoft/winget-cli/issues/3894#issuecomment-2604747398

Isn't this something that should be done as part of winget source add --name winget --arg https://cdn.winget.microsoft.com/cache?

I see a lot of similar bugs reported here, and I have the impression that users are left alone with them, and that actual root causes hardly get investigated. 😢

argonym avatar Jan 31 '25 11:01 argonym

Fixed it! The source was installed to an external drive that corrupted, and this moved winget to be accessible again. A simple reinstall from source.msix and winget is working again, good as new!

AdRoz78 avatar Feb 10 '25 14:02 AdRoz78

The suggestion by @argonym did it for me after trying all kinds of stuff for more than an hour - Add-AppxPackage -Path "https://cdn.winget.microsoft.com/cache/source.msix". THANK YOU!

gpehlev avatar Nov 07 '25 23:11 gpehlev