Skip to content

Winget doesn't work #3894

Open
Open

Description

@luimen6

Brief description of your issue

When I enter a winget command, I always get an error.
PS C:\Windows\system32> winget upgrade --all
Fehler beim Durchsuchen der Quelle: winget
Unerwarteter Fehler beim Ausführen des Befehls:
0x8a15000f : Data required by the source is missing

Steps to reproduce

Enter winget upgrade --all

Expected behavior

Upgrade my packages.

Actual behavior

Error:
PS C:\Windows\system32> winget upgrade --all
Fehler beim Durchsuchen der Quelle: winget
Unerwarteter Fehler beim Ausführen des Befehls:
0x8a15000f : Data required by the source is missing

Environment

PS C:\Windows\system32> winget --info
Windows-Paket-Manager v1.6.3133
Copyright (c) Microsoft Corporation. Alle Rechte vorbehalten.

Windows: Windows.Desktop v10.0.22631.2428
Systemarchitektur: X64
Paket: Microsoft.DesktopAppInstaller v1.21.3133.0

WinGet-Verzeichnisse
-----------------------------------------------------------------------------------------------------------------------------------------
Protokolle                                   %LOCALAPPDATA%\Packages\Microsoft.DesktopAppInstaller_8wekyb3d8bbwe\LocalState\DiagOutputDir
Benutzereinstellungen                        %LOCALAPPDATA%\Packages\Microsoft.DesktopAppInstaller_8wekyb3d8bbwe\LocalState\settings.json
Verzeichnis für portierbare Links (Benutzer) %LOCALAPPDATA%\Microsoft\WinGet\Links
Portables Linkverzeichnis (Computer)         C:\Program Files\WinGet\Links
Portierbarer Paketstamm (Benutzer)           %LOCALAPPDATA%\Microsoft\WinGet\Packages
Portierbarer Paketstamm                      C:\Program Files\WinGet\Packages
Portierbares Paketstamm (x86)                C:\Program Files (x86)\WinGet\Packages
Installationsprogrammdownloads               %USERPROFILE%\Downloads

Links
-----------------------------------------------------------------------------------------
Datenschutzerklärung              https://aka.ms/winget-privacy
Lizenzvereinbarung                https://aka.ms/winget-license
Hinweise von Drittanbietern       https://aka.ms/winget-3rdPartyNotice
Startseite                        https://aka.ms/winget
Windows Store-Nutzungsbedingungen https://www.microsoft.com/en-us/storedocs/terms-of-sale

Administratoreinstellung                  Status
-----------------------------------------------------
LocalManifestFiles                        Deaktiviert
BypassCertificatePinningForMicrosoftStore Deaktiviert
InstallerHashOverride                     Deaktiviert
LocalArchiveMalwareScanOverride           Deaktiviert

Activity

  1. Trenly commented on Nov 15, 2023

    @Trenly
    Contributor

    What happens when you run winget source update ?

  2. added
    Issue-Bug
    Needs-Author-Feedback
    and removed
    Needs-Triage
    on Nov 15, 2023
  3. luimen6 commented on Nov 16, 2023

    @luimen6
    Author

    Kaleb Luedtke (@Trenly)

    PS C:\Windows\system32> winget source update
    Alle Quellen werden aktualisiert...
    Quelle wird aktualisiert: msstore...
    Fertig
    Quelle wird aktualisiert: winget...
                                      0%
    Fertig
    

    When I enter winget upgrade --all after source update, I get the following message: 0x8a15000f : Data required by the source is missing

  4. added
    Needs-Attention
    and removed
    Needs-Author-Feedback
    on Nov 16, 2023
  5. denelon commented on Nov 16, 2023

    @denelon
    Collaborator

    luimen6 can you try running winget source reset --force as an administrator?

  6. added
    Needs-Author-Feedback
    and removed
    Needs-Attention
    on Nov 16, 2023
  7. luimen6 commented on Nov 20, 2023

    @luimen6
    Author

    Demitrius Nelon (@denelon) When I enter winget upgrade -all after source reset, I get the same error:

    Fehler beim Durchsuchen der Quelle: winget
    Unerwarteter Fehler beim Ausführen des Befehls:
    0x8a15000f : Data required by the source is missing
    
  8. added
    Needs-Attention
    and removed
    Needs-Author-Feedback
    on Nov 20, 2023
  9. denelon commented on Nov 20, 2023

    @denelon
    Collaborator

    Try uninstalling the source and then running update again.

    winget uninstall Microsoft.Winget.Source_8wekyb3d8bbwe

  10. 5 remaining items

  11. webwude commented on Dec 25, 2023

    @webwude

    Just found a working solution:

    close all windows
    open powershell
    type in
    Add-AppxPackage -RegisterByFamilyName -MainPackage Microsoft.DesktopAppInstaller_8wekyb3d8bbwe
    After that winget list winget works and I can start to upgrade all outdated apps.

  12. Turochamp commented on Jan 14, 2024

    @Turochamp

    I have the same problem on a fresh Windows 11 machine.
    The solution provided by Michael (@webwude) doesn't work.
    image

    Please provide help. I googled and tried some other things too, but no luck.

  13. webwude commented on Jan 14, 2024

    @webwude

    It only works in Power Shell. Neither in the command line nor with Winget UI.

  14. Turochamp commented on Jan 14, 2024

    @Turochamp

    My problem was solved by manually updating winget. I assumed that Windows Update would do that, but for some reason it doesn't. :-(

  15. ElmoWOB commented on Jan 19, 2024

    @ElmoWOB

    This problem only occurs for me when I am logged in with the user account and want to start the terminal as an administrator. When I log in to Windows directly as an administrator, it works fine, I hope this helps you

  16. kwm-ferhat commented on Feb 12, 2024

    @kwm-ferhat

    After a fresh install of Windows 11 Pro I had the same problem.
    The solution was updating App-Installer inside the Microsoft-Store.
    Im sure that downloading the and installing it manually at the newest version would also work.
    Here is the link: https://learn.microsoft.com/en-us/windows/msix/app-installer/install-update-app-installer
    I can only vouch for the Microsoft-Store method myself duh.
    Godspeed

  17. webwude commented on Feb 27, 2024

    @webwude

    Winget now works (sort of) but only in PowerShell and cannot update itself - I get an error message regarding Winget but then it updates the other packages.
    Strange.

  18. Troung commented on Jul 17, 2024

    @Troung

    Hello,
    Id like to contribute to this conversation.
    I fixed the issue for me.
    I tried some things in here but what made my winget break was an error in the App-Installer.
    How to fix yourself:
    Step 1. Open MS Store
    Step 2. Update App-installer
    Step 3. See an Error
    Step 4. Go to Library
    Step 5. Update again
    Step 6. Winget now works again

    This worked on Windows 11 Pro. If it doesnt for you, Im sorry.

  19. Dxnamite199 commented on Jan 21, 2025

    @Dxnamite199

    Hey,
    I had the same problem and unfortunately no solution worked.

    I got the problem solved as follows.

    Open PowerShell as an administrator and enter the following:

    Add-AppxPackage -Path "https://cdn.winget.microsoft.com/cache/source.msix"

  20. argonym commented on Jan 31, 2025

    @argonym

    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: #4799 (comment)

    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. 😢

  21. PeSesamer commented on Mar 6, 2025

    @PeSesamer

    Hey, I had the same problem and unfortunately no solution worked.

    I got the problem solved as follows.

    Open PowerShell as an administrator and enter the following:

    Add-AppxPackage -Path "https://cdn.winget.microsoft.com/cache/source.msix"

    Thanks. That fixed the issue for me

  22. xenadmin commented on Sep 3, 2025

    @xenadmin

    Since last week I have the same error, none of the solutions worked for me:

    PS C:\Users\Marco> winget upgrade --id Microsoft.PowerToys --source winget
    Kein verfügbares Upgrade gefunden.
    In den konfigurierten Quellen sind keine neueren Paketversionen verfügbar.
    PS C:\Users\Marco> winget upgrade
    Es wurde kein installiertes Paket gefunden, das den Eingabekriterien entspricht.
    

    Translated:

    PS C:\Users\Marco> winget upgrade --id Microsoft.PowerToys --source winget
    No available upgrade found.
    No newer package versions are available in the configured sources.
    PS C:\Users\Marco> winget upgrade
    No installed package was found that matches the input criteria.
    
  23. xenadmin commented on Sep 3, 2025

    @xenadmin

    Original:

    PowerShell 7.5.2
    PS C:\Users\Marco> winget upgrade Microsoft.AppInstaller
    Kein verfügbares Upgrade gefunden.
    In den konfigurierten Quellen sind keine neueren Paketversionen verfügbar.
    PS C:\Users\Marco> (Get-AppxPackage Microsoft.DesktopAppInstaller).Version
    1.26.430.0
    

    Translated:

    PowerShell 7.5.2
    PS C:\Users\Marco> winget upgrade Microsoft.AppInstaller
    No available upgrade found.
    No newer package versions are available in the configured sources.
    PS C:\Users\Marco> (Get-AppxPackage Microsoft.DesktopAppInstaller).Version
    1.26.430.0
    

    AFAIK that's the latest version.
    winget list does work
    winget source list does work
    winget upgrade and winget install doesn't work

  24. Bordman-ger commented on Sep 14, 2025

    @Bordman-ger

    Hey, I had the same problem and unfortunately no solution worked.

    I got the problem solved as follows.

    Open PowerShell as an administrator and enter the following:

    Add-AppxPackage -Path "https://cdn.winget.microsoft.com/cache/source.msix"

    same here - it worked for me as well

  25. gboeer commented on Oct 30, 2025

    @gboeer

    After running in the same issues on a fresh Win 11 ... and none of the above helped, this did it for me.
    I found the solution at https://computing-competence.de/news/20241024-winget-reparieren

    In an admin PowerShell:

    Invoke-WebRequest -Uri https://aka.ms/getwinget -OutFile winget.msixbundle
    Add-AppPackage -ForceApplicationShutdown .\winget.msixbundle
    Add-AppxPackage -RegisterByFamilyName -MainPackage Microsoft.Winget.Source_8wekyb3d8bbwe
    del .\winget.msixbundle
    winget source reset --force
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

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions