Skip to content

0x8a15000f : Data required by the source is missing #1348

Closed

Description

install version v1.0.11692
run:
winget search edge
get:

无法打开源; 如果问题仍然存在,请尝试“source reset”命令。
执行此命令时发生意外错误:
0x8a15000f : Data required by the source is missing

Activity

  1. ghost added
    Needs-Triage
    on Aug 5, 2021
  2. added
    Issue-Bug
    and removed
    Needs-Triage
    on Aug 5, 2021
  3. denelon commented on Aug 5, 2021

    @denelon
    Collaborator

    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.

        "network": {"downloader": "wininet"}
    
  4. EurekaChen commented on Aug 7, 2021

    @EurekaChen
    Author

    same after winget source reset
    and same after insert "network": {"downloader": "wininet"} in settings.json
    vist https://winget.azureedge.net/cache get:

    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>
    
  5. plekhov commented on Aug 7, 2021

    @plekhov

    Same problem.

    Windows Package Manager v1.0.11692
    
    Windows: Windows.Desktop v10.0.19043.1151
    Пакет: Microsoft.DesktopAppInstaller v1.12.11692.0
    

    And the same response from https://winget.azureedge.net/cache

    The output of the command winget source list

    Name Argument
    -----------------------------------------
    winget https://winget.azureedge.net/cache
    
  6. plekhov commented on Aug 7, 2021

    @plekhov

    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 do winget search edge if it's installed?

    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 install source.msix?

  7. EurekaChen commented on Aug 7, 2021

    @EurekaChen
    Author

    ping winget.azureedge succesuful.
    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“

  8. EurekaChen commented on Aug 18, 2021

    @EurekaChen
    Author

    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 inkscape
    get

    尝试更新源时失败: winget
    执行此命令时发生意外错误:
    InternetOpenUrl() failed.
    0x80072f7d : unknown error
    
  9. NPittinger commented on Dec 14, 2021

    @NPittinger

    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.

  10. 36 remaining items

  11. stefanfritsch commented on Feb 1, 2023

    @stefanfritsch

    His suggestion to download the source as an msix and installing it with add-appxpackage.

  12. A9G-Data-Droid commented on Feb 1, 2023

    @A9G-Data-Droid

    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)
    
  13. mdanish-kh commented on Feb 1, 2023

    @mdanish-kh
    Contributor

    Adam Kauffman (@A9G-Data-Droid) Try running the command in "Windows PowerShell" (not to be confused with PowerShell 7 / PowerShell Core)

  14. A9G-Data-Droid commented on Feb 1, 2023

    @A9G-Data-Droid

    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.

  15. ItsFated commented on Aug 26, 2023

    @ItsFated

    谢谢各位的帖子,让我从一个小白不断摸索成长,你们坚持的精神感染了我,本来我打算从做系统的,可是我没放弃,你们每个人的建议我都尝试过,可是总失效,最后,一条奇葩的命令改变了这种现状:winget uninstall winget winget uninstall winget winget uninstall winget 重要的命令说三遍!! 屏幕截图(1)

    Its work for me too, thank you.

  16. A9G-Data-Droid commented on Aug 29, 2023

    @A9G-Data-Droid

    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.

  17. niisenpai commented on Sep 13, 2023

    @niisenpai

    #1656 I solved it by:

    1. change permission of C:\Windows\Temp C:\Users%USERNAME%\AppData\Local\Temp\WinGet
    2. run *.Winget.msix (in C:\Users%USERNAME%\AppData\Local\Temp\WinGet ) by click it.

    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.

    this really helped thanks a lot

  18. nielssiebert commented on Oct 9, 2023

    @nielssiebert

    Try this in the powershell:

    Add-AppxPackage -RegisterByFamilyName -MainPackage Microsoft.Winget.Source_8wekyb3d8bbwe

    Worked for me

  19. nikoscbr commented on Oct 9, 2023

    @nikoscbr

    Try this in the powershell:

    Add-AppxPackage -RegisterByFamilyName -MainPackage Microsoft.Winget.Source_8wekyb3d8bbwe

    Worked for me

    This is the only solution that worked for me !
    It solved the issue.
    Winget works correctly now.

  20. OldakCZ commented on Oct 18, 2023

    @OldakCZ

    In my case, I could resolve the issue as follows:

    1. Log-in with local administrator
    2. powershell -> winget source update

    Worked for me!

  21. jdrch commented on Dec 10, 2023

    @jdrch

    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.

  22. MRRRKING commented on Mar 9, 2024

    @MRRRKING

    谢谢各位的帖子,让我从一个小白不断摸索成长,你们坚持的精神感染了我,本来我打算从做系统的,可是我没放弃,你们每个人的建议我都尝试过,可是总失效,最后,一条奇葩的命令改变了这种现状:winget uninstall winget winget uninstall winget winget uninstall winget 重要的命令说三遍!! 屏幕截图(1)

    Bravo! 终于搞定了!

  23. Mapaler commented on Aug 22, 2024

    @Mapaler

    I can't use winget in a virtual machine, then I reinstalled Windows and it still doesn't work.

    VirtualBoxVM_Win_10_ 正在运行 _-_Oracle_VM_VirtualBox_0407

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Issue-Bug

    Type

    No type

    Projects

    No projects

      Milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions