winget export fails with error 0x80190194
Brief description of your issue
I am trying to run winget export and it's not working.
Steps to reproduce
- Run
winget export -o winget.json
Expected behavior
An exported JSON file of my installed packages.
Actual behavior
A crash:
PS C:\Users\User> winget export -o winget.json
Failed in attempting to update the source: winget
Installed package is not available from any source: AMD Chipset Software
An unexpected error occurred while executing the command:
Download request status is not success.
0x80190194 : Not found (404).
Environment
PS C:\Users\User> winget --version
v1.4.2161-preview
PS C:\Users\User> winget --info
Windows Package Manager (Preview) v1.4.2161-preview
Copyright (c) Microsoft Corporation. All rights reserved.
Windows: Windows.Desktop v10.0.22621.674
System Architecture: X64
Package: Microsoft.DesktopAppInstaller v1.19.2161.0
Logs: %LOCALAPPDATA%\Packages\Microsoft.DesktopAppInstaller_8wekyb3d8bbwe\LocalState\DiagOutputDir
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
Is related to #2666
@fdmarc can you check again?
Fixing the CDN fixed this issue for me 👍
@fdmarc how did you fix the CDN? I am getting this error and I'm not sure how to fix it. I'm trying to install Anaconda3:
PS C:\Windows\system32> winget install -e --id Anaconda.Anaconda3
Failed when searching source: msstore
An unexpected error occurred while executing the command:
0x8a15005e : The server certificate did not match any of the expected values.
The following packages were found among the working sources.
Please specify one of them using the --source option to proceed.
Name Id Source
-----------------------------------
Anaconda3 Anaconda.Anaconda3 winget
PS C:\Windows\system32> winget install Anaconda.Anaconda3 --source winget
An unexpected error occurred while executing the command:
Download request status is not success.
0x80190194 : Not found (404).
I ran the command that was failing for me, and it started working again. In #2666, Microsoft broke the CDN, and when they fixed it, things started to work again.
To be honest, I've stopped using winget entirely at this point - it's just too buggy for me, I have never managed to get it to actually install a package and put it on the path correctly.